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