FileList.FileName (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.types, class: FileList, class: FileName

Package org.apache.tools.ant.types

# Class FileList.FileName

java.lang.Object
org.apache.tools.ant.types.FileList.FileName

Enclosing class:
  FileList

public static class FileList.FileName extends Object
Inner class corresponding to the <file> nested element.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FileName()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  `void`
  `setName​(String name)`
  The name attribute of the file element.

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

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

- ## Constructor Details

  - ### FileName

    public FileName()

- ## Method Details

  - ### setName

    public void setName​(String name)
    The name attribute of the file element.
    Parameters:
      `name` - the name of a file to add to the file list.

  - ### getName

    public String getName()
    Returns:
      the name of the file for this element.