Example usage for org.apache.pdfbox.cos COSBoolean getValue

List of usage examples for org.apache.pdfbox.cos COSBoolean getValue

Introduction

In this page you can find the example usage for org.apache.pdfbox.cos COSBoolean getValue.

Prototype

public boolean getValue() 

Source Link

Document

This will get the value that this object wraps.

Usage

From source file:org.lockss.pdf.pdfbox.PdfBoxTokens.java

License:Open Source License

/**
 * <p>//  ww  w .j av a2s.  co  m
 * Converts from a {@link COSBoolean} to a <code>boolean</code>
 * value.
 * </p>
 * @param cosBoolean A {@link COSBoolean} instance.
 * @return A <code>boolean</code> value.
 * @since 1.56
 */
protected static boolean getBoolean(COSBoolean cosBoolean) {
    return cosBoolean.getValue();
}