public class Util
extends java.lang.Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static int removeVersion(java.io.File parentDir)
parentDir - the parent of the directories that will have the version removedpublic 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