intradoc.common
Class EncodingCheckWriter
java.lang.Object
|
+--java.io.Writer
|
+--java.io.FilterWriter
|
+--intradoc.common.EncodingCheckWriter
- public class EncodingCheckWriter
- extends java.io.FilterWriter
| Fields inherited from class java.io.FilterWriter |
out |
| Fields inherited from class java.io.Writer |
lock |
|
Constructor Summary |
EncodingCheckWriter(java.io.Writer writer,
java.lang.String encoding,
boolean doFail)
|
|
Method Summary |
void |
init()
|
protected void |
reportFailure()
|
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
void |
write(java.lang.String str,
int off,
int len)
|
| Methods inherited from class java.io.FilterWriter |
close, flush |
| Methods inherited from class java.io.Writer |
write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_encoding
protected java.lang.String m_encoding
m_reader
protected java.io.Reader m_reader
m_writer
protected java.io.Writer m_writer
m_buf
protected char[] m_buf
m_isInitialized
protected boolean m_isInitialized
m_doFail
protected boolean m_doFail
EncodingCheckWriter
public EncodingCheckWriter(java.io.Writer writer,
java.lang.String encoding,
boolean doFail)
init
public void init()
throws java.io.IOException
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Overrides:
write in class java.io.FilterWriter
java.io.IOException
write
public void write(int c)
throws java.io.IOException
- Overrides:
write in class java.io.FilterWriter
java.io.IOException
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Overrides:
write in class java.io.FilterWriter
java.io.IOException
reportFailure
protected void reportFailure()
throws java.io.IOException
java.io.IOException
(c) 1996-2005 All rights reserved. Stellent, Inc. |