|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.components.serializers.encoding.AbstractCharset
org.apache.cocoon.components.serializers.encoding.CompiledCharset
org.apache.cocoon.components.serializers.encoding.Compiler
public class Compiler
Field Summary |
---|
Fields inherited from class org.apache.cocoon.components.serializers.encoding.CompiledCharset |
---|
encoding |
Method Summary | |
---|---|
protected boolean |
compile(char c)
Return true or false wether this encoding can encode the specified character or not. |
static void |
main(String[] args)
Compile all java.nio.charset.Charset classes and generate
the main holding encodings table. |
static Compiler |
process(Charset charset)
Process a NIO Charset producing a java source file. |
void |
save()
Save this Charset into a Java source file. |
void |
save(File directory)
Save this Charset into a Java source file. |
void |
save(OutputStream stream)
Save this Charset as a Java source file to the specified
OutputStream . |
Methods inherited from class org.apache.cocoon.components.serializers.encoding.CompiledCharset |
---|
allows, compile |
Methods inherited from class org.apache.cocoon.components.serializers.encoding.AbstractCharset |
---|
equals, equals, getAliases, getName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected boolean compile(char c)
This method is equivalent to the allows(...)
method, but
it will be called upon construction of the encoding table.
compile
in class CompiledCharset
public void save() throws IOException
Charset
into a Java source file.
IOException
public void save(File directory) throws IOException
Charset
into a Java source file.
IOException
public void save(OutputStream stream) throws IOException
Charset
as a Java source file to the specified
OutputStream
.
IOException
public static Compiler process(Charset charset) throws IOException
Charset
producing a java source file.
IOException
public static void main(String[] args) throws IOException
java.nio.charset.Charset
classes and generate
the main holding encodings table.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |