public final class LineSeparator
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static LineSeparator |
DEFAULT
The default line separator in the current system.
|
static LineSeparator |
UNIX
The Unix line separator(LF)
|
static LineSeparator |
WINDOWS
The Windows line separator(CRLF)
|
| 构造器和说明 |
|---|
LineSeparator(java.lang.String lineSeparator)
Create
LineSeparator with the specified lineSeparator string. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString()
Return a hex dump of the line separator in UTF-8 encoding.
|
java.lang.String |
value()
Return the string value of this line separator.
|
public static final LineSeparator DEFAULT
public static final LineSeparator UNIX
public static final LineSeparator WINDOWS
public LineSeparator(java.lang.String lineSeparator)
LineSeparator with the specified lineSeparator string.public java.lang.String value()
public boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Object