| java.lang.Object java.io.OutputStream org.drftpd.io.AddAsciiOutputStream
AddAsciiOutputStream | public class AddAsciiOutputStream extends OutputStream (Code) | | AddAsciiOutputStream that ensures that there's an \r before every \n.
author: Rana Bhattacharyya version: $Id: AddAsciiOutputStream.java 1513 2006-10-13 22:41:08Z tdsoul $ |
Method Summary | |
public void | close() | public void | flush() | public void | write(int i) Write a single byte.
ASCII characters are defined to be
the lower half of an eight-bit code set (i.e., the most
significant bit is zero). |
AddAsciiOutputStream | public AddAsciiOutputStream(OutputStream os)(Code) | | Constructor.
Parameters: os - java.io.OutputStream to be filtered. |
write | public void write(int i) throws IOException(Code) | | Write a single byte.
ASCII characters are defined to be
the lower half of an eight-bit code set (i.e., the most
significant bit is zero). Change "\n" to "\r\n".
|
|
|