org.apache.fop.render.ps
Class PSResource
java.lang.Object
|
+--org.apache.fop.render.ps.PSResource
- public class PSResource
- extends java.lang.Object
Represents a PostScript resource (file, font, procset etc.).
Field Summary |
static java.lang.String |
TYPE_FILE
a file resource |
static java.lang.String |
TYPE_FONT
a font resource |
static java.lang.String |
TYPE_PROCSET
a procset resource |
Constructor Summary |
PSResource(java.lang.String type,
java.lang.String name)
Main constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_FILE
public static final java.lang.String TYPE_FILE
- a file resource
TYPE_FONT
public static final java.lang.String TYPE_FONT
- a font resource
TYPE_PROCSET
public static final java.lang.String TYPE_PROCSET
- a procset resource
PSResource
public PSResource(java.lang.String type,
java.lang.String name)
- Main constructor
- Parameters:
type
- type of the resourcename
- name of the resource
getType
public java.lang.String getType()
- Returns:
- the type of the resource
getName
public java.lang.String getName()
- Returns:
- the name of the resource
getResourceSpecification
public java.lang.String getResourceSpecification()
- Returns:
- the specification as defined in DSC v3.0 spec.
Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.