org.apache.commons.net.ftp.parser

Class MVSFTPEntryParser

public class MVSFTPEntryParser extends ConfigurableFTPFileEntryParserImpl

Implementation of FTPFileEntryParser and FTPFileListParser for IBM zOS/MVS Systems.

Version: $Id: MVSFTPEntryParser.java 658520 2008-05-21 01:14:11Z sebb $

Author: Henrik Sorensen Jeff Nadler William Noto

See Also: FTPFileEntryParser (for usage instructions)

Constructor Summary
MVSFTPEntryParser()
The sole constructor for a MVSFTPEntryParser object.
Method Summary
FTPFileparseFTPEntry(String entry)
Parses a line of an z/OS - MVS FTP server file listing and converts it into a usable format in the form of an FTPFile instance.

Constructor Detail

MVSFTPEntryParser

public MVSFTPEntryParser()
The sole constructor for a MVSFTPEntryParser object.

Method Detail

parseFTPEntry

public FTPFile parseFTPEntry(String entry)
Parses a line of an z/OS - MVS FTP server file listing and converts it into a usable format in the form of an FTPFile instance. If the file listing line doesn't describe a file, then null is returned. Otherwise a FTPFile instance representing the file is returned.

Parameters: entry A line of text from the file listing

Returns: An FTPFile instance corresponding to the supplied entry