org.mule.util.file
Interface FileSession
- All Known Implementing Classes:
- TransactedFileSession
public interface FileSession
begin
void begin()
throws ResourceManagerException
- Throws:
ResourceManagerException
commit
void commit()
throws ResourceManagerException
- Throws:
ResourceManagerException
rollback
void rollback()
throws ResourceManagerException
- Throws:
ResourceManagerException
openInputStream
FileInputStream openInputStream(File f)
throws IOException
- Throws:
IOException
openOutputStream
FileOutputStream openOutputStream(File f,
boolean append)
throws IOException
- Throws:
IOException
openOutputStream
FileOutputStream openOutputStream(File f)
throws IOException
- Throws:
IOException
mkdir
boolean mkdir(File f)
throws IOException
- Throws:
IOException
openRandomAccess
RandomAccessFile openRandomAccess(File f,
String mode)
throws IOException
- Throws:
IOException
delete
void delete(File f)
throws IOException
- Delete the given file.
- Throws:
IOException
copy
void copy(File source,
File dest)
throws IOException
- Throws:
IOException
rename
void rename(File source,
File dest)
throws IOException
- Throws:
IOException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.