Example usage for org.apache.pdfbox.cos COSNull writePDF

List of usage examples for org.apache.pdfbox.cos COSNull writePDF

Introduction

In this page you can find the example usage for org.apache.pdfbox.cos COSNull writePDF.

Prototype

public void writePDF(OutputStream output) throws IOException 

Source Link

Document

This will output this string as a PDF object.

Usage

From source file:com.aaasec.sigserv.csspsupport.pdfbox.modifications.CsCOSWriter.java

License:Apache License

/**
 * visitFromNull method comment./*from www.  j  a  va 2 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 visitFromNull(COSNull obj) throws COSVisitorException {
    try {
        obj.writePDF(getStandardOutput());
        return null;
    } catch (IOException e) {
        throw new COSVisitorException(e);
    }
}