uk.co.mmscomputing.imageio.jpeg
Class JFIFInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by uk.co.mmscomputing.io.IntFilterInputStream
              extended by uk.co.mmscomputing.imageio.jpeg.JPEGInputStream
                  extended by uk.co.mmscomputing.imageio.jpeg.JFIFInputStream
All Implemented Interfaces:
java.io.Closeable, JPEGConstants

public class JFIFInputStream
extends JPEGInputStream


Field Summary
protected  int units
           
protected  int version
           
protected  int xDensity
           
protected  int xThumbnail
           
protected  int yDensity
           
protected  int yThumbnail
           
 
Fields inherited from class uk.co.mmscomputing.imageio.jpeg.JPEGInputStream
acins, bps, compins, dcins, height, maxHor, maxVert, mcuCols, mcuHeight, mcuRows, mcuWidth, Ri, scanins, spp, width
 
Fields inherited from interface uk.co.mmscomputing.imageio.jpeg.JPEGConstants
APP0, APP1, APP10, APP11, APP12, APP13, APP14, APP15, APP2, APP3, APP4, APP5, APP6, APP7, APP8, APP9, COM, CQT, CQT2, DAC, DCTBlockSize, DCTSize, DHP, DHT, DNL, DQT, DRI, EOI, EXP, HCACTable, HCDCTable, HLACTable, HLDCTable, IZigZagTable, JPG, JPG0, JPG1, JPG10, JPG11, JPG12, JPG13, JPG2, JPG3, JPG4, JPG5, JPG6, JPG7, JPG8, JPG9, LQT, LQT2, MARK, RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7, SOF0, SOF1, SOF10, SOF11, SOF13, SOF14, SOF15, SOF2, SOF3, SOF5, SOF6, SOF7, SOF9, SOI, SOS, TEM, ZigZagTable
 
Constructor Summary
JFIFInputStream(java.io.InputStream in)
           
 
Method Summary
 void app0(java.io.InputStream in)
           
 void app1(java.io.InputStream in)
           
 void app13(java.io.InputStream in)
           
 void app14(java.io.InputStream in)
           
 void app2(java.io.InputStream in)
           
 int getUnits()
           
 int getXDensity()
           
 int getYDensity()
           
 int read(int[] buf, int off, int len)
           
 
Methods inherited from class uk.co.mmscomputing.imageio.jpeg.JPEGInputStream
app10, app11, app12, app15, app3, app4, app5, app6, app7, app8, app9, comment, defineArithmeticConditioning, defineHierarchicalProgression, defineHuffmanTables, defineNumberOfLines, defineQuantizationTables, defineRestartInterval, dump, endOfImage, expandReferenceComponents, getACIns, getDCIns, getHeight, getNumComponents, getQTs, getWidth, read, read, readIn, restartIntervalTermination, startOfFrame, startOfImage, startOfScan
 
Methods inherited from class uk.co.mmscomputing.io.IntFilterInputStream
read, setIn
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected int version

units

protected int units

xDensity

protected int xDensity

yDensity

protected int yDensity

xThumbnail

protected int xThumbnail

yThumbnail

protected int yThumbnail
Constructor Detail

JFIFInputStream

public JFIFInputStream(java.io.InputStream in)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getUnits

public int getUnits()

getXDensity

public int getXDensity()

getYDensity

public int getYDensity()

app0

public void app0(java.io.InputStream in)
          throws java.io.IOException
Overrides:
app0 in class JPEGInputStream
Throws:
java.io.IOException

app1

public void app1(java.io.InputStream in)
          throws java.io.IOException
Overrides:
app1 in class JPEGInputStream
Throws:
java.io.IOException

app2

public void app2(java.io.InputStream in)
          throws java.io.IOException
Overrides:
app2 in class JPEGInputStream
Throws:
java.io.IOException

app13

public void app13(java.io.InputStream in)
           throws java.io.IOException
Overrides:
app13 in class JPEGInputStream
Throws:
java.io.IOException

app14

public void app14(java.io.InputStream in)
           throws java.io.IOException
Overrides:
app14 in class JPEGInputStream
Throws:
java.io.IOException

read

public int read(int[] buf,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class JPEGInputStream
Throws:
java.io.IOException


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.