StringTokenizer Class |
Namespace: NetQuarry
The StringTokenizer type exposes the following members.
Name | Description | |
---|---|---|
StringTokenizer(String) |
Constructs a string tokenizer for the specified string using the default delimiters.
| |
StringTokenizer(String, Char) |
Constructs a string tokenizer for the specified string using the given delimiters.
| |
StringTokenizer(String, String) |
Constructs a string tokenizer for the specified string using the given delimiters.
| |
StringTokenizer(String, String, Boolean) |
Constructs a string tokenizer for the specified string using the given delimiters and optionally returning them as tokens.
| |
StringTokenizer(String, String, Boolean, Boolean) |
Constructs a string tokenizer for the specified string using the given delimiters,
optionally returning them as tokens. Also empty tokens may be returned using the String.Empty string.
| |
StringTokenizer(String, String, Boolean, Boolean, String) |
Constructs a string tokenizer for the specified string using the given delimiters,
optionally returning them as tokens. Also empty tokens may be returned using the empty string.
|
Name | Description | |
---|---|---|
Count |
Gets the total number of tokens extracted.
| |
CountTokens |
Counts the remaining tokens - the number of times the
NextToken property can be used before it throws an exception.
| |
EmptyString |
Gets the currently set string for empty tokens.
| |
HasMoreTokens |
Tests if there are more tokens available from this tokenizer's string.
If this method returns true, then a subsequent
use of the NextToken property will successfully return a token.
| |
Item |
Gets the token with the specified index from the tokenizer without moving the current position index.
| |
NextToken |
Gets the next token.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Resets the current position index so that the tokens can be extracted again.
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
DefaultDelimiters |
String conatining the default set of delimiters which are " \t\n\r\f":
the space character, the tab character, the newline character, the carriage-return character, and the form-feed character.
|
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |