de.deepamehta.plugins.files
Class DirectoryListing

java.lang.Object
  extended by de.deepamehta.plugins.files.DirectoryListing
All Implemented Interfaces:
de.deepamehta.core.JSONEnabled

public class DirectoryListing
extends Object
implements de.deepamehta.core.JSONEnabled


Nested Class Summary
 class DirectoryListing.FileItem
           
 
Constructor Summary
DirectoryListing(File directory, de.deepamehta.plugins.files.PathMapper pathMapper)
           
 
Method Summary
 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
 

Constructor Detail

DirectoryListing

public DirectoryListing(File directory,
                        de.deepamehta.plugins.files.PathMapper pathMapper)
Method Detail

getFileItems

public List<DirectoryListing.FileItem> getFileItems()

toJSON

public org.codehaus.jettison.json.JSONObject toJSON()
Specified by:
toJSON in interface de.deepamehta.core.JSONEnabled


Copyright © 2015. All rights reserved.