public class DirectoryListing
extends java.lang.Object
| Constructor and Description |
|---|
DirectoryListing() |
DirectoryListing(EftarFileReader desc) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
listTo(java.io.File dir,
java.io.Writer out,
java.lang.String path,
java.util.List<java.lang.String> files)
Write a htmlized listing of the given directory to the given destination.
|
public DirectoryListing()
public DirectoryListing(EftarFileReader desc)
public java.util.List<java.lang.String> listTo(java.io.File dir,
java.io.Writer out,
java.lang.String path,
java.util.List<java.lang.String> files)
throws java.io.IOException
dir - the directory to listout - write destinationpath - virtual path of the directory (usually the path name of
dir with the opengrok source directory stripped off).files - basenames of potential children of the directory to list.
Gets filtered by IgnoredNames.java.io.IOExceptionjava.lang.NullPointerException - if a parameter except files
is null