|
Termite | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--termite.Build
The build class contains some information about the build like
The following properties are used:
#Build Properties #Thu Feb 07 20:08:01 CET 2002 version=0.01 build.nr=14
main(java.lang.String[])
Constructor Summary | |
Build()
Constructor |
|
Build(java.io.File propertyFile)
Constructor |
|
Build(java.lang.String propertyFile)
Constructor |
Method Summary | |
int |
getNumber()
|
void |
increaseNumber()
increaseNumber increase the build number and stores the result back to the build property file |
void |
loadProperties(java.io.File file)
Method loadProperties |
void |
loadProperties(java.lang.String propertyFile)
loadProperties reads the build properties from the given files and stores it for internal use. |
static void |
main(java.lang.String[] args)
The following arguments are possible: increaseNumber property-file: this will increase the build number (build.nr) in the given property file (e.g. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Build()
public Build(java.lang.String propertyFile) throws java.io.FileNotFoundException, java.io.IOException
propertyFile
- the name of the property filepublic Build(java.io.File propertyFile) throws java.io.FileNotFoundException, java.io.IOException
propertyFile
- the name of the property fileMethod Detail |
public void loadProperties(java.lang.String propertyFile) throws java.io.FileNotFoundException, java.io.IOException
propertyFile
- the name of the property filejava.io.FileNotFoundException
- java.io.IOException
- public void loadProperties(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
file
- the property file containing build propertiesjava.io.FileNotFoundException
- java.io.IOException
- public int getNumber()
public void increaseNumber() throws java.io.FileNotFoundException, java.io.IOException
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.IOException
|
Termite | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |