public class SeparatedValuesReader extends Object
Constructor and Description |
---|
SeparatedValuesReader(Reader input,
Separator separator)
Constructs a new separated values reader, to read a character stream from the
specified reader and use the specified separator specification.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reader and releases any system resources associated with it.
|
List<String> |
next()
Reads the next record from the character input stream.
|
public SeparatedValuesReader(Reader input, Separator separator)
input
- the character stream to read from.separator
- the separator specification to parse the file with.public List<String> next() throws IOException
null
if the end of stream has been reached.IOException
- if an I/O exception occurs.public void close()
next()
invocations will throw an
IOException
. Closing a previously closed reader has no effect.Copyright © 2025 Open Identity Platform Community. All rights reserved.