|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Dispatcher for loading/saving geometries and images from/to file. Depending on the file name extension the appropriate filter is invoked.
| Method Summary | |
PvDisplayOption |
getDisplayOption()
Get display options which some parsers and geometry file formats supply. |
boolean |
isAnimation()
Determine if currently loaded data is an animation. |
PgJvxSrc[] |
read(java.io.BufferedReader in)
Read a geometry file and return an array of new geometries. |
void |
setAnimation(boolean flag)
Set flag whether current geometry data is an animation. |
void |
setDisplayOption(PvDisplayOption option)
Set the display options to be saved within the geometry file. |
boolean |
write(java.io.Writer writer,
PgJvxSrc[] geom)
Write an array of geometries into an output stream writer. |
| Method Detail |
public PgJvxSrc[] read(java.io.BufferedReader in)
The returned array of geometry may contain keyframes of
an animation. This is checked with the method isAnimation().
in - BufferedReader to read textual data from.#write(Writer)
public boolean write(java.io.Writer writer,
PgJvxSrc[] geom)
throws java.io.IOException
writer - Write all data to this streamgeom - Array with geometries to savetrue on success.#read(PgGeometry [], BufferedReader)public PvDisplayOption getDisplayOption()
public void setDisplayOption(PvDisplayOption option)
public boolean isAnimation()
public void setAnimation(boolean flag)
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||