public abstract class ByteSource extends Object
| Constructor and Description |
|---|
ByteSource(String filename) |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
getAll() |
byte[] |
getBlock(int start,
int length) |
abstract byte[] |
getBlock(long start,
int length) |
abstract String |
getDescription() |
String |
getFilename() |
abstract InputStream |
getInputStream() |
InputStream |
getInputStream(long start) |
abstract long |
getLength() |
public ByteSource(String filename)
public final InputStream getInputStream(long start) throws IOException
IOExceptionpublic abstract InputStream getInputStream() throws IOException
IOExceptionpublic byte[] getBlock(int start,
int length)
throws IOException
IOExceptionpublic abstract byte[] getBlock(long start,
int length)
throws IOException
IOExceptionpublic abstract byte[] getAll()
throws IOException
IOExceptionpublic abstract long getLength()
throws IOException
IOExceptionpublic abstract String getDescription()
public final String getFilename()
Copyright © 2010 - 2020 Adobe. All Rights Reserved