public static interface LsFormatter.Factory
Modifier and Type | Method and Description |
---|---|
LsFormatter |
create(File relativeTo,
File directory,
List<File> directoryFiles,
LsArguments args)
Creates and returns a new formatter for the files in the specified
directory . |
LsFormatter create(File relativeTo, File directory, List<File> directoryFiles, LsArguments args)
directory
.relativeTo
- the starting directory to use as starting point to get to
directory
; all path elements from the relative
directory to the files in directory
should be
printeddirectory
- the directory whose files should be formatteddirectoryFiles
- the directory files to be formatted by the returned
formatterargs
- arguments possibly used to lookup some formatting optionsCopyright © 2024. All rights reserved.