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