org.apache.oodt.product.handlers.ofsn
Interface OFSNListHandler

All Known Implementing Classes:
AbstractCrawlLister, DirListNonRecursiveHandler, DirListRecursiveHandler, FileListNonRecursiveHandler, FileListRecursiveHandler, RawSizeListHandler, SingleFileListHandler, SingleZipFileListHandler, URLGetHandler

public interface OFSNListHandler

Classes that implement this interface define how to return file listings on a remote server from an ofsn.

Version:
$Revision$
Author:
mattmann

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.
 

Method Detail

getListing

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

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

void configure(Properties conf)
Configures this handler with the provided configuration stored in a Properties object.

Parameters:
conf - The configuration for this list handler.


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