com.moesol.generator.core
Class JniMangleFilterWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.FilterWriter
          extended by com.moesol.generator.core.JniMangleFilterWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class JniMangleFilterWriter
extends FilterWriter

Filters the outgoing characters so that they can appear as C identifiers, per the JNI specification.


Field Summary
 
Fields inherited from class java.io.FilterWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
JniMangleFilterWriter(Writer out)
           
 
Method Summary
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(String str, int off, int len)
           
 
Methods inherited from class java.io.FilterWriter
close, flush
 
Methods inherited from class java.io.Writer
append, append, append, append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JniMangleFilterWriter

public JniMangleFilterWriter(Writer out)
Method Detail

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(String str,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(int c)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.