Package gov.nih.mipav.model.file
Class MetadataExtractor.DirectoryTiffHandler
java.lang.Object
gov.nih.mipav.model.file.MetadataExtractor.DirectoryTiffHandler
- All Implemented Interfaces:
MetadataExtractor.TiffHandler
- Direct Known Subclasses:
MetadataExtractor.ExifTiffHandler
- Enclosing class:
MetadataExtractor
public abstract class MetadataExtractor.DirectoryTiffHandler
extends Object
implements MetadataExtractor.TiffHandler
Adapter between the
MetadataExtractor.TiffHandler interface and the MetadataExtractor.Metadata/MetadataExtractor.Directory object model.- Author:
- Drew Noakes https://drewnoakes.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MetadataExtractor.Directoryprivate final Stack<MetadataExtractor.Directory> protected final MetadataExtractor.Metadataprivate MetadataExtractor.Directory -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDirectoryTiffHandler(MetadataExtractor.Metadata metadata, MetadataExtractor.Directory parentDirectory) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprivate MetadataExtractor.Directoryprotected voidprotected voidprotected voidprotected voidprotected voidpushDirectory(Class<? extends MetadataExtractor.Directory> directoryClass) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidvoidsetByteArray(int tagId, byte[] bytes) voidsetDouble(int tagId, double double64) voidsetDoubleArray(int tagId, double[] array) voidsetFloat(int tagId, float float32) voidsetFloatArray(int tagId, float[] array) voidsetInt16s(int tagId, int int16s) voidsetInt16sArray(int tagId, short[] array) voidsetInt16u(int tagId, int int16u) voidsetInt16uArray(int tagId, int[] array) voidsetInt32s(int tagId, int int32s) voidsetInt32sArray(int tagId, int[] array) voidsetInt32u(int tagId, long int32u) voidsetInt32uArray(int tagId, long[] array) voidsetInt8s(int tagId, byte int8s) voidsetInt8sArray(int tagId, byte[] array) voidsetInt8u(int tagId, short int8u) voidsetInt8uArray(int tagId, short[] array) voidsetRational(int tagId, MetadataExtractor.Rational rational) voidsetRationalArray(int tagId, MetadataExtractor.Rational[] array) voidsetString(int tagId, MetadataExtractor.StringValue string) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gov.nih.mipav.model.file.MetadataExtractor.TiffHandler
customProcessTag, hasFollowerIfd, setTiffMarker, tryCustomProcessFormat, tryEnterSubIfd
-
Field Details
-
_directoryStack
-
_rootParentDirectory
-
_currentDirectory
-
_metadata
-
-
Constructor Details
-
DirectoryTiffHandler
protected DirectoryTiffHandler(MetadataExtractor.Metadata metadata, MetadataExtractor.Directory parentDirectory)
-
-
Method Details
-
endingIFD
public void endingIFD()- Specified by:
endingIFDin interfaceMetadataExtractor.TiffHandler
-
pushExifIFD0Directory
protected void pushExifIFD0Directory() -
pushExifInteropDirectory
protected void pushExifInteropDirectory() -
pushExifThumbnailDirectory
protected void pushExifThumbnailDirectory() -
pushSubExifIFDDirectory
protected void pushSubExifIFDDirectory() -
pushPanasonicRawIFD0Directory
protected void pushPanasonicRawIFD0Directory() -
pushErrorDirectory
protected void pushErrorDirectory() -
pushGpsDirectory
protected void pushGpsDirectory() -
pushOlympusEquipmentMakernoteDirectory
protected void pushOlympusEquipmentMakernoteDirectory() -
pushOlympusCameraSettingsMakernoteDirectory
protected void pushOlympusCameraSettingsMakernoteDirectory() -
pushOlympusRawDevelopmentMakernoteDirectory
protected void pushOlympusRawDevelopmentMakernoteDirectory() -
pushOlympusRawDevelopment2MakernoteDirectory
protected void pushOlympusRawDevelopment2MakernoteDirectory() -
pushOlympusImageProcessingMakernoteDirectory
protected void pushOlympusImageProcessingMakernoteDirectory() -
pushOlympusFocusInfoMakernoteDirectory
protected void pushOlympusFocusInfoMakernoteDirectory() -
pushOlympusRawInfoMakernoteDirectory
protected void pushOlympusRawInfoMakernoteDirectory() -
pushOlympusMakernoteDirectory
protected void pushOlympusMakernoteDirectory() -
pushExifImageDirectory
protected void pushExifImageDirectory() -
pushNikonType1MakernoteDirectory
protected void pushNikonType1MakernoteDirectory() -
pushNikonType2MakernoteDirectory
protected void pushNikonType2MakernoteDirectory() -
pushSonyType1MakernoteDirectory
protected void pushSonyType1MakernoteDirectory() -
pushSonyType6MakernoteDirectory
protected void pushSonyType6MakernoteDirectory() -
pushSigmaMakernoteDirectory
protected void pushSigmaMakernoteDirectory() -
pushCanonMakernoteDirectory
protected void pushCanonMakernoteDirectory() -
pushCasioType1MakernoteDirectory
protected void pushCasioType1MakernoteDirectory() -
pushCasioType2MakernoteDirectory
protected void pushCasioType2MakernoteDirectory() -
pushFujifilmMakernoteDirectory
protected void pushFujifilmMakernoteDirectory() -
pushKyoceraMakernoteDirectory
protected void pushKyoceraMakernoteDirectory() -
pushLeicaType5MakernoteDirectory
protected void pushLeicaType5MakernoteDirectory() -
pushLeicaMakernoteDirectory
protected void pushLeicaMakernoteDirectory() -
pushPanasonicMakernoteDirectory
protected void pushPanasonicMakernoteDirectory() -
pushPentaxMakernoteDirectory
protected void pushPentaxMakernoteDirectory() -
pushSanyoMakernoteDirectory
protected void pushSanyoMakernoteDirectory() -
pushRicohMakernoteDirectory
protected void pushRicohMakernoteDirectory() -
pushAppleMakernoteDirectory
protected void pushAppleMakernoteDirectory() -
pushSamsungType2MakernoteDirectory
protected void pushSamsungType2MakernoteDirectory() -
pushDirectory
-
warn
- Specified by:
warnin interfaceMetadataExtractor.TiffHandler
-
error
- Specified by:
errorin interfaceMetadataExtractor.TiffHandler
-
getCurrentOrErrorDirectory
-
setByteArray
public void setByteArray(int tagId, byte[] bytes) - Specified by:
setByteArrayin interfaceMetadataExtractor.TiffHandler
-
setString
- Specified by:
setStringin interfaceMetadataExtractor.TiffHandler
-
setRational
- Specified by:
setRationalin interfaceMetadataExtractor.TiffHandler
-
setRationalArray
- Specified by:
setRationalArrayin interfaceMetadataExtractor.TiffHandler
-
setFloat
public void setFloat(int tagId, float float32) - Specified by:
setFloatin interfaceMetadataExtractor.TiffHandler
-
setFloatArray
public void setFloatArray(int tagId, float[] array) - Specified by:
setFloatArrayin interfaceMetadataExtractor.TiffHandler
-
setDouble
public void setDouble(int tagId, double double64) - Specified by:
setDoublein interfaceMetadataExtractor.TiffHandler
-
setDoubleArray
public void setDoubleArray(int tagId, double[] array) - Specified by:
setDoubleArrayin interfaceMetadataExtractor.TiffHandler
-
setInt8s
public void setInt8s(int tagId, byte int8s) - Specified by:
setInt8sin interfaceMetadataExtractor.TiffHandler
-
setInt8sArray
public void setInt8sArray(int tagId, byte[] array) - Specified by:
setInt8sArrayin interfaceMetadataExtractor.TiffHandler
-
setInt8u
public void setInt8u(int tagId, short int8u) - Specified by:
setInt8uin interfaceMetadataExtractor.TiffHandler
-
setInt8uArray
public void setInt8uArray(int tagId, short[] array) - Specified by:
setInt8uArrayin interfaceMetadataExtractor.TiffHandler
-
setInt16s
public void setInt16s(int tagId, int int16s) - Specified by:
setInt16sin interfaceMetadataExtractor.TiffHandler
-
setInt16sArray
public void setInt16sArray(int tagId, short[] array) - Specified by:
setInt16sArrayin interfaceMetadataExtractor.TiffHandler
-
setInt16u
public void setInt16u(int tagId, int int16u) - Specified by:
setInt16uin interfaceMetadataExtractor.TiffHandler
-
setInt16uArray
public void setInt16uArray(int tagId, int[] array) - Specified by:
setInt16uArrayin interfaceMetadataExtractor.TiffHandler
-
setInt32s
public void setInt32s(int tagId, int int32s) - Specified by:
setInt32sin interfaceMetadataExtractor.TiffHandler
-
setInt32sArray
public void setInt32sArray(int tagId, int[] array) - Specified by:
setInt32sArrayin interfaceMetadataExtractor.TiffHandler
-
setInt32u
public void setInt32u(int tagId, long int32u) - Specified by:
setInt32uin interfaceMetadataExtractor.TiffHandler
-
setInt32uArray
public void setInt32uArray(int tagId, long[] array) - Specified by:
setInt32uArrayin interfaceMetadataExtractor.TiffHandler
-