final class LsFormatterLong extends Object implements LsFormatter
-rw-r--r--@ 1 myself geeks 1.6K May 8 23:20 EFMTool Test Case.zip -rw-r--r-- 1 myself myself 2.6M May 5 2011 EM_FX_RANK_2011-1.pages -rw-r--r-- 1 myself geeks 466K May 5 2011 EM_FX_RANK_2011-1.pdf -rw-r--r-- 1 myself geeks 1.3M May 5 2011 EM_FX_RANK_2011.pdf -rw-r--r--@ 1 myself geeks 118M Apr 11 2011 PS_AIO_07_B110_USW_Full_Mac_WW_11.dmg drwxrwxrwx 5 myself geeks 170B Mar 6 2011 Private Tax -rw-r--r-- 1 myself myself 37M Apr 26 2011 Scanned Image 111160000.pdf -rw-r--r-- 1 myself mysel 37M Apr 26 2011 Scanned Image 111160008.pdf drwxrwxrwx 9 myself geeks 306B Apr 19 2011 aevum drwxr-xr-x 3 myself geeks 102B Dec 21 2011 baby drwxr-xr-x 4 myself geeks 136B May 18 2011 bills drwxrwxrwx 17 myself geeks 578B Jun 15 11:21 cv
LsFormatter.Factory
Constructor and Description |
---|
LsFormatterLong(List<File> directoryFiles,
LsArguments args) |
Modifier and Type | Method and Description |
---|---|
protected String |
getName(File relativeTo,
File file,
LsArguments args) |
boolean |
writeFormatted(File relativeTo,
File file,
LsArguments args,
LineProcessor output)
Writes information of the given file to the
output . |
LsFormatterLong(List<File> directoryFiles, LsArguments args)
public boolean writeFormatted(File relativeTo, File file, LsArguments args, LineProcessor output)
LsFormatter
output
.writeFormatted
in interface LsFormatter
relativeTo
- the starting directory to use as starting point to get to
file
; all path elements from this directory to
file
should be printedfile
- the file whose name or other information is written to
output
args
- arguments possibly used to lookup some formatting optionsoutput
- the output object to write tooutput
object is ready to take more output
lines, and false if notprotected String getName(File relativeTo, File file, LsArguments args)
Copyright © 2024. All rights reserved.