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, resetpublic FileToByteArraySampleStream(ObjectStream<File> samples)
public byte[] read()
            throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2018 The Apache Software Foundation. All rights reserved.