|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.apache.ftpserver.util.AsciiOutputStream
public class AsciiOutputStream
Write ASCII data. Before writing it filters the data.
Constructor Summary | |
---|---|
AsciiOutputStream(OutputStream os)
Constructor. |
Method Summary | |
---|---|
void |
close()
Close stream |
void |
flush()
Flush stream data |
long |
getByteWritten()
Get actual byte written. |
boolean |
getIsIgnoreNonAscii()
Is non ascii character ignored. |
void |
setIsIgnoreNonAscii(boolean ig)
Set non-ascii ignore boolean value. |
void |
write(int i)
Write a single byte. |
Methods inherited from class java.io.OutputStream |
---|
write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsciiOutputStream(OutputStream os)
os
- java.io.OutputStream
to be filtered.Method Detail |
---|
public void write(int i) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public long getByteWritten()
public boolean getIsIgnoreNonAscii()
public void setIsIgnoreNonAscii(boolean ig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |