|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ApplicationFile<T>
This class represents an Application File. This files represent objects that
can be opened in an application.
Date: Jun 9, 2002
| Method Summary | |
|---|---|
T |
getData()
Get the object that contains the data for this file |
java.io.File |
getFile()
Get the java.io.File that this object is bound too |
java.lang.String |
getName()
|
boolean |
hasFile()
|
boolean |
isModified()
Is this file modified, ie/ it needs saving. |
void |
setData(T data)
|
void |
setFile(java.io.File file)
Set the java.io.File that this object is bound too |
void |
setModified(boolean modified)
Sets the modifed flag on this file |
void |
setUseFullPathForName(boolean useFullPath)
|
| Method Detail |
|---|
java.io.File getFile()
void setFile(java.io.File file)
file - boolean hasFile()
java.lang.String getName()
void setUseFullPathForName(boolean useFullPath)
useFullPath - - true to use the files full path for this files nameT getData()
void setData(T data)
data - boolean isModified()
void setModified(boolean modified)
modified -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||