com.metamatrix.connector.metadata
Class PropertyFileObjectSource

java.lang.Object
  extended by com.metamatrix.connector.metadata.PropertyFileObjectSource
All Implemented Interfaces:
com.metamatrix.connector.metadata.internal.IObjectSource

public class PropertyFileObjectSource
extends java.lang.Object
implements com.metamatrix.connector.metadata.internal.IObjectSource

Read a property file and deliver the results as an object source. This plugs into the object connector to make a property file visible as a relational table.


Constructor Summary
PropertyFileObjectSource()
           
PropertyFileObjectSource(java.lang.String propertyFilePath)
           
 
Method Summary
 java.util.Collection getObjects(java.lang.String propertyFileName, java.util.Map criteria)
          Return a collection that is results given the groupName(indexName) and search criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFileObjectSource

public PropertyFileObjectSource()

PropertyFileObjectSource

public PropertyFileObjectSource(java.lang.String propertyFilePath)
Method Detail

getObjects

public java.util.Collection getObjects(java.lang.String propertyFileName,
                                       java.util.Map criteria)
Description copied from interface: com.metamatrix.connector.metadata.internal.IObjectSource
Return a collection that is results given the groupName(indexName) and search criteria.

Specified by:
getObjects in interface com.metamatrix.connector.metadata.internal.IObjectSource
Parameters:
propertyFileName - The name of table/index to search.
criteria - The map of metadata field name to MetadataSearchCriteria
Returns:
The collection that is the MetadataRecord objects


Copyright © 2009. All Rights Reserved.