org.icepdf.ri.util
Class FontPropertiesManager
java.lang.Object
org.icepdf.ri.util.FontPropertiesManager
public class FontPropertiesManager
- extends java.lang.Object
This class provides a very basic Font Properties Management system. When this
class is initiated, the properites file "pdfviewerfontcache.properties" is
read from the default application file path. If the file cannot be found then
all system fonts are read from the operating system and are written to the
"pdfviewerfontcache.properties" file.
This class is designed to speed up the load time of the viewer application
by reading already parsed font information from the properties file. If new
fonts are added to the system, the "pdfviewerfontcache.properties" file can
be deleted to trigger this class to re-read the System fonts and re-create
a new "pdfviewerfontcache.properties" properites file.
- Since:
- 2.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontPropertiesManager
public FontPropertiesManager(PropertiesManager appProps,
java.util.Properties sysProps,
java.util.ResourceBundle messageBundle)
loadProperties
public void loadProperties()
saveProperties
public void saveProperties()
getBoolean
public boolean getBoolean(java.lang.String propertyName,
boolean defaultValue)