Coinjema
1.7

org.coinjema.context.source
Class SimpleResource

java.lang.Object
  extended by org.coinjema.context.source.SimpleResource
All Implemented Interfaces:
Resource

public class SimpleResource
extends Object
implements Resource


Constructor Summary
SimpleResource(String name)
           
SimpleResource(String name, MetaType scope)
           
 
Method Summary
 String getFormat()
           
 InputStream getInputStream()
           
 Collection<MetaType> getMetaTypes()
           
 String getName()
           
 Reader getReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResource

public SimpleResource(String name)

SimpleResource

public SimpleResource(String name,
                      MetaType scope)
Method Detail

getFormat

public String getFormat()
Specified by:
getFormat in interface Resource

getInputStream

public InputStream getInputStream()
Specified by:
getInputStream in interface Resource

getMetaTypes

public Collection<MetaType> getMetaTypes()
Specified by:
getMetaTypes in interface Resource

getName

public String getName()
Specified by:
getName in interface Resource

getReader

public Reader getReader()
Specified by:
getReader in interface Resource

Coinjema
1.7

Public Domain Software.