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
Exception
public 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
- unusedException
public static void moveSubDir(File f, String targetDir, String unUsed, String msg) throws Exception
Exception
public static void main(String[] args) throws Exception
Exception