JavaView© v3.95.000

jv.loader
Class PgHtmlLoader

java.lang.Object
  extended byjv.loader.PgHtmlLoader

public final class PgHtmlLoader
extends java.lang.Object

Export filter save geometries as applets in an Html file.


Constructor Summary
PgHtmlLoader()
           
 
Method Summary
static PsXmlSrc write(java.lang.String jvxFile, java.lang.String jvdFile, int width, int height)
          Write an Html file as XML tree which shows a JVX file in an applet.
static boolean write(java.io.Writer writer, java.lang.String jvxFile, java.lang.String jvdFile, int width, int height)
          Write an Html file which displays a JVX file in an applet.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PgHtmlLoader

public PgHtmlLoader()
Method Detail

write

public static boolean write(java.io.Writer writer,
                            java.lang.String jvxFile,
                            java.lang.String jvdFile,
                            int width,
                            int height)
                     throws java.io.IOException
Write an Html file which displays a JVX file in an applet.

Parameters:
jvxFile - Name of JVX geometry file to be loaded by the applet, without path information.
jvdFile - Name of JVD display file to be loaded by the applet, without path information.
width - width of applet
height - height of applet
Returns:
true on success.
Throws:
java.io.IOException
See Also:
write(String, String, int, int)

write

public static PsXmlSrc write(java.lang.String jvxFile,
                             java.lang.String jvdFile,
                             int width,
                             int height)
Write an Html file as XML tree which shows a JVX file in an applet. The returned XML tree can be written to a file using PsXmlLoader.

Parameters:
jvxFile - Name of JVX geometry file to be loaded by the applet, without path information.
jvdFile - Name of JVD display file to be loaded by the applet, without path information.
width - width of applet
height - height of applet
Returns:
filled XHTML tree.

JavaView© v3.95.000

The software JavaView© is copyright protected. All Rights Reserved.