@Deprecated public class IFDMetadata extends Object
null
. That value indicates a missing metadata element and cannot
be confused with a numerical value (e.g. 0). This class also verifies value
validity on a very basic level (no inferring of metadata value combination
meanings), and where needed - returns a default as dictated by the ITU-T
specification.Modifier and Type | Field and Description |
---|---|
private Map<IFDEntry,byte[]> |
entries
Deprecated.
|
private long |
fileSizeInBytes
Deprecated.
|
Constructor and Description |
---|
IFDMetadata(long fileSizeInBytes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Short |
getAlphaBandPresence()
Deprecated.
|
Long |
getAlphaByteCount()
Deprecated.
|
Long |
getAlphaOffset()
Deprecated.
|
String |
getArtistName()
Deprecated.
|
Integer |
getBitsPerPixel()
Deprecated.
|
Short |
getColorSpace()
Deprecated.
|
String |
getCopyrightNotice()
Deprecated.
|
String |
getDateTime()
Deprecated.
|
String |
getDocumentName()
Deprecated.
|
String |
getEquipmentMake()
Deprecated.
|
String |
getEquipmentModel()
Deprecated.
|
Float |
getHeightResoulution()
Deprecated.
|
String |
getHostComputer()
Deprecated.
|
Short |
getImageBandPresence()
Deprecated.
|
Long |
getImageByteCount()
Deprecated.
|
String |
getImageDescription()
Deprecated.
|
Long |
getImageHeight()
Deprecated.
|
Integer |
getImageOffset()
Deprecated.
|
Long |
getImageType()
Deprecated.
|
Long |
getImageWidth()
Deprecated.
|
Integer |
getNumberOfChannels()
Deprecated.
|
String |
getPageName()
Deprecated.
|
Short |
getPageNumber()
Deprecated.
|
Long |
getPrefferedSpatialTransformation()
Deprecated.
|
String |
getSoftwareNameVersion()
Deprecated.
|
Float |
getWidthResoulution()
Deprecated.
|
private Float |
nullOrFloat(byte[] value)
Deprecated.
|
private Long |
nullOrLong(byte[] value)
Deprecated.
|
private Short |
nullOrShort(byte[] value)
Deprecated.
|
private String |
nullOrString(byte[] value)
Deprecated.
|
private Short |
parseColorSpace(byte[] value)
Deprecated.
|
private String |
parseDateTime(byte[] value)
Deprecated.
|
void |
put(IFDEntry entry,
byte[] value)
Deprecated.
|
private void |
verifyRequiredEntries()
Deprecated.
|
public void put(IFDEntry entry, byte[] value)
public Integer getBitsPerPixel() throws JXRException
JXRException
public Integer getNumberOfChannels() throws JXRException
JXRException
public Long getImageWidth() throws JXRException
JXRException
public Long getImageHeight() throws JXRException
JXRException
public Integer getImageOffset() throws JXRException
JXRException
public Long getImageByteCount() throws JXRException
JXRException
public String getDocumentName() throws IOException
IOException
public String getImageDescription() throws IOException
IOException
public String getEquipmentMake() throws IOException
IOException
public String getEquipmentModel() throws IOException
IOException
public String getPageName() throws IOException
IOException
public Short getPageNumber()
public String getSoftwareNameVersion() throws IOException
IOException
public String getDateTime() throws IOException
IOException
public String getArtistName() throws IOException
IOException
public String getHostComputer() throws IOException
IOException
public String getCopyrightNotice() throws IOException
IOException
public Short getColorSpace()
public Long getPrefferedSpatialTransformation()
public Long getImageType()
public Float getWidthResoulution()
public Float getHeightResoulution()
public Long getAlphaOffset()
public Long getAlphaByteCount()
public Short getImageBandPresence()
public Short getAlphaBandPresence()
private String parseDateTime(byte[] value) throws IOException
IOException
private Short parseColorSpace(byte[] value)
private String nullOrString(byte[] value) throws IOException
IOException
private Short nullOrShort(byte[] value)
private Long nullOrLong(byte[] value)
private Float nullOrFloat(byte[] value)
private void verifyRequiredEntries() throws JXRException
JXRException
Copyright © 2016 Open Microscopy Environment