|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.module.tiff.TiffProfile
edu.harvard.hul.ois.jhove.module.tiff.TiffFXBase
public abstract class TiffFXBase
Base class for all profiles under TIFF/FX. All TIFF/FX profiles should call TiffFXBase.satisfiesClass to establish that common requirements are met.
Field Summary | |
---|---|
static int |
GLOBALPARAMETERSIFD
Tiff/FX-specific tags. |
static int |
STRIPROWCOUNTS
Tiff/FX-specific tags. |
Fields inherited from class edu.harvard.hul.ois.jhove.module.tiff.TiffProfile |
---|
_mimeClass, _profileText, MIME_1314, MIME_FX, MIME_GENERIC |
Constructor Summary | |
---|---|
TiffFXBase()
|
Method Summary | |
---|---|
protected int |
perCMtoPerInch(int res)
Convert a units/cm value to a units/inch value. |
protected boolean |
satisfiesClass(TiffIFD ifd)
Test for common requirements of all Tiff/FX profiles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GLOBALPARAMETERSIFD
public static final int STRIPROWCOUNTS
Constructor Detail |
---|
public TiffFXBase()
Method Detail |
---|
protected boolean satisfiesClass(TiffIFD ifd)
satisfiesClass()
from their
satisfiesThisProfile()
method to avoid redundant code.
If this method returns false
, the IFD does not
meet the requirements of any TIFF/FX profile. Calling this
also guarantees that the image length, image width,
bits per sample, X resolution (sampling frequency),
Y resolution and page number values are non-null objects.
protected int perCMtoPerInch(int res)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |