public class FileToStringSampleStream extends FilterObjectStream<File,String>
Constructor and Description |
---|
FileToStringSampleStream(ObjectStream<File> samples,
Charset encoding) |
Modifier and Type | Method and Description |
---|---|
String |
read()
Returns the next object.
|
close, reset
public FileToStringSampleStream(ObjectStream<File> samples, Charset encoding)
public String read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2015 The Apache Software Foundation. All rights reserved.