|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBuffer
This interface defines the operations available on a buffer.
Method Summary | |
---|---|
void |
delete()
Delete the buffer. |
boolean |
hasBeenModified()
Test if the buffer has been modified. |
boolean |
hasFile(IFile file)
Test if the given file is handled by the buffer. |
void |
open(IFile file)
Open the given file. |
boolean |
save()
Save the file. |
void |
save(IFile file)
Save into the given file. |
Methods inherited from interface palmed.io.ISerializable |
---|
marshall, unmarshall |
Method Detail |
---|
void open(IFile file)
file
- the file to read fromboolean save()
This operation must fail if no file is associated to the buffer.
void save(IFile file)
file
- the file to write intoboolean hasBeenModified()
boolean hasFile(IFile file)
file
- the file
void delete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |