public class ByteSourceInputStream extends ByteSource
Constructor and Description |
---|
ByteSourceInputStream(java.io.InputStream is,
java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAll() |
byte[] |
getBlock(long blockStart,
int blockLength) |
java.lang.String |
getDescription() |
java.io.InputStream |
getInputStream() |
long |
getLength() |
getBlock, getFilename, getInputStream
public ByteSourceInputStream(java.io.InputStream is, java.lang.String filename)
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class ByteSource
java.io.IOException
public byte[] getBlock(long blockStart, int blockLength) throws java.io.IOException
getBlock
in class ByteSource
java.io.IOException
public long getLength() throws java.io.IOException
getLength
in class ByteSource
java.io.IOException
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 Systems Incorporated. All Rights Reserved"