public abstract class ByteSource
extends java.lang.Object
Constructor and Description |
---|
ByteSource(java.lang.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 java.lang.String |
getDescription() |
java.lang.String |
getFilename() |
abstract java.io.InputStream |
getInputStream() |
java.io.InputStream |
getInputStream(long start) |
abstract long |
getLength() |
public final java.io.InputStream getInputStream(long start) throws java.io.IOException
java.io.IOException
public abstract java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public byte[] getBlock(int start, int length) throws java.io.IOException
java.io.IOException
public abstract byte[] getBlock(long start, int length) throws java.io.IOException
java.io.IOException
public abstract byte[] getAll() throws java.io.IOException
java.io.IOException
public abstract long getLength() throws java.io.IOException
java.io.IOException
public abstract java.lang.String getDescription()
public final java.lang.String getFilename()
Copyright © 2010 - 2020 Adobe. All Rights Reserved