ir.utilities
Class FilePrefixer
java.lang.Object
ir.utilities.FilePrefixer
public class FilePrefixer
- extends java.lang.Object
Prefix all files in a directory with a particular prefix.
Constructor Summary |
FilePrefixer(java.io.File dirFile)
|
FilePrefixer(java.io.File dirFile,
java.io.FilenameFilter filter)
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
prefix(java.lang.String prefix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilePrefixer
public FilePrefixer(java.io.File dirFile,
java.io.FilenameFilter filter)
FilePrefixer
public FilePrefixer(java.io.File dirFile)
prefix
public void prefix(java.lang.String prefix)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception