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, getInputStream
public ByteSourceArray(java.lang.String filename, byte[] bytes)
public ByteSourceArray(byte[] bytes)
public java.io.InputStream getInputStream()
getInputStream
in class ByteSource
public byte[] getBlock(long startLong, int length) throws java.io.IOException
getBlock
in class ByteSource
java.io.IOException
public long getLength()
getLength
in class ByteSource
public byte[] getAll() throws java.io.IOException
getAll
in class ByteSource
java.io.IOException
public java.lang.String getDescription()
getDescription
in class ByteSource
Copyright © 2010 - 2020 Adobe. All Rights Reserved