com.beasys.commerce.foundation.property
Class MapPropertySet
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--com.beasys.commerce.foundation.property.MapPropertySet
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class MapPropertySet
- extends java.util.Properties
Utility to load a properties file into a property set. This will load them as
unrestricted string values.
- Version:
- $Revision$, $Date$
- Author:
- smusson
- See Also:
- Serialized Form
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Fields inherited from class java.util.Properties |
defaults |
Method Summary |
void |
convert(java.lang.String[] args)
Convert a properties file to a property set. |
void |
createPropertySet(java.lang.String pFile,
java.lang.String schemaGroupName,
java.lang.String scopeName,
java.lang.String description,
boolean deleteIfExists,
java.lang.String schemaMgrHome,
java.lang.String providerURL,
java.lang.String contextFactory)
Create property set. |
static void |
main(java.lang.String[] args)
Run the conversion. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, 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 |
DEFAULT_SCHEMA_MGR_HOME
protected static final java.lang.String DEFAULT_SCHEMA_MGR_HOME
DEFAULT_INITIAL_CONTEXT_FACTORY
protected static final java.lang.String DEFAULT_INITIAL_CONTEXT_FACTORY
DEFAULT_PROVIDER_URL
protected static final java.lang.String DEFAULT_PROVIDER_URL
MapPropertySet
public MapPropertySet()
- Default constructor.
createPropertySet
public void createPropertySet(java.lang.String pFile,
java.lang.String schemaGroupName,
java.lang.String scopeName,
java.lang.String description,
boolean deleteIfExists,
java.lang.String schemaMgrHome,
java.lang.String providerURL,
java.lang.String contextFactory)
throws java.io.IOException
- Create property set.
- Parameters:
pFile
- schemaGroupName
- scopeName
- description
- deleteIfExists
- schemaMgrHome
- providerURL
- contextFactory
- - Throws:
IOException
-
convert
public void convert(java.lang.String[] args)
- Convert a properties file to a property set.
- Parameters:
args
-
main
public static void main(java.lang.String[] args)
- Run the conversion.
- Parameters:
args
-
Copyright © 2000 BEA Systems, Inc. All Rights Reserved