|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.sanselan.common.BinaryFileFunctions org.apache.sanselan.common.byteSources.ByteSource org.apache.sanselan.common.byteSources.ByteSourceInputStream
public class ByteSourceInputStream
Field Summary |
---|
Fields inherited from class org.apache.sanselan.common.byteSources.ByteSource |
---|
filename |
Fields inherited from class org.apache.sanselan.common.BinaryFileFunctions |
---|
debug |
Fields inherited from interface org.apache.sanselan.common.BinaryConstants |
---|
BYTE_ORDER_BIG_ENDIAN, BYTE_ORDER_INTEL, BYTE_ORDER_LEAST_SIGNIFICANT_BYTE, BYTE_ORDER_LITTLE_ENDIAN, BYTE_ORDER_LSB, BYTE_ORDER_MOST_SIGNIFICANT_BYTE, BYTE_ORDER_MOTOROLA, BYTE_ORDER_MSB, BYTE_ORDER_NETWORK |
Constructor Summary | |
---|---|
ByteSourceInputStream(java.io.InputStream is,
java.lang.String filename)
|
Method Summary | |
---|---|
byte[] |
getAll()
|
byte[] |
getBlock(int start,
int length)
|
java.lang.String |
getDescription()
|
java.io.InputStream |
getInputStream()
|
long |
getLength()
|
Methods inherited from class org.apache.sanselan.common.byteSources.ByteSource |
---|
getFilename, getInputStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteSourceInputStream(java.io.InputStream is, java.lang.String filename)
Method Detail |
---|
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class ByteSource
java.io.IOException
public byte[] getBlock(int start, int length) 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |