jv.loader
Class PgJvxLoader
java.lang.Object
|
+--jv.loader.PgJvxLoader
- public class PgJvxLoader
- extends java.lang.Object
Loader for geometry files given in JavaView's JVX file format.
For details see the webpage on supported file formats.
- Version:
- 30.10.00, 1.30 revised (kp) Merge with 2.00.a3 version, some methods moved to PsXmlLoader.
18.10.00, 1.20 revised (kp) Handling of several arrows added.
09.07.00, 1.10 revised (kp) Print length of lists as informal attribute.
27.03.00, 1.00 created (kp)
- Author:
- Konrad Polthier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PgJvxLoader
public PgJvxLoader()
read
public static PgJvxSrc[] read(java.lang.String fileName)
- Read geometry from file in JavaView JVX format.
- Parameters:
fileName - File or URL to read data from.
read
public static PgJvxSrc[] read(java.io.BufferedReader in)
- Read XML file and fill a new PsJvxSrc class.
- Parameters:
in - BufferedReader to read textual data from.
write
public static boolean write(java.io.Writer writer,
PgJvxSrc[] geom)
- Write all geometries in a XML tree structure of instances of type
PsXmlNode and into a writer.
- Parameters:
writer - Write all data to this streamgeom - Array with geometries to save- Returns:
true on success.- See Also:
write(PgJvxSrc [])
write
public static java.lang.String write(PgJvxSrc[] geom)
- Write all geometries in a XML tree structure of instances of type
PsXmlNode and create a XML formatted string.
- Parameters:
geom - Array with geometries to save- Returns:
- formatted string of xml tree.
- See Also:
write(Writer, PgJvxSrc [])
parseRsrcTree
protected static PgJvxSrc[] parseRsrcTree(PsXmlSrc src)
fillRsrcTree
protected static PsXmlSrc fillRsrcTree(PsXmlSrc src,
PgJvxSrc[] m_geom)
The software JavaView® is copyright protected. All Rights Reserved.