de.deepamehta.plugins.files
Class ResourceInfo

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.plugins.files.ResourceInfo
All Implemented Interfaces:
JSONEnabled

public class ResourceInfo
extends Object
implements JSONEnabled


Field Summary
private  ItemKind kind
           
 
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
 

Field Detail

kind

private ItemKind kind
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 JSONEnabled

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.