Protomatter Software v1.1.7

com.protomatter.util
Class ProtoProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--com.protomatter.util.ProtoProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class ProtoProperties
extends java.util.Properties

A Properties object that allows in-line file imports. This is just like java.util.Properties, except that it honors the following directives:

Import filename

Which imports the given filename in place (imported files can also have imports, but circular refs are NOT checked).

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
ProtoProperties()
          Create a blank properties object with nothing defined.
ProtoProperties(java.util.Properties props)
          Create a properties object with the given default settings.
 
Method Summary
 void load(java.io.InputStream in)
           
static void main(java.lang.String[] args)
          A simple test program that reads a properties file defined as the first command-line argument, and then lists the properties to Standard Out.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, propertyNames, save, setProperty, store
 
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

ProtoProperties

public ProtoProperties()
Create a blank properties object with nothing defined.
See Also:
Properties

ProtoProperties

public ProtoProperties(java.util.Properties props)
Create a properties object with the given default settings.
See Also:
Properties
Method Detail

load

public void load(java.io.InputStream in)
          throws java.io.IOException
Overrides:
load in class java.util.Properties

main

public static void main(java.lang.String[] args)
A simple test program that reads a properties file defined as the first command-line argument, and then lists the properties to Standard Out.

Protomatter Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7