Class JpegInputStream
- java.lang.Object
-
- org.apache.commons.imaging.formats.jpeg.decoder.JpegInputStream
-
class JpegInputStream extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JpegInputStream(int[] interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Returnstrue
as long there are unread fields available, elsefalse
int
nextBit()
(package private) int
read()
Returns the value from current field (asInputStream.read()
would do) and set the position of the pointer to the next field to read.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returnstrue
as long there are unread fields available, elsefalse
- Returns:
-
nextBit
public int nextBit() throws ImageReadException
- Throws:
ImageReadException
-
read
int read()
Returns the value from current field (asInputStream.read()
would do) and set the position of the pointer to the next field to read.- Returns:
- Throws:
java.lang.IllegalStateException
- if the stream hasn't any other value.
-
-