public class PostImport
extends Object
| Constructor and Description |
|---|
PostImport() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteFile(File f,
String re,
String repl) |
static void |
main(String[] args) |
static void |
moveSubDir(File f,
String targetDir,
String unUsed,
String msg) |
static void |
renameFile(File f,
String re,
String repl,
String msg)
static file rename method
|
public static final int MAJOR
public static final int MINOR
public static void deleteFile(File f,
String re,
String repl)
throws Exception
Exceptionpublic static void renameFile(File f,
String re,
String repl,
String msg)
throws Exception
f - file to renamere - regex to find in current namerepl - replacment textmsg - unusedExceptionpublic static void moveSubDir(File f,
String targetDir,
String unUsed,
String msg)
throws Exception
Exceptionpublic static void main(String[] args)
throws Exception
Exception