public class DirectoryListing extends Object implements JSONEnabled
Modifier and Type | Class and Description |
---|---|
class |
DirectoryListing.FileItem |
Modifier and Type | Field and Description |
---|---|
private DirectoryListing.FileItem |
dirInfo |
private List<DirectoryListing.FileItem> |
fileItems |
private PathMapper |
pathMapper |
Constructor and Description |
---|
DirectoryListing(File directory,
PathMapper pathMapper) |
Modifier and Type | Method and Description |
---|---|
List<DirectoryListing.FileItem> |
getFileItems() |
org.codehaus.jettison.json.JSONObject |
toJSON() |
private PathMapper pathMapper
private DirectoryListing.FileItem dirInfo
private List<DirectoryListing.FileItem> fileItems
public DirectoryListing(File directory, PathMapper pathMapper)
public List<DirectoryListing.FileItem> getFileItems()
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON
in interface JSONEnabled
Copyright © 2018. All Rights Reserved.