de.deepamehta.plugins.files
Class ResourceInfo
java.lang.Object
de.deepamehta.plugins.files.ResourceInfo
- All Implemented Interfaces:
- JSONEnabled
public class ResourceInfo
- extends Object
- implements JSONEnabled
kind
private ItemKind kind
ResourceInfo
public ResourceInfo(File file)
- Precondition: the file exists.
getItemKind
public ItemKind getItemKind()
toJSON
public JSONObject toJSON()
- Specified by:
toJSON
in interface JSONEnabled
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014. All Rights Reserved.