it.geosolutions.imageioimpl.plugins.tiff
Class TIFFIFD

Object
  extended by TIFFDirectory
      extended by TIFFIFD
All Implemented Interfaces:
Cloneable

public class TIFFIFD
extends TIFFDirectory


Constructor Summary
TIFFIFD(List tagSets)
           
TIFFIFD(List tagSets, TIFFTag parentTag)
           
 
Method Summary
 long getLastPosition()
           
 TIFFIFD getShallowClone()
          Returns a TIFFIFD wherein all fields from the BaselineTIFFTagSet are copied by value and all other fields copied by reference.
 long getStripOrTileByteCountsPosition()
           
 long getStripOrTileOffsetsPosition()
           
static TIFFTag getTag(int tagNumber, List tagSets)
           
static TIFFTag getTag(String tagName, List tagSets)
           
 List getTagSetList()
           
 void initialize(ImageInputStream stream, boolean ignoreUnknownFields)
           
 Iterator iterator()
          Returns an Iterator over the TIFF fields.
 void writeToStream(ImageOutputStream stream)
           
 
Methods inherited from class TIFFDirectory
addTagSet, addTIFFField, clone, containsTIFFField, createFromMetadata, getAsMetadata, getNumTIFFFields, getParentTag, getTag, getTagSets, getTIFFField, getTIFFFields, removeTagSet, removeTIFFField, removeTIFFFields
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIFFIFD

public TIFFIFD(List tagSets,
               TIFFTag parentTag)

TIFFIFD

public TIFFIFD(List tagSets)
Method Detail

getTag

public static TIFFTag getTag(int tagNumber,
                             List tagSets)

getTag

public static TIFFTag getTag(String tagName,
                             List tagSets)

getTagSetList

public List getTagSetList()

iterator

public Iterator iterator()
Returns an Iterator over the TIFF fields. The traversal is in the order of increasing tag number.


initialize

public void initialize(ImageInputStream stream,
                       boolean ignoreUnknownFields)
                throws IOException
Throws:
IOException

writeToStream

public void writeToStream(ImageOutputStream stream)
                   throws IOException
Throws:
IOException

getStripOrTileByteCountsPosition

public long getStripOrTileByteCountsPosition()

getStripOrTileOffsetsPosition

public long getStripOrTileOffsetsPosition()

getLastPosition

public long getLastPosition()

getShallowClone

public TIFFIFD getShallowClone()
Returns a TIFFIFD wherein all fields from the BaselineTIFFTagSet are copied by value and all other fields copied by reference.



Copyright © 2006-2010 GeoSolutions. All Rights Reserved.