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