java.lang.Object
org.apache.xmlgraphics.ps.PSResource
- All Implemented Interfaces:
Comparable
- Direct Known Subclasses:
PSProcSet
Represents a PostScript resource (file, font, procset etc.).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA CIDFont resource.static final StringA CMap resource.static final Stringa procset resourcestatic final Stringa file resourcestatic final Stringa font resourcestatic final Stringa procset resourcestatic final Stringa procset resourcestatic final Stringa procset resource -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE_FILE
a file resource- See Also:
-
TYPE_FONT
a font resource- See Also:
-
TYPE_PROCSET
a procset resource- See Also:
-
TYPE_PATTERN
a procset resource- See Also:
-
TYPE_FORM
a procset resource- See Also:
-
TYPE_ENCODING
a procset resource- See Also:
-
TYPE_CMAP
A CMap resource.- See Also:
-
TYPE_CIDFONT
A CIDFont resource.- See Also:
-
-
Constructor Details
-
PSResource
Main constructor- Parameters:
type- type of the resourcename- name of the resource
-
-
Method Details
-
getType
- Returns:
- the type of the resource
-
getName
- Returns:
- the name of the resource
-
getResourceSpecification
- Returns:
- the <resource> specification as defined in DSC v3.0 spec.
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable
-
toString
-