org.apache.ftpserver.listing
Class MLSTFileFormater

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

public class MLSTFileFormater
extends java.lang.Object
implements FileFormater

Formats files according to the MLST specification


Constructor Summary
MLSTFileFormater(java.lang.String[] selectedTypes)
           
 
Method Summary
 java.lang.String format(FileObject 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(FileObject file)
Description copied from interface: FileFormater
Format the file

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


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.