Example usage for org.apache.commons.net.ftp FTPFileFilters ALL

List of usage examples for org.apache.commons.net.ftp FTPFileFilters ALL

Introduction

In this page you can find the example usage for org.apache.commons.net.ftp FTPFileFilters ALL.

Prototype

FTPFileFilter ALL

To view the source code for org.apache.commons.net.ftp FTPFileFilters ALL.

Click Source Link

Document

Accepts all FTPFile entries, including null.

Usage

From source file:fr.chaffottem.bonita.connector.ftp.ListFilesConnector.java

@Override
protected void executeFTPTask() throws IOException {
    final String pathname = (String) getInputParameter(PATHNAME);
    final FTPFile[] files = getFTPClient().listFiles(pathname, FTPFileFilters.ALL);
    setOutputParameter(FTP_FILES, Arrays.asList(files));
}