public class WrapperUtils
extends java.lang.Object
Constructor and Description |
---|
WrapperUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
mergeWrapperMap(ClientServices client)
This method consolidates the wrapper map so that it follows CVS prioritization
rules for the wrappers.
|
static void |
readWrappersFromFile(java.io.File file,
java.util.Map wrapperMap)
Reads the wrappers from the specified file and populates the specified
map
|
static void |
readWrappersFromProperty(java.lang.String propertyName,
java.util.Map wrapperMap)
Reads the wrappers from the specified System property and populates the specified
map.
|
public static void readWrappersFromFile(java.io.File file, java.util.Map wrapperMap) throws java.io.IOException, java.io.FileNotFoundException
file
- The File object corresponding to the file which is being processedwrapperMap
- The map which is being updatedjava.io.IOException
java.io.FileNotFoundException
public static void readWrappersFromProperty(java.lang.String propertyName, java.util.Map wrapperMap) throws java.io.IOException
propertyName
- The system properties namewrapperMap
- The map which is being updatedjava.io.IOException
public static java.util.Map mergeWrapperMap(ClientServices client) throws CommandException
CommandException
Built on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.