com.groupdocs.search

Interfaces

Classes

Exceptions

com.groupdocs.search

Class WordPattern



  • public class WordPattern
    extends Object

    Represents a word pattern.

    • Constructor Detail

      • WordPattern

        public WordPattern()

        Initializes a new instance of the WordPattern class.

    • Method Detail

      • appendString

        public final void appendString(String text)

        Appends a string to the word pattern.

        Parameters:
        text - The string to append.
      • appendCharacter

        public final void appendCharacter(char character)

        Appends a character to the word pattern.

        Parameters:
        character - The character to append.
      • appendOneCharacterWildcard

        public final void appendOneCharacterWildcard()

        Appends one character wildcard to the word pattern.

      • appendZeroOrOneCharacterWildcard

        public final void appendZeroOrOneCharacterWildcard()

        Appends zero or one character wildcard to the word pattern.

      • appendZeroOrMoreCharactersWildcard

        public final void appendZeroOrMoreCharactersWildcard()

        Appends zero or more characters wildcard to the word pattern.

      • appendOneOrMoreCharactersWildcard

        public final void appendOneOrMoreCharactersWildcard()

        Appends one or more characters wildcard to the word pattern.

      • appendWildcard

        public final void appendWildcard(int min,
                          int max)

        Appends a wildcard to the word pattern.

        Parameters:
        min - The minimum number of characters.
        max - The maximum number of characters.
      • toString

        public String toString()

        Returns a System.String that represents the current WordPattern.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents the current WordPattern.