| |
|
| java.lang.Object org.apache.jetspeed.util.OverwriteProperties
OverwriteProperties | public class OverwriteProperties (Code) | | Task to overwrite Properties: used for JRP, TRP and Torque.properties
author: David Sean Taylor author: Eric Pugh version: $Id: OverwriteProperties.java 516448 2007-03-09 16:25:47Z ate $ |
baseArray | protected ArrayList baseArray(Code) | | An array of all the properties
|
baseProperties | protected File baseProperties(Code) | | The file to merge properties into
|
includeRoot | protected File includeRoot(Code) | | The directory to look in for include files
|
lineSeparator | protected String lineSeparator(Code) | | What to use as a line seperator
|
properties | protected File properties(Code) | | The file to pull the properties from
|
removeArray | protected ArrayList removeArray(Code) | | An array of all the properties that will be removed
|
verbose | public boolean verbose(Code) | | Description of the Field
|
getBaseProperties | public File getBaseProperties()(Code) | | Return the file to merge propertie into
The baseProperties value |
getIncludeRoot | public File getIncludeRoot()(Code) | | Gets the includeRoot attribute of the OverwriteProperties object
The includeRoot value |
getProperties | public File getProperties()(Code) | | Gets the properties attribute of the OverwriteProperties object
The properties value |
getVerbose | public boolean getVerbose()(Code) | | Gets the verbose attribute of the OverwriteProperties object
The verbose value |
main | public static void main(String[] args) throws Exception(Code) | | The main program for the OverwriteProperties class
Parameters: args - The command line arguments exception: Exception - Description of the Exception |
readProperties | public void readProperties(File propFile, int index) throws FileNotFoundException, IOException(Code) | | Reads in the properties from the specified file
Parameters: propFile - Description of the Parameter Parameters: index - Description of the Parameter exception: FileNotFoundException - Description of the Exception exception: IOException - Description of the Exception |
removeProperties | public boolean[] removeProperties()(Code) | | Description of the Method
Description of the Return Value |
setBaseProperties | public void setBaseProperties(File baseProperties)(Code) | | Sets the file to merge properties into
Parameters: baseProperties - The file path to merge properties into |
setIncludeRoot | public void setIncludeRoot(File includeRoot)(Code) | | Sets the directory to look for includes in.
Parameters: includeRoot - the directory to look in. |
setProperties | public void setProperties(File properties)(Code) | | Sets the file to pull properties from
Parameters: properties - The file path to the pull the merge properties from |
setVerbose | public void setVerbose(boolean verbose)(Code) | | Sets whether to output extra debugging info
Parameters: verbose - The new verbose value |
|
|
|