BEA Systems, Inc.

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

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.

See Also:
Serialized Form

Field Summary
protected static java.lang.String DEFAULT_INITIAL_CONTEXT_FACTORY
           
protected static java.lang.String DEFAULT_PROVIDER_URL
           
protected static java.lang.String DEFAULT_SCHEMA_MGR_HOME
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
MapPropertySet()
          Default constructor.
 
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
 

Field Detail

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
Constructor Detail

MapPropertySet

public MapPropertySet()
Default constructor.
Method Detail

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 -  

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved