public class ByteSourceFile extends ByteSource
| Constructor and Description |
|---|
ByteSourceFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAll() |
byte[] |
getBlock(long start,
int length) |
String |
getDescription() |
InputStream |
getInputStream() |
long |
getLength() |
getBlock, getFilename, getInputStreampublic ByteSourceFile(File file)
public InputStream getInputStream() throws IOException
getInputStream in class ByteSourceIOExceptionpublic byte[] getBlock(long start,
int length)
throws IOException
getBlock in class ByteSourceIOExceptionpublic long getLength()
getLength in class ByteSourcepublic byte[] getAll()
throws IOException
getAll in class ByteSourceIOExceptionpublic String getDescription()
getDescription in class ByteSourceCopyright © 2010 - 2020 Adobe. All Rights Reserved