Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.types
Class Path.PathElement

    java.lang.Object
      org.apache.tools.ant.types.Path.PathElement

All Implemented Interfaces:
  ResourceCollection

Enclosing class:
  Path

    public class Path.PathElement

extends java.lang.Object
implements ResourceCollection

Helper class, holds the nested `<pathelement>` values.

Constructor Summary
`Path.PathElement()`

Method Summary
`java.lang.String[]` | `getParts()` Return the converted pathelements.
`boolean` | `isFilesystemOnly()` Check if this resource is only for filesystems.
`java.util.Iterator` | `iterator()` Create an iterator.
`void` | `setLocation(java.io.File loc)` Set the location.
`void` | `setPath(java.lang.String path)` Set the path.
`int` | `size()` Get the number of resources.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Path.PathElement

    public Path.PathElement()

Method Detail

### setLocation

    public void setLocation(java.io.File loc)

  Set the location.

  Parameters:
    `loc` - a `File` value

### setPath

    public void setPath(java.lang.String path)

  Set the path.

  Parameters:
    `path` - a `String` value

### getParts

    public java.lang.String[] getParts()

  Return the converted pathelements.

  Returns:
    a `String[]` value

### iterator

    public java.util.Iterator iterator()

  Create an iterator.

  Specified by:
    `iterator` in interface `ResourceCollection`
  Returns:
    an iterator.

### isFilesystemOnly

    public boolean isFilesystemOnly()

  Check if this resource is only for filesystems.

  Specified by:
    `isFilesystemOnly` in interface `ResourceCollection`
  Returns:
    true.

### size

    public int size()

  Get the number of resources.

  Specified by:
    `size` in interface `ResourceCollection`
  Returns:
    the number of parts.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD