info.aduna.gee.publication.tools
Class MetaScript
java.lang.Object
info.aduna.gee.publication.tools.MetaScript
public class MetaScript
- extends Object
Dynamic html support.
|
Method Summary |
static void |
convert(InputStream in,
OutputStream out,
boolean escape,
int metaLevel)
It is an attractive idea to decrease the size of the Resulting
HTML file by reducing the amount of doc.writes. |
static void |
convert(String inFile,
String outFile,
boolean escape)
|
static String |
escape(String line)
|
static String |
escapeMeta(String line)
|
static String |
escapeSingle(char c,
String line,
int begin)
|
static String |
escapeSingles(String line)
|
static String |
escapeSpecial(String line)
|
static void |
insert(OutputStream out,
String fileName,
int metaLevel,
boolean escape)
|
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaScript
public MetaScript()
convert
public static void convert(String inFile,
String outFile,
boolean escape)
throws IOException
- Throws:
IOException
convert
public static void convert(InputStream in,
OutputStream out,
boolean escape,
int metaLevel)
throws IOException
- It is an attractive idea to decrease the size of the Resulting
HTML file by reducing the amount of doc.writes.
Instead of
doc.writeln('part-1');
doc.writeln('part-2');
You do a:
doc.writeln('part-1\npart-2');
Unfortunately, this does NOT work in
Netscape 4.0.3:
doc.writeln('part-1\n//part-2\npart-3');
In the generated document BOTH part-2 and part-3 are considered COMMENT.
Netscape 4.0.5:
.....