![]() ![]() Int dstBegin) Copies characters from this string into the destination characterĪrray. Throws: - if the indexĪrgument is negative or not less than the length of this Returns: the character at the specified index of this string. Parameters: index - the index of the character. Of the sequence is at index 0, the next at indexġ, and so on, as for array indexing. Public char charAt(int index) Returns the character at the specified index. Returns: the length of the sequence of characters represented by this Public int length() Returns the length of this string. Parameters: trimHead - Trim leading whitespace? trimTail - Trim trailing whitespace? doublePunctuationSpaces - Use double spaces for punctuation? Returns: The trimmed string. Results, the formatter should probably do it's own white space handlingīased on the semantics of the formatting object. This function may be useful to a formatter, but to get first class Receive double spaces if doublePunctuationSpaces is true. Replaced by a single space character (#x20), except spaces after punctuation which Public XMLString fixWhiteSpace(boolean trimHead,īoolean doublePunctuationSpaces) Conditionally trim all leading and trailing whitespace in the specified String. Parameters: lh - A non-null reference to a LexicalHandler. Public void dispatchAsComment( LexicalHandler lh) Parameters: ch - A non-null reference to a ContentHandler. Public void dispatchCharactersEvents( ContentHandler ch)ĬontentHandler's characters methods may well occur for a single call to Removes white space from both ends of this string. This object (which is already a string!) is itself returned.Ĭonverts all of the characters in this String to upperĬase using the rules of the given locale. Returns a new string that is a substring of this string.Ĭonvert a string to a double - Allowed input is in fixedĬonverts all of the characters in this String to lowerĬase using the rules of the default locale, which is returnedĬase using the rules of the given Locale. Tests if this string starts with the specified prefix beginning ![]() Tests if this string starts with the specified prefix. Returns the index within this string of the last occurrence of Returns the index within this string of the rightmost occurrence Specified character, searching backward starting at the specified Returns the index within this string of the last occurrence of the Specified substring, starting at the specified index. Specified character, starting the search at the specified index. Returns the index within this string of the first occurrence of the Tell if this object contains a java String object. Tests if this string ends with the specified suffix.Ĭompares this string to the specified object.Ĭompares this string to the specified String.ĮqualsIgnoreCase( anotherString)Ĭonditionally trim all leading and trailing whitespace in the specified String.Ĭopies characters from this string into the destination character ![]() Returns the character at the specified index.Ĭompares two strings lexicographically, ignoring case considerations.Ĭoncatenates the specified string to the end of this string.Ĭomment method on the passed LexicalHandler for theĭispatchCharactersEvents( ContentHandler ch)Ĭharacters method on the passed ContentHandler for the By using XMLString, character copies can be reduced This class is meant to be an interface to character strings, whether theyīe java Strings or .FastStringBuffers, or Interface XMLString All Known Implementing Classes: XMLStringDefault, XString ![]()
0 Comments
Leave a Reply. |