ch.randelshofer.cubetwister
Class HTMLExporter
java.lang.Object
ch.randelshofer.cubetwister.HTMLExporter
- All Implemented Interfaces:
- Exporter
public class HTMLExporter
- extends java.lang.Object
- implements Exporter
HTMLExporter exports a CubeTwister document to a directory.
- Version:
- 2.3.1 2010-11-06 Removes unused main method.
2.3 2010-02-08 Show more information about progress. Only export
applets which are needed by the document. Compress the resources.xml file.
2.2.1 2009-01-25 Fixed NPE in method htmlencode.
2.2 2009-01-08 If a file already exists, but does not have the
right case, delete it instead of just overwriting its contents.
2.1 2009-01-07 Added support for script.scriptType attribute.
2.0 2008-12-25 The "htmltemplates" resource is now compressed
as tar.bz instead of as .zip. The "htmltemplates" does now contain only
pack200-compressed java applets - the jar files of the applets need to
be generated from them.
1.0 5. August 2007 Created.
- Author:
- Werner Randelshofer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLExporter
public HTMLExporter()
- Creates a new instance.
exportToDirectory
public void exportToDirectory(java.lang.String documentName,
DocumentModel model,
java.io.File dir,
ProgressObserver p)
throws java.io.IOException
- Throws:
java.io.IOException
exportToZipFile
public void exportToZipFile(java.lang.String documentName,
DocumentModel model,
java.io.File zipFile,
ProgressObserver p)
throws java.io.IOException
- Throws:
java.io.IOException