org.foray.render.awt.viewer
Class LoadableProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<String,String>
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
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 |
LoadableProperties
public LoadableProperties()
- Constructor.
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.