public class SingleFileListHandler extends Object implements OFSNListHandler
| Constructor and Description |
|---|
SingleFileListHandler() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public void configure(Properties conf)
OFSNListHandlerProperties object.configure in interface OFSNListHandlerconf - The configuration for this list handler.public File[] getListing(String ofsn) throws ProductException
OFSNListHandlerOnline
File Specification Name and return
back a listing of files on the remote server.getListing in interface OFSNListHandlerofsn - The OFSN path to list files from.File objects.ProductException - If any error occurs performing the listing on the server side.Copyright © 1999-2014 Apache OODT. All Rights Reserved.