|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.redcarton.photonotes.PhotoNote
| Constructor Summary | |
PhotoNote()
|
|
| Method Summary | |
boolean |
canWrite()
Checks whether the note's file location can be written to. |
boolean |
delete()
Deletes the note file. |
boolean |
exists()
Checks whether the note exists in a file or not. |
java.lang.String |
getText()
Returns the note's text. |
boolean |
setFile(java.io.File file)
Sets the file that contains the note. |
boolean |
setText(java.lang.String text)
Sets the note's text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PhotoNote()
| Method Detail |
public java.lang.String getText()
public boolean canWrite()
true if the file location can be written to,
false if it cannotpublic boolean exists()
true if the note exists,
false if it does notpublic boolean delete()
true if the note was successfully deleted,
false if it is notpublic boolean setFile(java.io.File file)
file - The file to set
true if the file was successfully set,
false if it is notpublic boolean setText(java.lang.String text)
text - The text to set
true if the text was successfully set,
false if it is not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||