at.tuwien.ifs.somtoolbox.properties
Class SOMViewerProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by at.tuwien.ifs.somtoolbox.properties.SOMViewerProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class SOMViewerProperties
extends Properties

Properties for SOMViewer application.

Version:
$Id: SOMViewerProperties.java 3583 2010-05-21 10:07:41Z mayer $
Author:
Thomas Lidy
See Also:
Serialized Form

Field Summary
private  String htmlMapTemplatesDir
           
private static long serialVersionUID
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
SOMViewerProperties()
          Creates an empty SOMViewerProperties object.
SOMViewerProperties(String fname)
          Loads the properties (or preferences) for the SOMViewer application and GUI.
 
Method Summary
 String getAudioPlayer()
          Returns the path name to call the preferred audio player to play audio files from PlaySOM Panel.
 String getHtmlMapTemplatesDir()
           
 String getPalettesDir()
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

htmlMapTemplatesDir

private String htmlMapTemplatesDir
Constructor Detail

SOMViewerProperties

public SOMViewerProperties(String fname)
                    throws PropertiesException
Loads the properties (or preferences) for the SOMViewer application and GUI.

Parameters:
fname - name of the properties file.
Throws:
PropertiesException - thrown if properties file could not be opened or the values of the properties are illegal.

SOMViewerProperties

public SOMViewerProperties()
Creates an empty SOMViewerProperties object.

Method Detail

getAudioPlayer

public String getAudioPlayer()
Returns the path name to call the preferred audio player to play audio files from PlaySOM Panel.

Returns:
path name to audio player.

getPalettesDir

public String getPalettesDir()

getHtmlMapTemplatesDir

public String getHtmlMapTemplatesDir()