org.mockftpserver.fake.filesystem
Class UnixDirectoryListingFormatter
java.lang.Object
org.mockftpserver.fake.filesystem.UnixDirectoryListingFormatter
- All Implemented Interfaces:
- DirectoryListingFormatter
public class UnixDirectoryListingFormatter
- extends Object
- implements DirectoryListingFormatter
Unix-specific implementation of the DirectoryListingFormatter interface.
- Version:
- $Revision: 264 $ - $Date: 2012-07-17 21:19:23 -0400 (Tue, 17 Jul 2012) $
- Author:
- Chris Mair
|
Method Summary |
String |
format(FileSystemEntry fileSystemEntry)
Format the directory listing for a single file/directory entry. |
void |
setLocale(Locale locale)
Set the Locale to be used in formatting the date within file/directory listings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnixDirectoryListingFormatter
public UnixDirectoryListingFormatter()
format
public String format(FileSystemEntry fileSystemEntry)
- Format the directory listing for a single file/directory entry.
- Specified by:
format in interface DirectoryListingFormatter
- Parameters:
fileSystemEntry - - the FileSystemEntry for a single file system entry
- Returns:
- the formatted directory listing
setLocale
public void setLocale(Locale locale)
- Set the Locale to be used in formatting the date within file/directory listings
- Parameters:
locale - - the Locale instance
Copyright © 2014. All rights reserved.