public class TextIO extends Object
Constructor and Description |
---|
TextIO() |
Modifier and Type | Method and Description |
---|---|
static VType |
readList(Reader reader)
Reads a file where each line represents a value in an array.
|
static void |
writeList(VType vType,
Writer writer)
Writes a file where each line represents a value in an array.
|
public static VType readList(Reader reader) throws IOException
reader
- the stream to readIOException
- all exceptions go throughpublic static void writeList(VType vType, Writer writer) throws IOException
No buffering, flushing or closing is performed by this function.
vType
- the type to be writtenwriter
- the writerIOException
- all exceptions go throughCopyright © 2015. All rights reserved.