public class DefaultDirectoryListingFormatter extends Object implements DirectoryListingFormatter
| 限定符和类型 | 字段和说明 |
|---|---|
private static String |
DIRECTORY_LISTING_FORMAT_STRING |
| 构造器和说明 |
|---|
DefaultDirectoryListingFormatter() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
formatFileListAsHtml(Iterable<FileEntry> files)
Formats a list of files for display as a full well-formed HTML page.
|
protected String |
getDirectoryListingFormatString() |
public byte[] formatFileListAsHtml(Iterable<FileEntry> files) throws IOException
DirectoryListingFormatterformatFileListAsHtml 在接口中 DirectoryListingFormatterfiles - A list of files about which information (e.g. file names) is to be presented.IOExceptionprotected String getDirectoryListingFormatString()
Copyright © 2014. All rights reserved.