|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VRenamable
The Renameable Interface.
If a resource is renameable it implements this interface.
Method Summary | |
---|---|
boolean |
isRenamable()
Returns true is the resource is renamble whit the current credentials. |
boolean |
renameTo(java.lang.String newName,
boolean nameIsPath)
Renames this resource. Since for some implementations ( java.io.File ) a full path
is needed. |
Method Detail |
---|
boolean renameTo(java.lang.String newName, boolean nameIsPath) throws VlException
java.io.File
) a full path
is needed. The parameter nameIsPath specifies whether only
the basename (last part of path) or the full path is given
as new name to avoid this ambiguoty !
newName
- New basename or fullpath of new filenamenameIsPath
- whether the 'name' is an absolute path
VlException
boolean isRenamable() throws VlException
VlException
VFSNode.isRenamable();
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |