Class FindOptions.Builder

java.lang.Object
com.teamdev.jxbrowser.search.FindOptions.Builder
Enclosing interface:
FindOptions

public static final class FindOptions.Builder extends Object
A builder of FindOptions.

Builders are created by invoking FindOptions.newBuilder(). Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

  • Method Details

    • matchCase

      public FindOptions.Builder matchCase(boolean matchCase)
      Specifies whether the search is case-sensitive.
      Parameters:
      matchCase - the flag value
      Returns:
      this builder
    • searchBackward

      public FindOptions.Builder searchBackward(boolean searchBackward)
      Specifies whether the search is performed backward.
      Parameters:
      searchBackward - the flag value
      Returns:
      this builder
    • build

      public FindOptions build()
      Returns a new FindOptions instance built from the current state of this builder.
      Returns:
      a new FindOptions instance