wonderly.jeaprs.aprs.packet
Class FieldedStringTokenizer
java.lang.Object
|
+--wonderly.jeaprs.aprs.packet.FieldedStringTokenizer
- public class FieldedStringTokenizer
- extends java.lang.Object
This class behaves largely like java.util.StringTokenizer with one noted
exception. It does not span separators! Thus, a string such as
123123,,,,212,,929
will return 7 fields, 4 of which will be 0 length strings.
- Version:
- 1.0
- Author:
- Gregg Wonderly -
The information contained in this document is Copyright 2001-2003,
Gregg Wonderly, all rights reserved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldedStringTokenizer
public FieldedStringTokenizer(java.lang.String str,
char sep)
nextElement
public java.lang.Object nextElement()
nextToken
public java.lang.String nextToken()
hasMoreElements
public boolean hasMoreElements()
hasMoreTokens
public boolean hasMoreTokens()