psdi.workflow

Class CommaSeparatedTokenizer

  • java.lang.Object
    • psdi.workflow.CommaSeparatedTokenizer


  • public class CommaSeparatedTokenizer
    extends java.lang.Object
    Returns string tokens from a comma separated string. If no text occurs between two commas, the empty string is returned.
    See Also:
    This class doesn't work because it doesn't return anything for two succeding commas.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CommaSeparatedTokenizer(java.lang.String text)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean hasMoreTokens()
      Is there another token?
      java.lang.String nextToken()
      Get the next token
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommaSeparatedTokenizer

        public CommaSeparatedTokenizer(java.lang.String text)
        Constructor
    • Method Detail

      • hasMoreTokens

        public boolean hasMoreTokens()
        Is there another token?
        Returns:
        true if there is another token.
      • nextToken

        public java.lang.String nextToken()
        Get the next token
        Returns:
        the next token or null if there are no more tokens.