|
org.openide.filesystems 6.4.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AbstractFileSystem.Change
Controls modification of files.
Field Summary | |
---|---|
static long |
serialVersionUID
Deprecated. Only public by accident. |
Method Summary | |
---|---|
void |
createData(String name)
Create new data file. |
void |
createFolder(String name)
Create new folder. |
void |
delete(String name)
Delete a file. |
void |
rename(String oldName,
String newName)
Rename a file. |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
void createFolder(String name) throws IOException
name
- full name of new folder, e.g. topfolder/newfolder
IOException
- if the operation failsvoid createData(String name) throws IOException
name
- full name of the file, e.g. path/from/root/filename.ext
IOException
- if the file cannot be created (e.g. already exists)void rename(String oldName, String newName) throws IOException
oldName
- old name of the file; fully qualifiednewName
- new name of the file; fully qualified
IOException
- if it could not be renamedvoid delete(String name) throws IOException
name
- name of file; fully qualified
IOException
- if the file could not be deleted
|
org.openide.filesystems 6.4.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |