|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.mina.filter.codec.textline.LineDelimiter
public class LineDelimiter
A delimiter which is appended to the end of a text line, such as CR/LF.
| Field Summary | |
|---|---|
static LineDelimiter |
AUTO
A special line delimiter which is used for auto-detection of EOL in TextLineDecoder. |
static LineDelimiter |
DEFAULT
the line delimiter constant of the current O/S. |
static LineDelimiter |
MAC
The line delimiter constant of Mac OS ("\r") |
static LineDelimiter |
UNIX
The line delimiter constant of UNIX ("\n") |
static LineDelimiter |
WINDOWS
The line delimiter constant of MS Windows/DOS ("\r\n") |
| Constructor Summary | |
|---|---|
LineDelimiter(java.lang.String value)
Creates a new line delimiter with the specified value. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getValue()
Return the delimiter string. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final LineDelimiter DEFAULT
public static final LineDelimiter AUTO
TextLineDecoder. If this delimiter is used,
TextLineDecoder will consider both '\r' and
'\n' as a delimiter.
public static final LineDelimiter UNIX
public static final LineDelimiter WINDOWS
public static final LineDelimiter MAC
| Constructor Detail |
|---|
public LineDelimiter(java.lang.String value)
| Method Detail |
|---|
public java.lang.String getValue()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||