|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyManager
This interface defines an object which can be used to set values
to be used to control the PDF library - turning on or off debug
flags, controlling the location of additional software and so on.
Until 2.8.5 this class didn't exist and these values were
determined by calling System.getProperty(nnn)
instead, but this class allows those values to be more easily
specified in servlets, applets and other environments where modifying
the System properties isn't always appropriate or possible.
Field Summary | |
---|---|
static PropertyManager |
SYSTEM
Defines a PropertyManager which checks the System.getProperty(java.lang.String)
method. |
Method Summary | |
---|---|
String |
getProperty(String key)
Return the specified property, or null if no such
property is set. |
URL |
getURLProperty(String key)
Return the specified property as a URL, or null if no
such property is set. |
Field Detail |
---|
static final PropertyManager SYSTEM
System.getProperty(java.lang.String)
method. A call to getProperty(key)
will return
the value of
System.getProperty("org.faceless.pdf2."+key)
.
This PropertyManager is the default one used by the PDF library.
Method Detail |
---|
String getProperty(String key)
null
if no such
property is set.
URL getURLProperty(String key) throws MalformedURLException
null
if no
such property is set.
MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |