public class LicenseFlags extends Object
Represents a helper wrapper for an embedding flags from 'OS/2' table (field fsType).
Modifier and Type | Method and Description |
---|---|
int |
getFSType()
Gets raw fsType value from OS/2 table or 0 if this field doesn't exist in the table.
|
boolean |
isBitmapOnlyEmbedding()
Detects whether fsType permits BitmapOnly embedding.
|
boolean |
isEditableEmbedding()
Detects whether fsType permits Editable embedding.
|
boolean |
isFSTypeAbsent()
Returns true if fsType flag is absent in 'OS/2' table.
|
boolean |
isInstallableEmbedding()
Detects whether fsType is Installable embedding.
|
boolean |
isNoSubsettingEmbedding()
Detects whether fsType permits NoSubsetting embedding.
|
boolean |
isPreviewAndPrintEmbedding()
Detects whether fsType permits Preview and Print embedding.
|
boolean |
isReservedType()
Detects whether reserved bit(bit 0) is set for fsType.
|
boolean |
isRestrictedLicenseEmbedding()
Detects whether fsType is Restricted License embedding.
|
public int getFSType()
Gets raw fsType value from OS/2 table or 0 if this field doesn't exist in the table.
public boolean isInstallableEmbedding()
Detects whether fsType is Installable embedding.
public boolean isRestrictedLicenseEmbedding()
Detects whether fsType is Restricted License embedding.
public boolean isPreviewAndPrintEmbedding()
Detects whether fsType permits Preview and Print embedding.
public boolean isEditableEmbedding()
Detects whether fsType permits Editable embedding.
public boolean isNoSubsettingEmbedding()
Detects whether fsType permits NoSubsetting embedding.
public boolean isBitmapOnlyEmbedding()
Detects whether fsType permits BitmapOnly embedding.
public boolean isReservedType()
Detects whether reserved bit(bit 0) is set for fsType.
public boolean isFSTypeAbsent()
Returns true if fsType flag is absent in 'OS/2' table.