de.deepamehta.plugins.files
Class ResourceInfo
java.lang.Object
de.deepamehta.plugins.files.ResourceInfo
- All Implemented Interfaces:
- de.deepamehta.core.JSONEnabled
public class ResourceInfo
- extends Object
- implements de.deepamehta.core.JSONEnabled
ResourceInfo
public ResourceInfo(File file)
- Precondition: the file exists.
getItemKind
public ItemKind getItemKind()
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
- Specified by:
toJSON in interface de.deepamehta.core.JSONEnabled
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015. All rights reserved.