public class FileConfig extends Object
Constructor and Description |
---|
FileConfig()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getConfigfile()
Returns true if the file is marked as a configuration file
|
String |
getFile()
Returns the name of the file to be used.
|
boolean |
getOverwrite()
Return true if the file should overwrite an existing file.
|
String |
getToDir()
Returns the name of the destination directory.
|
String |
getToFile()
Returns the name of the destination file.
|
void |
setConfigfile(boolean configfile)
Set if the destination should be considered a configuration file
|
void |
setConfigfile(String configfile)
Set if the destination should be considered a configuration file
|
void |
setFile(String file)
Sets the file to be used.
|
void |
setOverwrite(boolean overwrite)
Set if the destination file should be overwritten.
|
void |
setOverwrite(String overwrite)
Set if the destination file should be overwritten.
|
void |
setToDir(String todir)
Sets the destination directory to use.
|
void |
setToFile(String tofile)
Sets the destination file name.
|
public String getFile()
public String getToFile()
public String getToDir()
public boolean getOverwrite()
public boolean getConfigfile()
public void setFile(String file)
file
- The file to usepublic void setToFile(String tofile)
tofile
- The destination file namepublic void setToDir(String todir)
todir
- The destination directorypublic void setOverwrite(String overwrite)
overwrite
- Set to true if files should overwritepublic void setOverwrite(boolean overwrite)
overwrite
- Set to true if files should overwritepublic void setConfigfile(String configfile)
configfile
- Set to true if file is a configfilepublic void setConfigfile(boolean configfile)
configfile
- Set to true if file is a configfileCopyright © 2004-2013 Codehaus. All Rights Reserved.