org.globus.ftp.dc
Class AsciiTranslator
java.lang.Object
org.globus.ftp.dc.AsciiTranslator
- public class AsciiTranslator
- extends Object
Constructor Summary |
AsciiTranslator(boolean rnSep,
boolean nSep)
Output tokens with system specific line separators |
AsciiTranslator(boolean rnSep,
boolean nSep,
byte[] lineSeparator)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRLF
public static final byte[] CRLF
possibleBreak
protected boolean possibleBreak
rnSep
protected boolean rnSep
nSep
protected boolean nSep
lineSep
protected byte[] lineSep
systemLineSep
protected static byte[] systemLineSep
AsciiTranslator
public AsciiTranslator(boolean rnSep,
boolean nSep)
- Output tokens with system specific line separators
AsciiTranslator
public AsciiTranslator(boolean rnSep,
boolean nSep,
byte[] lineSeparator)
translate
public Buffer translate(Buffer buffer)