|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileFormat
Method Summary | |
---|---|
void |
setRelations(ResourceRelation[] relations)
Sets the relations that are to be written to the file. |
void |
setResources(Resource[] resources)
Sets the resources that are to be written to the file. |
boolean |
writeFile(java.lang.String filename)
Writes the data set by setResources and setRelations to a file that's in a format that the implementing class supports. |
Method Detail |
---|
void setResources(Resource[] resources)
resources
- The resources that are to be written to the file. The implementing method
should replace the possibly previously set resources instead of adding
new ones to the previous array.void setRelations(ResourceRelation[] relations)
relations
- The relations that are to be written to the file. The implementing method
should replace the possibly previously set relations instead of adding
new ones to the previous array.boolean writeFile(java.lang.String filename)
filename
- the full path and name of the file to write the data to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |