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