|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.util.Platform.EOL
public static final class Platform.EOL
The end-of-line sequence on different platforms
| Field Summary | |
|---|---|
static Platform.EOL[] |
ALL
All legal EOL format values. |
static Platform.EOL |
CR
Carriage-return end-of-line sequence (i.e., "\r"). |
static Platform.EOL |
CRLF
Carriage-return + Line-feed end-of-line sequence (i.e., "\r\n"). |
static Platform.EOL |
LF
Line-feed end-of-line sequence (i.e., "\n"). |
static Platform.EOL |
MAC
End of line sequence commonly used on the MacIntosh. |
static Platform.EOL |
UNIX
End of line sequence commonly used on Unix/Linux/Solaris. |
static Platform.EOL |
UNKNOWN
The end-of-line sequence has not been determined. |
static Platform.EOL |
WINDOWS
End of line sequence commonly used on Windows. |
| Method Summary | |
|---|---|
static Platform.EOL |
fromEOL(java.lang.String eol)
Determines the EOL whose end-of-line character sequence matches the given one. |
static Platform.EOL |
fromID(int id)
Gets the end-of-line sequence value corresponding to the given ID. |
java.lang.String |
getEOL()
Gets the actual end-of-line character sequence for this EOLFormat. |
int |
getID()
The ID of the corresponding end of line sequence. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Platform.EOL UNKNOWN
public static final Platform.EOL CR
public static final Platform.EOL LF
public static final Platform.EOL CRLF
public static final Platform.EOL WINDOWS
Platform.EOL.CRLFpublic static final Platform.EOL UNIX
Platform.EOL.LFpublic static final Platform.EOL MAC
Platform.EOL.LFpublic static final Platform.EOL[] ALL
| Method Detail |
|---|
public int getID()
public java.lang.String getEOL()
public static Platform.EOL fromID(int id)
id - The ID of an end of line sequence.
public static Platform.EOL fromEOL(java.lang.String eol)
eol - String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||