it.sauronsoftware.ftp4j.listparsers
Class EPLFListParser

java.lang.Object
  extended by it.sauronsoftware.ftp4j.listparsers.EPLFListParser
All Implemented Interfaces:
FTPListParser

public class EPLFListParser
extends java.lang.Object
implements FTPListParser

This parser can handle the EPLF format.

Author:
Carlo Pelliccia

Constructor Summary
EPLFListParser()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 FTPFile[] parse(java.lang.String[] lines)
          Parses a LIST command response and builds an array of FTPFile objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPLFListParser

public EPLFListParser()
Method Detail

parse

public FTPFile[] parse(java.lang.String[] lines)
                throws FTPListParseException
Description copied from interface: FTPListParser
Parses a LIST command response and builds an array of FTPFile objects.

Specified by:
parse in interface FTPListParser
Parameters:
lines - The response to parse, splitted by line.
Returns:
An array of FTPFile objects representing the result of the operation.
Throws:
FTPListParseException - If this parser cannot parse the given response.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Throwable
Throws:
java.lang.Throwable