Package org.apache.commons.text.lookup

# Class StringLookupFactory.Builder

java.lang.Object
org.apache.commons.text.lookup.StringLookupFactory.Builder

All Implemented Interfaces:
  `Supplier<StringLookupFactory>`

Enclosing class:
  StringLookupFactory

public static final class StringLookupFactory.Builder extends Object implements Supplier<StringLookupFactory>
Builds instance of `StringLookupFactory`.

Since:
  1.12.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `StringLookupFactory`
  `get()`
  `StringLookupFactory.Builder`
  `setFences(Path... fences)`
  Sets Path resolution fences.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### get

    public StringLookupFactory get()
    Specified by:
      `get` in interface `Supplier<StringLookupFactory>`

  - ### setFences

    public StringLookupFactory.Builder setFences(Path... fences)
    Sets Path resolution fences.

    Path Fences apply to the file, property, and XML string lookups.

    Parameters:
      `fences` - Path resolution fences.
    Returns:
      `this` instance.