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