LineContains.Contains (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.filters, class: LineContains, class: Contains

Package org.apache.tools.ant.filters

# Class LineContains.Contains

java.lang.Object
org.apache.tools.ant.filters.LineContains.Contains

Enclosing class:
  `LineContains`

public static class LineContains.Contains extends Object
Holds a contains element

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Contains()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final String`
  `getValue()`
  Returns the contains string.
  `final void`
  `setValue(String contains)`
  Sets the contains string

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

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

- ## Constructor Details

  - ### Contains

    public Contains()

- ## Method Details

  - ### setValue

    public final void setValue(String contains)
    Sets the contains string
    Parameters:
      `contains` - The contains string to set. Must not be `null`.

  - ### getValue

    public final String getValue()
    Returns the contains string.
    Returns:
      the contains string for this element