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, resetpublic FileToStringSampleStream(ObjectStream<File> samples, Charset encoding)
public String read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.