|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.importer.images.data.RenameOp
public final class RenameOp
Represents an operation where a file is renamed.
Constructor Summary | |
---|---|
RenameOp(java.io.File file,
java.lang.String newName)
Constructs this object. |
Method Summary | |
---|---|
void |
perform()
Actually perform the renaming. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenameOp(java.io.File file, java.lang.String newName)
file
- a File object representing the file to be renamed.newName
- the new name of the file. This does NOT include the directory path, only the new
file name.Method Detail |
---|
public void perform() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |