| java.lang.Object com.lutris.util.QuotedString
QuotedString | final public class QuotedString (Code) | | Static convenience class for parsing various types of quoted strings.
|
parseCString | final public static String parseCString(String s)(Code) | | Parse a C style quoted string. If the first character is a quote,
then all characters up to a closing quote or end-of-string are
gathered into a new String. The '\' character has the same
semantics as in C. That is, it literally quotes the next
character. Also, the four character sequence "\ddd " is
converted to the character represented by the octal value
ddd .
Parameters: s - The string from which the quoted string is to beparsed. The parsed, quoted string. |
parseCString | final public static String parseCString(String s, int offset)(Code) | | Parse a C style quoted string. If the first character is a quote,
then all characters up to a closing quote or end-of-string are
gathered into a new String. The '\' character has the same
semantics as in C. That is, it literally quotes the next
character. Also, the four character sequence "\ddd " is
converted to the character represented by the octal value
ddd .
Parameters: s - The string from which the quoted string is to beparsed. Parameters: offset - The index into the string at which parsing is to begin. The parsed, quoted string. |
parseCString | final public static String parseCString(char[] c)(Code) | | Parse a C style quoted string. If the first character is a quote,
then all characters up to a closing quote or end-of-string are
gathered into a new String. The '\' character has the same
semantics as in C. That is, it literally quotes the next
character. Also, the four character sequence "\ddd " is
converted to the character represented by the octal value
ddd .
Parameters: c - The character array from which the quoted stringis to be parsed. The parsed, quoted string. |
parseCString | final public static String parseCString(char[] c, int offset)(Code) | | Parse a C style quoted string. If the first character is a quote,
then all characters up to a closing quote or end-of-string are
gathered into a new String. The '\' character has the same
semantics as in C. That is, it literally quotes the next
character. Also, the four character sequence "\ddd " is
converted to the character represented by the octal value
ddd .
Parameters: c - The character array from which the quoted stringis to be parsed. Parameters: offset - The index into the string at which parsing is to begin. The parsed, quoted string. |
|
|