Class JRClauseTokens

    • Constructor Detail

      • JRClauseTokens

        public JRClauseTokens​(String[] tokens)
        Wraps an array of tokens.
        Parameters:
        tokens - the tokens
    • Method Detail

      • getClauseId

        public String getClauseId()
        Returns the clause Id, which is the first token in the clause.
        Returns:
        the clause Id
      • getToken

        public String getToken​(int position)
        Returns a token at a specified position.

        If the specified position is greater than the number of tokens or the token is empty, the method returns null.

        Parameters:
        position - the position
        Returns:
        the token at the specified position