|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.net.ftp.FTPFileEntryParserImpl
public abstract class FTPFileEntryParserImpl
This abstract class implements both the older FTPFileListParser and newer FTPFileEntryParser interfaces with default functionality. All the classes in the parser subpackage inherit from this.
Constructor Summary | |
---|---|
FTPFileEntryParserImpl()
The constructor for a FTPFileEntryParserImpl object. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
preParse(java.util.List<java.lang.String> original)
This method is a hook for those implementors (such as VMSVersioningFTPEntryParser, and possibly others) which need to perform some action upon the FTPFileList after it has been created from the server stream, but before any clients see the list. |
java.lang.String |
readNextEntry(java.io.BufferedReader reader)
Reads the next entry using the supplied BufferedReader object up to whatever delemits one entry from the next. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.net.ftp.FTPFileEntryParser |
---|
parseFTPEntry |
Constructor Detail |
---|
public FTPFileEntryParserImpl()
Method Detail |
---|
public java.lang.String readNextEntry(java.io.BufferedReader reader) throws java.io.IOException
readNextEntry
in interface FTPFileEntryParser
reader
- The BufferedReader object from which entries are to be
read.
java.io.IOException
- thrown on any IO Error reading from the reader.public java.util.List<java.lang.String> preParse(java.util.List<java.lang.String> original)
preParse
in interface FTPFileEntryParser
original
- Original list after it has been created from the server stream
original
unmodified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |