org.apache.jasper.compiler
Class EscapeUnicodeWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--org.apache.jasper.compiler.EscapeUnicodeWriter

public class EscapeUnicodeWriter
extends java.io.Writer

Used to escape unicode characters with \ u's.

Author:
Anselm Baird-Smith

Constructor Summary
EscapeUnicodeWriter(java.io.OutputStream out)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] buf, int off, int len)
           
 
Methods inherited from class java.io.Writer
write, write, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EscapeUnicodeWriter

public EscapeUnicodeWriter(java.io.OutputStream out)
Method Detail

write

public void write(char[] buf,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.Writer

flush

public void flush()
           throws java.io.IOException
Overrides:
flush in class java.io.Writer

close

public void close()
           throws java.io.IOException
Overrides:
close in class java.io.Writer


Copyright © 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.