de.deepamehta.plugins.files
Class ResourceInfo

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

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


Constructor Summary
ResourceInfo(File file)
          Precondition: the file exists.
 
Method Summary
 ItemKind getItemKind()
           
 org.codehaus.jettison.json.JSONObject toJSON()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceInfo

public ResourceInfo(File file)
Precondition: the file exists.

Method Detail

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.