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

## org.crosswire.common.util
Class NetUtil.IsDirectoryURIFilter

    java.lang.Object
      org.crosswire.common.util.NetUtil.IsDirectoryURIFilter

All Implemented Interfaces:
  URIFilter

Enclosing class:
  NetUtil

    public static class NetUtil.IsDirectoryURIFilter

extends Object
implements URIFilter

Check that the directories in the version directory really represent versions.

Field Summary
`private URI` | `parent`

Constructor Summary
`NetUtil.IsDirectoryURIFilter(URI parent)` Simple ctor

Method Summary
`boolean` | `accept(String name)` Tests if a specified file should be included in a file list.

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

Field Detail

### parent

    private URI parent

Constructor Detail

### NetUtil.IsDirectoryURIFilter

    public NetUtil.IsDirectoryURIFilter(URI parent)

  Simple ctor

  Parameters:
    `parent` - the parent directory

Method Detail

### accept

    public boolean accept(String name)

  Description copied from interface: `URIFilter`
  Tests if a specified file should be included in a file list.

  Specified by:
    `accept` in interface `URIFilter`
  Parameters:
    `name` - the name of the file.
  Returns:
    `true` if and only if the name should be included in the file list; `false` otherwise.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2015
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD