org.jext.dawn.string
Class TokenizeDelimFunction

java.lang.Object
  extended by org.jext.dawn.Function
      extended by org.jext.dawn.string.TokenizeDelimFunction

public class TokenizeDelimFunction
extends Function

Tokenizes a string using a specified set of delimiters.
Usage:
string delims tokenize
It then returns a string per token and the number of tokens on the top of the stack.

Author:
Romain Guy

Constructor Summary
TokenizeDelimFunction()
           
 
Method Summary
 void invoke(DawnParser parser)
          Executes the function.
 
Methods inherited from class org.jext.dawn.Function
getHelp, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenizeDelimFunction

public TokenizeDelimFunction()
Method Detail

invoke

public void invoke(DawnParser parser)
            throws DawnRuntimeException
Description copied from class: Function
Executes the function. Usually, the function should make use of the DawnParser given as parameter.

Overrides:
invoke in class Function
Parameters:
parser - The DawnParser which inoked the function
Throws:
DawnRuntimeException


Copyright ? 2002 Romain Guy.