public enum IFDEntry extends Enum<IFDEntry>
Integer.MAX_VALUE
has been
used to indicate a variable number of entry values. Some entries are required
in an image conforming to the specification. Such entries can be retrieved
using the getRequiredEntries
method.
Modifier and Type | Field and Description |
---|---|
private short |
count |
private IFDEntryType |
entryType |
private boolean |
required |
private short |
tag |
Modifier and Type | Method and Description |
---|---|
static IFDEntry |
findByTag(short tag) |
int |
getCount() |
IFDEntryType |
getEntryType() |
static List<IFDEntry> |
getRequiredEntries() |
short |
getTag() |
boolean |
isRequired() |
static IFDEntry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IFDEntry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IFDEntry DOCUMENT_NAME
public static final IFDEntry IMAGE_DESCRIPTION
public static final IFDEntry EQUIPMENT_MAKE
public static final IFDEntry EQUIPMENT_MODEL
public static final IFDEntry PAGE_NAME
public static final IFDEntry PAGE_NUMBER
public static final IFDEntry SOFTWARE_NAME_VERSION
public static final IFDEntry DATE_TIME
public static final IFDEntry ARTIST_NAME
public static final IFDEntry HOST_COMPUTER
public static final IFDEntry COPYRIGHT_NOTICE
public static final IFDEntry COLOR_SPACE
public static final IFDEntry PIXEL_FORMAT
public static final IFDEntry SPATIAL_XFRM_PRIMARY
public static final IFDEntry IMAGE_TYPE
public static final IFDEntry PTM_COLOR_INFO
public static final IFDEntry PROFILE_LEVEL_CONTAINER
public static final IFDEntry IMAGE_WIDTH
public static final IFDEntry IMAGE_HEIGHT
public static final IFDEntry WIDTH_RESOLUTION
public static final IFDEntry HEIGHT_RESOLUTION
public static final IFDEntry IMAGE_OFFSET
public static final IFDEntry IMAGE_BYTE_COUNT
public static final IFDEntry ALPHA_OFFSET
public static final IFDEntry ALPHA_BYTE_COUNT
public static final IFDEntry IMAGE_BAND_PRESENCE
public static final IFDEntry ALPHA_BAND_PRESENCE
public static final IFDEntry PADDING_DATA
private final short tag
private final IFDEntryType entryType
private final short count
private final boolean required
public static IFDEntry[] values()
for (IFDEntry c : IFDEntry.values()) System.out.println(c);
public static IFDEntry valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic short getTag()
public IFDEntryType getEntryType()
public int getCount()
public boolean isRequired()
public static IFDEntry findByTag(short tag)
Copyright © 2016 Open Microscopy Environment