public class DefaultImpl
extends Object
Constructor and Description |
---|
DefaultImpl() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteFile(File f,
String re,
String repl) |
static void |
main(String[] args) |
static void |
moveFile(File f,
ImportConfig myCfg) |
static void |
moveSubDir(File f,
ImportConfig myCfg) |
static void |
renameFile(File f,
ImportConfig myCfg)
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, ImportConfig myCfg) throws Exception
f
- file to renamere
- regex to find in current namerepl
- replacment textmsg
- unusedException
public static void moveFile(File f, ImportConfig myCfg) throws Exception
Exception
public static void moveSubDir(File f, ImportConfig myCfg) throws Exception
Exception
public static void main(String[] args) throws Exception
Exception