Package systems.dmx.files
Class DirectoryListing
- java.lang.Object
-
- systems.dmx.files.DirectoryListing
-
- All Implemented Interfaces:
JSONEnabled
public class DirectoryListing extends Object implements JSONEnabled
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DirectoryListing.FileItem
-
Constructor Summary
Constructors Constructor Description DirectoryListing(File directory, systems.dmx.files.PathMapper pathMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DirectoryListing.FileItem>
getFileItems()
org.codehaus.jettison.json.JSONObject
toJSON()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump
-
-
-
-
Constructor Detail
-
DirectoryListing
public DirectoryListing(File directory, systems.dmx.files.PathMapper pathMapper)
-
-
Method Detail
-
getFileItems
public List<DirectoryListing.FileItem> getFileItems()
-
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSON
in interfaceJSONEnabled
-
-