public final class TAMEJSExporter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RESOURCE_PREFIX
Prefix for paths in the classpath.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
export(java.io.File file,
TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module with default options.
|
static void |
export(java.io.File file,
TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
export(java.io.OutputStream out,
TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
export(java.io.OutputStream out,
TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
export(java.io.Writer writer,
TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module.
|
static void |
export(java.io.Writer writer,
TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
static java.lang.String |
exportToString(TAMEModule module)
Exports a TAME Module to a stand-alone JavaScript module with default options.
|
static java.lang.String |
exportToString(TAMEModule module,
TAMEJSExporterOptions options)
Exports a TAME Module to a stand-alone JavaScript module.
|
public static final java.lang.String RESOURCE_PREFIX
public static java.lang.String exportToString(TAMEModule module) throws java.io.IOException
module - the module to export.java.io.IOException - if a write error occurs.public static java.lang.String exportToString(TAMEModule module, TAMEJSExporterOptions options) throws java.io.IOException
module - the module to export.options - the exporter options.java.io.IOException - if a write error occurs.public static void export(java.io.File file,
TAMEModule module)
throws java.io.IOException
file - the output file.module - the module to export.java.io.IOException - if a write error occurs.public static void export(java.io.File file,
TAMEModule module,
TAMEJSExporterOptions options)
throws java.io.IOException
file - the output file.module - the module to export.options - the exporter options.java.io.IOException - if a write error occurs.public static void export(java.io.OutputStream out,
TAMEModule module)
throws java.io.IOException
out - the output stream.module - the module to export.java.io.IOException - if a write error occurs.public static void export(java.io.OutputStream out,
TAMEModule module,
TAMEJSExporterOptions options)
throws java.io.IOException
out - the output stream.module - the module to export.options - the exporter options.java.io.IOException - if a write error occurs.public static void export(java.io.Writer writer,
TAMEModule module)
throws java.io.IOException
writer - the output writer.module - the module to export.java.io.IOException - if a write error occurs.public static void export(java.io.Writer writer,
TAMEModule module,
TAMEJSExporterOptions options)
throws java.io.IOException
writer - the output writer.module - the module to export.options - the exporter options.java.io.IOException - if a write error occurs.