Class ByteSourceArray
java.lang.Object
org.apache.commons.imaging.common.bytesource.ByteSource
org.apache.commons.imaging.common.bytesource.ByteSourceArray
-
Constructor Summary
ConstructorsConstructorDescriptionByteSourceArray(byte[] bytes) ByteSourceArray(String filename, byte[] bytes) -
Method Summary
Methods inherited from class org.apache.commons.imaging.common.bytesource.ByteSource
getBlock, getFilename, getInputStream
-
Constructor Details
-
ByteSourceArray
-
ByteSourceArray
public ByteSourceArray(byte[] bytes)
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin classByteSource
-
getBlock
- Specified by:
getBlockin classByteSource- Throws:
IOException
-
getLength
public long getLength()- Specified by:
getLengthin classByteSource
-
getAll
- Specified by:
getAllin classByteSource- Throws:
IOException
-
getDescription
- Specified by:
getDescriptionin classByteSource
-