org.openide.filesystems
Interface AbstractFileSystem.Change
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- XMLFileSystem.Impl, JarFileSystem.Impl, LocalFileSystem.Impl
- Enclosing class:
- AbstractFileSystem
- public static interface AbstractFileSystem.Change
- extends Serializable
Controls modification of files.
serialVersionUID
public static final long serialVersionUID
createFolder
public void createFolder(String name)
throws IOException
- Create new folder.
- Parameters:
name
- full name of new folder, e.g. topfolder/newfolder
- Throws:
IOException
- if the operation fails
createData
public void createData(String name)
throws IOException
- Create new data file.
- Parameters:
name
- full name of the file, e.g. path/from/root/filename.ext
- Throws:
IOException
- if the file cannot be created (e.g. already exists)
rename
public void rename(String oldName,
String newName)
throws IOException
- Rename a file.
- Parameters:
oldName
- old name of the file; fully qualifiednewName
- new name of the file; fully qualified- Throws:
IOException
- if it could not be renamed
delete
public void delete(String name)
throws IOException
- Delete a file.
- Parameters:
name
- name of file; fully qualified- Throws:
IOException
- if the file could not be deleted
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.