com.ontimize.util.remote
Interface RemoteFileSaver
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- RemoteFileSaver_Impl
- public interface RemoteFileSaver
- extends java.rmi.Remote
|
Method Summary |
void |
appendToFile(BytesBlock byteBlock,
java.lang.String name)
|
void |
deleteFile(java.lang.String name)
Delete the specified file |
java.lang.Object |
loadFile(java.lang.String fileName,
int offset)
|
void |
saveFile(BytesBlock byteBlock,
java.lang.String name)
Saves the bytes in the BytesBlock object in the specified file |
saveFile
public void saveFile(BytesBlock byteBlock,
java.lang.String name)
throws java.lang.Exception
- Saves the bytes in the BytesBlock object in the specified file
- Parameters:
byteBlock - Object with the bytes to savename - Name of the file (It depends of the implementation)
- Throws:
java.lang.Exception- See Also:
{@link RemoteFileSaver_Impl}
appendToFile
public void appendToFile(BytesBlock byteBlock,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteFile
public void deleteFile(java.lang.String name)
throws java.lang.Exception
- Delete the specified file
- Parameters:
name - Name of the file to delete
- Throws:
java.lang.Exception
loadFile
public java.lang.Object loadFile(java.lang.String fileName,
int offset)
throws java.lang.Exception
- Throws:
java.lang.Exception