org.coinjema.context.source
Class SimpleResource
java.lang.Object
org.coinjema.context.source.SimpleResource
- All Implemented Interfaces:
- Resource
public class SimpleResource
- extends Object
- implements Resource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleResource
public SimpleResource(String name)
SimpleResource
public SimpleResource(String name,
MetaType scope)
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
Public Domain Software.