Coinjema
1.7

org.coinjema.context.source
Class JdbcResource

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

public class JdbcResource
extends Object
implements Resource


Constructor Summary
JdbcResource(DataSource ds, String tablename, String contextName, String resourceName)
           
 
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

JdbcResource

public JdbcResource(DataSource ds,
                    String tablename,
                    String contextName,
                    String resourceName)
Method Detail

getFormat

public String getFormat()
Specified by:
getFormat 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

getInputStream

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

Coinjema
1.7

Public Domain Software.