|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ant.util.Util
public class Util
Utility classes with generic methods that may be used by more than one task.
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static int |
removeVersion(java.io.File parentDir)
Removes the version number of all the subdirectories of a given directory. |
static void |
writeFile(java.io.File file,
java.lang.String content)
Writes the given content to the specifed file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static int removeVersion(java.io.File parentDir)
parentDir
- the parent of the directories that will have the version removed
public static void writeFile(java.io.File file, java.lang.String content) throws java.io.IOException
file
- The file to be written or overwritten.content
-
java.io.IOException
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |