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