Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jext.dawn.string
Class TokenizeFunction  view TokenizeFunction download TokenizeFunction.java

java.lang.Object
  extended byorg.jext.dawn.Function
      extended byorg.jext.dawn.string.TokenizeFunction

public class TokenizeFunction
extends org.jext.dawn.Function

Tokenizes a string using a set of default delimiters: "\n \r\f\t"
Usage:
string tokenize
It then returns a string per token and the number of tokens on the top of the stack.


Field Summary
 
Fields inherited from class org.jext.dawn.Function
 
Constructor Summary
TokenizeFunction()
           
 
Method Summary
 void invoke(org.jext.dawn.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

TokenizeFunction

public TokenizeFunction()
Method Detail

invoke

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