org.foray.render.awt.viewer
Class LoadableProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<String,String>
          extended by org.foray.render.awt.viewer.LoadableProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>

public class LoadableProperties
extends Hashtable<String,String>

Erweitert Hashtable um die Methode load. Die Zeilen der Textdatei, die mit # oder ! anfangen sind Kommentarzeilen. Eine gültige Zeile ist entweder eine Kommentarzeile oder eine Zeile mit dem Gleichheitszeichen "in der Mitte". Die Klasse LoadableProperties lässt im Gegensatz zu der Klasse Properties die Schlüsselwerte mit Leerzeichen zu.

Version:
02.12.99
Author:
Stanislav.Gorkhover@jCatalog.com
See Also:
Serialized Form

Constructor Summary
LoadableProperties()
          Constructor.
 
Method Summary
 void load(InputStream inStream)
          Loads the properties from a given input stream.
 
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
 

Constructor Detail

LoadableProperties

public LoadableProperties()
Constructor.

Method Detail

load

public void load(InputStream inStream)
          throws IOException
Loads the properties from a given input stream.

Parameters:
inStream - The input stream containing the properties.
Throws:
IOException - For I/O errors reading the input stream.


Copyright © 2017. All rights reserved.