|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.util.QuotedString
Static convenience class for parsing various types of quoted strings.
Constructor Summary | |
QuotedString()
|
Method Summary | |
static java.lang.String |
parseCString(char[] c)
Parse a C style quoted string. |
static java.lang.String |
parseCString(char[] c,
int offset)
Parse a C style quoted string. |
static java.lang.String |
parseCString(java.lang.String s)
Parse a C style quoted string. |
static java.lang.String |
parseCString(java.lang.String s,
int offset)
Parse a C style quoted string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuotedString()
Method Detail |
public static final java.lang.String parseCString(java.lang.String s)
ddd
" is
converted to the character represented by the octal value
ddd
.
s
- The string from which the quoted string is to be
parsed.
public static final java.lang.String parseCString(java.lang.String s, int offset)
ddd
" is
converted to the character represented by the octal value
ddd
.
s
- The string from which the quoted string is to be
parsed.offset
- The index into the string at which parsing is
to begin.
public static final java.lang.String parseCString(char[] c)
ddd
" is
converted to the character represented by the octal value
ddd
.
c
- The character array from which the quoted string
is to be parsed.
public static final java.lang.String parseCString(char[] c, int offset)
ddd
" is
converted to the character represented by the octal value
ddd
.
c
- The character array from which the quoted string
is to be parsed.offset
- The index into the string at which parsing is
to begin.
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |