Class ASBoolean
java.lang.Object
com.adobe.internal.pdftoolkit.core.types.ASObject
com.adobe.internal.pdftoolkit.core.types.ASBoolean
This class represents a non-cos PDF boolean object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFalse()Returns true if this boolean object represent false else false.booleanisTrue()Returns true if this boolean object represent true else false.toString()voidwrite(OutputByteStream outputByteStream) Writes the ASObject to the given OutputStream in the format expected by the PDF Spec.
-
Constructor Details
-
ASBoolean
public ASBoolean(boolean value) Constructor.
-
-
Method Details
-
isTrue
public boolean isTrue()Returns true if this boolean object represent true else false. -
isFalse
public boolean isFalse()Returns true if this boolean object represent false else false. -
write
Description copied from class:ASObjectWrites the ASObject to the given OutputStream in the format expected by the PDF Spec.- Specified by:
writein classASObject- Parameters:
outputByteStream- OutputByteStream to write to.- Throws:
PDFIOException- exception from OutputStream
-
toString
-