org.apache.oodt.product.handlers.ofsn
Class DirListNonRecursiveHandler

java.lang.Object
  extended by org.apache.oodt.product.handlers.ofsn.AbstractCrawlLister
      extended by org.apache.oodt.product.handlers.ofsn.DirListNonRecursiveHandler
All Implemented Interfaces:
OFSNListHandler

public class DirListNonRecursiveHandler
extends AbstractCrawlLister

Generates a directory listing, without recursing into the OFSN path.

Version:
$Revision$
Author:
mattmann

Field Summary
 
Fields inherited from class org.apache.oodt.product.handlers.ofsn.AbstractCrawlLister
DIR_FILTER, FILE_FILTER, LOG
 
Constructor Summary
DirListNonRecursiveHandler()
           
 
Method Summary
 void configure(Properties conf)
          Configures this handler with the provided configuration stored in a Properties object.
 File[] getListing(String ofsn)
          Handlers that implement this method take an Online File Specification Name and return back a listing of files on the remote server.
 
Methods inherited from class org.apache.oodt.product.handlers.ofsn.AbstractCrawlLister
crawlFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirListNonRecursiveHandler

public DirListNonRecursiveHandler()
Method Detail

getListing

public File[] getListing(String ofsn)
                  throws ProductException
Description copied from interface: OFSNListHandler
Handlers that implement this method take an Online File Specification Name and return back a listing of files on the remote server.

Specified by:
getListing in interface OFSNListHandler
Specified by:
getListing in class AbstractCrawlLister
Parameters:
ofsn - The OFSN path to list files from.
Returns:
An array of File objects.
Throws:
ProductException - If any error occurs performing the listing on the server side.

configure

public void configure(Properties conf)
Description copied from interface: OFSNListHandler
Configures this handler with the provided configuration stored in a Properties object.

Specified by:
configure in interface OFSNListHandler
Specified by:
configure in class AbstractCrawlLister
Parameters:
conf - The configuration for this list handler.


Copyright © 1999-2014 Apache OODT. All Rights Reserved.