List of usage examples for org.apache.pdfbox.cos COSBoolean writePDF
public void writePDF(OutputStream output) throws IOException
From source file:com.aaasec.sigserv.csspsupport.pdfbox.modifications.CsCOSWriter.java
License:Apache License
/** * visitFromBoolean method comment./*from w w w .j a va2 s .c o m*/ * * @param obj The object that is being visited. * * @throws COSVisitorException If there is an exception while visiting this * object. * * @return null */ public Object visitFromBoolean(COSBoolean obj) throws COSVisitorException { try { obj.writePDF(getStandardOutput()); return null; } catch (IOException e) { throw new COSVisitorException(e); } }