Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.graphics.color

public Class PDDeviceNProcess

extends Object
Class Inheritance
Imports
org.apache.pdfbox.cos.COSArray, .COSBase, .COSDictionary, .COSName, java.io.IOException, java.util.ArrayList, .List, org.apache.commons.logging.Log, .LogFactory

A DeviceN Process Dictionary
Author
John Hewson

Field Summary

Modifier and TypeField and Description
private final COSDictionary
private static final Log
LOG

Log instance.

Constructor Summary

AccessConstructor and Description
public
PDDeviceNProcess()

Creates a new DeviceN Process Dictionary.

public
PDDeviceNProcess(COSDictionary
a DeviceN attributes dictionary
attributes
)

Creates a new DeviceN Process Dictionary from the given attributes.

Method Summary

Modifier and TypeMethod and Description
public PDColorSpace

Returns:

the process color space
getColorSpace
()

Returns the process color space

public List<String>

Returns:

the names of the color components
getComponents
()

Returns the names of the color components.

public COSDictionary

Returns:

the underlying COS dictionary.
getCOSDictionary
()

Returns the underlying COS dictionary.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

dictionaryback to summary
private final COSDictionary dictionary
LOGback to summary
private static final Log LOG

Log instance.

Constructor Detail

PDDeviceNProcessback to summary
public PDDeviceNProcess()

Creates a new DeviceN Process Dictionary.

PDDeviceNProcessback to summary
public PDDeviceNProcess(COSDictionary attributes)

Creates a new DeviceN Process Dictionary from the given attributes.

Parameters
attributes:COSDictionary

a DeviceN attributes dictionary

Method Detail

getColorSpaceback to summary
public PDColorSpace getColorSpace() throws IOException

Returns the process color space

Returns:PDColorSpace

the process color space

Exceptions
IOException:
if the color space cannot be read
getComponentsback to summary
public List<String> getComponents()

Returns the names of the color components.

Returns:List<String>

the names of the color components

getCOSDictionaryback to summary
public COSDictionary getCOSDictionary()

Returns the underlying COS dictionary.

Returns:COSDictionary

the underlying COS dictionary.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override