public class UnixDirectoryListingFormatter extends java.lang.Object implements DirectoryListingFormatter
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DATE_FORMAT_HOURS_MINUTES |
protected static java.lang.String |
DATE_FORMAT_YEAR |
| Constructor and Description |
|---|
UnixDirectoryListingFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(FileSystemEntry fileSystemEntry)
Format the directory listing for a single file/directory entry.
|
void |
setLocale(java.util.Locale locale)
Set the Locale to be used in formatting the date within file/directory listings
|
protected static final java.lang.String DATE_FORMAT_YEAR
protected static final java.lang.String DATE_FORMAT_HOURS_MINUTES
public java.lang.String format(FileSystemEntry fileSystemEntry)
format in interface DirectoryListingFormatterfileSystemEntry - - the FileSystemEntry for a single file system entrypublic void setLocale(java.util.Locale locale)
locale - - the Locale instance