gov.nist.core
クラス StringTokenizer

java.lang.Object
  上位を拡張 gov.nist.core.StringTokenizer
直系の既知のサブクラス:
LexerCore

public class StringTokenizer
extends java.lang.Object

Base string token splitter.

バージョン:
JAIN-SIP-1.1
作成者:
M. Ranganathan
This code is in the public domain.

コンストラクタの概要
StringTokenizer()
           
StringTokenizer(java.lang.String buffer)
           
 
メソッドの概要
 void consume()
           
 void consume(int k)
           
 java.lang.String getLine()
           
 java.util.Vector getLines()
          Get a Vector of the buffer tokenized by lines
 char getNextChar()
           
 java.lang.String getNextToken(char delim)
          Get the next token from the buffer.
static java.lang.String getSDPFieldName(java.lang.String line)
          get the SDP field name of the line
 boolean hasMoreChars()
           
static boolean isAlpha(char ch)
           
static boolean isDigit(char ch)
           
static boolean isHexDigit(char ch)
           
 char lookAhead()
           
 char lookAhead(int k)
           
 java.lang.String nextToken()
           
 java.lang.String peekLine()
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StringTokenizer

public StringTokenizer()

StringTokenizer

public StringTokenizer(java.lang.String buffer)
メソッドの詳細

nextToken

public java.lang.String nextToken()

hasMoreChars

public boolean hasMoreChars()

isHexDigit

public static boolean isHexDigit(char ch)

isAlpha

public static boolean isAlpha(char ch)

isDigit

public static boolean isDigit(char ch)

getLine

public java.lang.String getLine()

peekLine

public java.lang.String peekLine()

lookAhead

public char lookAhead()
               throws java.text.ParseException
例外:
java.text.ParseException

lookAhead

public char lookAhead(int k)
               throws java.text.ParseException
例外:
java.text.ParseException

getNextChar

public char getNextChar()
                 throws java.text.ParseException
例外:
java.text.ParseException

consume

public void consume()

consume

public void consume(int k)

getLines

public java.util.Vector getLines()
Get a Vector of the buffer tokenized by lines


getNextToken

public java.lang.String getNextToken(char delim)
                              throws java.text.ParseException
Get the next token from the buffer.

例外:
java.text.ParseException

getSDPFieldName

public static java.lang.String getSDPFieldName(java.lang.String line)
get the SDP field name of the line

戻り値:
String