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

## com.sun.jersey.core.spi.scanning.uri
Class FileSchemeScanner

    java.lang.Object
      com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner

All Implemented Interfaces:
  UriSchemeScanner

    public class FileSchemeScanner

extends java.lang.Object
implements UriSchemeScanner

A "file" scheme URI scanner that recursively scans directories. Files are reported to a `ScannerListener`.

Author:
  Paul.Sandoz@Sun.Com

Constructor Summary
`FileSchemeScanner()`

Method Summary
`java.util.Set<java.lang.String>` | `getSchemes()` Get the set of supported URI schemes.
`void` | `scan(java.net.URI u, ScannerListener cfl)` Perform a scan and report resources to a scanning listener.

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

Constructor Detail

### FileSchemeScanner

    public FileSchemeScanner()

Method Detail

### getSchemes

    public java.util.Set<java.lang.String> getSchemes()

  Description copied from interface: `UriSchemeScanner`
  Get the set of supported URI schemes.

  Specified by:
    `getSchemes` in interface `UriSchemeScanner`
  Returns:
    the supported URI schemes.

### scan

    public void scan(java.net.URI u,
                     ScannerListener cfl)

  Description copied from interface: `UriSchemeScanner`
  Perform a scan and report resources to a scanning listener.

  Specified by:
    `scan` in interface `UriSchemeScanner`
  Parameters:
    `u` - the URI to scan for resources.
    `cfl` - the scanning listener to report entries.

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

Copyright © 2013 Oracle Corporation. All Rights Reserved.