org.globus.ftp.dc
Class AsciiTranslator

java.lang.Object
  extended byorg.globus.ftp.dc.AsciiTranslator

public class AsciiTranslator
extends Object


Field Summary
static byte[] CRLF
           
protected  byte[] lineSep
           
protected  boolean nSep
           
protected  boolean possibleBreak
           
protected  boolean rnSep
           
protected static byte[] systemLineSep
           
 
Constructor Summary
AsciiTranslator(boolean rnSep, boolean nSep)
          Output tokens with system specific line separators
AsciiTranslator(boolean rnSep, boolean nSep, byte[] lineSeparator)
           
 
Method Summary
 Buffer translate(Buffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AsciiTranslator

public AsciiTranslator(boolean rnSep,
                       boolean nSep)
Output tokens with system specific line separators


AsciiTranslator

public AsciiTranslator(boolean rnSep,
                       boolean nSep,
                       byte[] lineSeparator)
Method Detail

translate

public Buffer translate(Buffer buffer)