public abstract class FTPFileEntryParserImpl extends Object implements FTPFileEntryParser
Constructor and Description |
---|
FTPFileEntryParserImpl()
The constructor for a FTPFileEntryParserImpl object.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
preParse(List<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.
|
String |
readNextEntry(BufferedReader reader)
Reads the next entry using the supplied BufferedReader object up to
whatever delimits one entry from the next.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseFTPEntry
public FTPFileEntryParserImpl()
public String readNextEntry(BufferedReader reader) throws IOException
readNextEntry
in interface FTPFileEntryParser
reader
- The BufferedReader object from which entries are to be
read.IOException
- thrown on any IO Error reading from the reader.public List<String> preParse(List<String> original)
preParse
in interface FTPFileEntryParser
original
- Original list after it has been created from the server streamoriginal
unmodified.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.