Package | Description |
---|---|
com.drew.imaging.tiff |
Contains classes for working with TIFF format files.
|
com.drew.lang |
Contains classes of generic utility.
|
com.drew.metadata |
Provides classes for generic modelling of metadata directories and tags.
|
com.drew.metadata.tiff |
Contains classes for the extraction and modelling of TIFF file metadata.
|
Modifier and Type | Method and Description |
---|---|
void |
TiffHandler.setRational(int tagId,
Rational rational) |
void |
TiffHandler.setRationalArray(int tagId,
Rational[] array) |
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.getReciprocal()
Returns the reciprocal value of this object as a new Rational.
|
Rational |
Rational.getSimplifiedInstance()
Simplifies the representation of this
Rational number. |
Modifier and Type | Method and Description |
---|---|
int |
Rational.compareTo(Rational that)
Compares two
Rational instances, returning true if they are mathematically
equivalent (in consistence with equals(Object) method). |
static Double |
GeoLocation.degreesMinutesSecondsToDecimal(Rational degs,
Rational mins,
Rational secs,
boolean isNegative)
Converts DMS (degrees-minutes-seconds) rational values, as given in
GpsDirectory ,
into a single value in degrees, as a double. |
boolean |
Rational.equals(Rational other)
Indicates whether this instance and
other are numerically equal,
even if their representations differ. |
boolean |
Rational.equalsExact(Rational other)
Indicates whether this instance and
other have identical
Numerator and Denominator. |
Modifier and Type | Method and Description |
---|---|
Rational |
Directory.getRational(int tagType)
Returns the specified tag's value as a Rational.
|
Rational[] |
Directory.getRationalArray(int tagType)
Returns the specified tag's value as an array of Rational.
|
Modifier and Type | Method and Description |
---|---|
void |
Directory.setRational(int tagType,
Rational rational)
Sets a
Rational value for the specified tag. |
void |
Directory.setRationalArray(int tagType,
Rational[] rationals)
Sets a
Rational[] (array) for the specified tag. |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryTiffHandler.setRational(int tagId,
Rational rational) |
void |
DirectoryTiffHandler.setRationalArray(int tagId,
Rational[] array) |
Copyright © 2019. All rights reserved.