org.apache.ftpserver.command.impl.listing
Class MLSTFileFormater

java.lang.Object
  extended by org.apache.ftpserver.command.impl.listing.MLSTFileFormater
All Implemented Interfaces:
FileFormater

public class MLSTFileFormater
extends Object
implements FileFormater

Internal class, do not use directly. Formats files according to the MLST specification

Author:
Apache MINA Project

Constructor Summary
MLSTFileFormater(String[] selectedTypes)
           
 
Method Summary
 String format(FtpFile file)
          Format the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLSTFileFormater

public MLSTFileFormater(String[] selectedTypes)
Parameters:
selectedTypes - The types to show in the formated file
Method Detail

format

public String format(FtpFile file)
Description copied from interface: FileFormater
Format the file

Specified by:
format in interface FileFormater
Parameters:
file - The FtpFile
Returns:
The formated string based on the FtpFile
See Also:
FileFormater.format(FtpFile)


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.