|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
antsnest.configuration.AntsNestProperties
public class AntsNestProperties
Used to store properties Ant's Nest needs to function
| Field Summary | |
|---|---|
static String |
UNSET
Constant representing an unset property |
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
AntsNestProperties(File file)
Constructs a new property list |
|
| Method Summary | |
|---|---|
void |
addAntDocsPath(String path)
Adds a path where Ant task documentation lies |
String[] |
getAntDocPaths()
Gets the paths to the Ant tasks' documentation |
File |
getLastFile()
Gets the last file that was being edited |
String |
getLastLevel()
Gets which level Ant's Nest was it in when it last exited |
String |
getTaskExtModelPath()
Gets the path to the Ant Task-Extension Model |
String |
getTaskModelPath()
Gets the path to the Ant Task Model |
void |
load()
Loads in the properties |
void |
save()
Saves the properties |
void |
setLastFile(File lastFile)
Sets the last file that was being edited |
void |
setLastLevel(String lastLevel)
Sets the level which Ant's Nest was in when it last exited |
void |
setTaskExtModelPath(String path)
Sets the path to the Ant Task-Extension Model |
void |
setTaskModelPath(String path)
Sets the path to the Ant Task Model |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| 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 |
|---|
public static final String UNSET
| Constructor Detail |
|---|
public AntsNestProperties(File file)
file - the file the properties reside in| Method Detail |
|---|
public void save()
throws IOException
IOException - if there's a problem saving
public void load()
throws IOException
IOException - if there's a problem loadingpublic String getTaskModelPath()
public void setTaskModelPath(String path)
path - the pathpublic String getTaskExtModelPath()
public void setTaskExtModelPath(String path)
path - the pathpublic String getLastLevel()
public void setLastLevel(String lastLevel)
lastLevel - the levelpublic File getLastFile()
public void setLastFile(File lastFile)
lastFile - the filepublic String[] getAntDocPaths()
public void addAntDocsPath(String path)
path - the path
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||