org.apache.commons.net.ftp.parser
Class OS400FTPEntryParser
java.lang.Object
org.apache.commons.net.ftp.FTPFileEntryParserImpl
org.apache.commons.net.ftp.parser.RegexFTPFileEntryParserImpl
org.apache.commons.net.ftp.parser.OS400FTPEntryParser
- All Implemented Interfaces:
- FTPFileEntryParser, FTPFileListParser
- public class OS400FTPEntryParser
- extends RegexFTPFileEntryParserImpl
- Version:
- $Id: OS400FTPEntryParser.java,v 1.3 2004/04/22 00:48:07 scohen Exp $
Method Summary |
FTPFile |
parseFTPEntry(String entry)
Parses a line of an FTP server file listing and converts it into a usable
format in the form of an FTPFile instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OS400FTPEntryParser
public OS400FTPEntryParser()
parseFTPEntry
public FTPFile parseFTPEntry(String entry)
- Description copied from interface:
FTPFileEntryParser
- Parses a line of an 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, null
should be
returned, otherwise a FTPFile
instance representing the
files in the directory is returned.
- Parameters:
entry
- A line of text from the file listing
- Returns:
- An FTPFile instance corresponding to the supplied entry
Copyright © 1997-2004 The Apache Software Foundation. All Rights Reserved.