|
||||||||||
| 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(java.io.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(java.io.OutputStream os)
os - java.io.OutputStream to be filtered.| Method Detail |
|---|
public void write(int i)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic 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 | |||||||||