public class ByteSourceInputStream extends ByteSource
| Constructor and Description |
|---|
ByteSourceInputStream(InputStream is,
String filename) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAll() |
byte[] |
getBlock(long blockStart,
int blockLength) |
String |
getDescription() |
InputStream |
getInputStream() |
long |
getLength() |
getBlock, getFilename, getInputStreampublic ByteSourceInputStream(InputStream is, String filename)
public InputStream getInputStream() throws IOException
getInputStream in class ByteSourceIOExceptionpublic byte[] getBlock(long blockStart,
int blockLength)
throws IOException
getBlock in class ByteSourceIOExceptionpublic long getLength()
throws IOException
getLength in class ByteSourceIOExceptionpublic byte[] getAll()
throws IOException
getAll in class ByteSourceIOExceptionpublic String getDescription()
getDescription in class ByteSourceCopyright © 2010 - 2020 Adobe. All Rights Reserved