@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
JXRExceptionpublic Integer getNumberOfChannels() throws JXRException
JXRExceptionpublic Long getImageWidth() throws JXRException
JXRExceptionpublic Long getImageHeight() throws JXRException
JXRExceptionpublic Integer getImageOffset() throws JXRException
JXRExceptionpublic Long getImageByteCount() throws JXRException
JXRExceptionpublic String getDocumentName() throws IOException
IOExceptionpublic String getImageDescription() throws IOException
IOExceptionpublic String getEquipmentMake() throws IOException
IOExceptionpublic String getEquipmentModel() throws IOException
IOExceptionpublic String getPageName() throws IOException
IOExceptionpublic Short getPageNumber()
public String getSoftwareNameVersion() throws IOException
IOExceptionpublic String getDateTime() throws IOException
IOExceptionpublic String getArtistName() throws IOException
IOExceptionpublic String getHostComputer() throws IOException
IOExceptionpublic String getCopyrightNotice() throws IOException
IOExceptionpublic 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
IOExceptionprivate Short parseColorSpace(byte[] value)
private String nullOrString(byte[] value) throws IOException
IOExceptionprivate Short nullOrShort(byte[] value)
private Long nullOrLong(byte[] value)
private Float nullOrFloat(byte[] value)
private void verifyRequiredEntries()
throws JXRException
JXRExceptionCopyright © 2016 Open Microscopy Environment