| Home >> All >> org >> apache >> commons >> net >> ftp >> [ ftp2 Javadoc ] |
| | org.apache.commons.net.ftp.ftp2.parser.* (13) |
org.apache.commons.net.ftp.ftp2: Javadoc index of package org.apache.commons.net.ftp.ftp2.
Package Samples:
org.apache.commons.net.ftp.ftp2.parser
Classes:
VMSFTPEntryParser: This Class uses the FTPEntryParser class to validate the input string. It also requires the NetComponents library version 1.3.7 or later and the OROMatcher library for the regualar expressions stuff. USAGE: Create an instance of VMSFTPEntryParser VMSFTPEntryParser parser = new VMSFTPEntryParser(boolean); True = returns all versions of a file with the respective ;# False = only the last version will return (Default) Create an instance of FTPClient FTPClient FTPClientObj = new FTPClient(); Connect to the NODE FTPClientObj.connect(); Login to the NODE FTPClientObj.login(username,password); Switch ...
OS2FTPEntryParser: This Class uses the ListParser class to validate the input string. It also requires the NetComponents library version 1.3.7 or later and the OROMatcher library for the regualar expressions stuff. USAGE: Create an instance of OS2FTPEntryParser OS2FTPEntryParser parser = new OS2FTPEntryParser(); Create an instance of FTPClient FTPClient FTPClientObj = new FTPClient(); Connect to the NODE FTPClientObj.connect(); Login to the NODE FTPClientObj.login(username,password); Switch directories if you have to FTPClientObj.changeWorkingDirectory(thePath); You might want to check if you are truly in a OS2 System ...
NTFTPEntryParser: This Class uses the ListParser class to validate the input string. It also requires the NetComponents library version 1.3.7 or later and the OROMatcher library for the regualar expressions stuff. USAGE: Create an instance of NTListParser NTListParser parser = new NTListParser(); Create an instance of FTPClient FTPClient FTPClientObj = new FTPClient(); Connect to the NODE FTPClientObj.connect(); Login to the NODE FTPClientObj.login(username,password); Switch directories if you have to FTPClientObj.changeWorkingDirectory(thePath); You might want to check if you are truly in a NT System String am_I_NT ...
FTPFileList: FTPFileList.java This class encapsulates a listing of files from an FTP server. It is initialized with an input stream which is read and the input split into lines, each of which (after some possible initial verbiage) represents a file on the FTP server. A parser is also supplied, which is used to iterate through the internal list of lines parsing each into an FTPFile object which is returned to the caller of the iteration methods. This parser may be replaced with another, allowing the same list to be parsed with different parsers. Parsing takes place on an as-needed basis, basically, the first ...
FTPClient2: FTPClient2.java This class is derived by design from Daniel Savarese's FTPClient. It is designed to have all the same functionality, but add support for a new alternative design for File List Parsing. There is no reason why this could not have been included in FTPClient, but it is a fairly sizable chunk of code and given that the community process for this project is still a work in progress I thought it would be better to keep a fairly clear line between the old and the new; it's less confusing that way.
FTPFileEntryParser: FTPFileEntryParser defines the interface for parsing a single FTP file listing and converting that information into an org.apache.commons.net.ftp.FTPFile instance. Sometimes you will want to parse unusual listing formats, in which case you would create your own implementation of FTPFileEntryParser and if necessary, subclass FTPFile.
FTPFileIterator: FTPFileIterator.java This class implements a bidirectional iterator over an FTPFileList. Elements may be retrieved one at at time using the hasNext() - next() syntax familiar from Java 2 collections. Alternatively, entries may be receieved as an array of any requested number of entries or all of them.
MatchApparatus: This class is based on the logic of Winston Ojeda's ListParser. It uses a similar approach to Regular Expressions but is designed to fit within FTPFileEntryParser design rather than the FTPFileListParser design. It is also designed to encapsulate access to the oro.text.regex classes in one place.
UnixFTPEntryParser: This class is based on the logic of Daniel Savarese's DefaultFTPListParser, but adapted to use regular expressions and to fit the new FTPFileEntryParser interface.
AIXFTPEntryParser: This class is based on UnixFTPEntryParser with some small changes, namely the day and month fields being the transposed.
EnterpriseUnixFTPEntryParser: Parser for the Connect Enterprise Unix FTP Server From Sterling Commerce.
EnterpriseUnixFTPEntryParserTest: Tests the EnterpriseUnixFTPEntryParser
FTPParseTestFramework
NTFTPEntryParserTest
OS2FTPEntryParserTest
UnixFTPEntryParserTest
VMSFTPEntryParserTest
| Home | Contact Us | Privacy Policy | Terms of Service |