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 java.lang.Object
implements FileFormater

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

Version:
$Rev$, $Date$
Author:
The Apache MINA Project (dev@mina.apache.org)

Constructor Summary
MLSTFileFormater(java.lang.String[] selectedTypes)
           
 
Method Summary
 java.lang.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(java.lang.String[] selectedTypes)
Parameters:
selectedTypes - The types to show in the formated file
Method Detail

format

public java.lang.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.