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