StreamTokenizer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The StreamTokenizer class takes an input stream and
parses it into "tokens", allowing the tokens to be
read one at a time.
[Android.Runtime.Register("java/io/StreamTokenizer", DoNotGenerateAcw=true)]
public class StreamTokenizer : Java.Lang.Object
[<Android.Runtime.Register("java/io/StreamTokenizer", DoNotGenerateAcw=true)>]
type StreamTokenizer = class
inherit Object
- Inheritance
- Attributes
Remarks
Java documentation for java.io.StreamTokenizer.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
| StreamTokenizer(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| StreamTokenizer(Reader) |
Create a tokenizer that parses the given character stream. |
| StreamTokenizer(Stream) |
Obsolete.
Creates a stream tokenizer that parses the specified input stream. |
Fields
| TtEof |
Obsolete.
A constant indicating that the end of the stream has been read. |
| TtEol |
Obsolete.
A constant indicating that the end of the line has been read. |
| TtNumber |
Obsolete.
A constant indicating that a number token has been read. |
| TtWord |
Obsolete.
A constant indicating that a word token has been read. |
Properties
| Class |
Returns the runtime class of this |
| Handle |
The handle to the underlying Android instance. (Inherited from Object) |
| JniIdentityHashCode | (Inherited from Object) |
| JniPeerMembers | |
| Nval |
If the current token is a number, this field contains the value of that number. |
| PeerReference | (Inherited from Object) |
| Sval |
If the current token is a word token, this field contains a string giving the characters of the word token. |
| ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
| ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
| Ttype |
After a call to the |
Methods
| Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
| CommentChar(Int32) |
Specified that the character argument starts a single-line comment. |
| Dispose() | (Inherited from Object) |
| Dispose(Boolean) | (Inherited from Object) |
| EolIsSignificant(Boolean) |
Determines whether or not ends of line are treated as tokens. |
| Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
| GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
| JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
| Lineno() |
Return the current line number. |
| LowerCaseMode(Boolean) |
Determines whether or not word token are automatically lowercased. |
| NextToken() |
Parses the next token from the input stream of this tokenizer. |
| Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
| NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
| OrdinaryChar(Int32) |
Specifies that the character argument is "ordinary" in this tokenizer. |
| OrdinaryChars(Int32, Int32) |
Specifies that all characters c in the range <code>low <= c <= high</code> are "ordinary" in this tokenizer. |
| ParseNumbers() |
Specifies that numbers should be parsed by this tokenizer. |
| PushBack() |
Causes the next call to the |
| QuoteChar(Int32) |
Specifies that matching pairs of this character delimit string constants in this tokenizer. |
| ResetSyntax() |
Resets this tokenizer's syntax table so that all characters are "ordinary. |
| SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
| SlashSlashComments(Boolean) |
Determines whether or not the tokenizer recognizes C++-style comments. |
| SlashStarComments(Boolean) |
Determines whether or not the tokenizer recognizes C-style comments. |
| ToArray<T>() | (Inherited from Object) |
| ToString() |
Returns a string representation of the object. (Inherited from Object) |
| UnregisterFromRuntime() | (Inherited from Object) |
| Wait() |
Causes the current thread to wait until another thread invokes the
|
| Wait(Int64) |
Causes the current thread to wait until either another thread invokes the
|
| Wait(Int64, Int32) |
Causes the current thread to wait until another thread invokes the
|
| WhitespaceChars(Int32, Int32) |
Specifies that all characters c in the range <code>low <= c <= high</code> are white space characters. |
| WordChars(Int32, Int32) |
Specifies that all characters c in the range <code>low <= c <= high</code> are word constituents. |
Explicit Interface Implementations
| IJavaPeerable.Disposed() | (Inherited from Object) |
| IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
| IJavaPeerable.Finalized() | (Inherited from Object) |
| IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
| IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
| IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) | |
| GetJniTypeName(IJavaPeerable) | |