public class ByteSourceArray extends ByteSource
| Constructor and Description |
|---|
ByteSourceArray(byte[] bytes) |
ByteSourceArray(String filename,
byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAll() |
byte[] |
getBlock(long startLong,
int length) |
String |
getDescription() |
InputStream |
getInputStream() |
long |
getLength() |
getBlock, getFilename, getInputStreampublic ByteSourceArray(String filename, byte[] bytes)
public ByteSourceArray(byte[] bytes)
public InputStream getInputStream()
getInputStream in class ByteSourcepublic byte[] getBlock(long startLong,
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