Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.resources
Interface ResDataSourceI  view ResDataSourceI download ResDataSourceI.java

All Known Implementing Classes:
FileDataSource

public interface ResDataSourceI

ResDataSourceI is the interface to be implemented by all resource data sources.

Version:
3.0

Method Summary
 java.lang.String getResource(java.lang.String sResID)
          Implementations of ResDataSourceI must provide this method to retrieve the value (text string) for a specified resource in the data source.
 java.util.Hashtable getResources()
          Implementations of ResDataSourceI must provide this method to retrieve all resources from the data source.
 java.util.Hashtable getResources(java.lang.String sSection)
          Implementations of ResDataSourceI must provide this method to retrieve the resources from a specified section in the data source.
 java.lang.String[] getResourcesIDs(java.lang.String sSection)
          Implementations of ResDataSourceI must provide this method to retrieve all IDs for the resources in the specified section from the data source.
 java.lang.String[] getSections()
          Implementations of ResDataSourceI must provide this method to retrieve the list of sections in the data source.
 

Method Detail

getSections

public java.lang.String[] getSections()
Implementations of ResDataSourceI must provide this method to retrieve the list of sections in the data source.


getResources

public java.util.Hashtable getResources(java.lang.String sSection)
Implementations of ResDataSourceI must provide this method to retrieve the resources from a specified section in the data source.


getResourcesIDs

public java.lang.String[] getResourcesIDs(java.lang.String sSection)
Implementations of ResDataSourceI must provide this method to retrieve all IDs for the resources in the specified section from the data source.


getResources

public java.util.Hashtable getResources()
Implementations of ResDataSourceI must provide this method to retrieve all resources from the data source.


getResource

public java.lang.String getResource(java.lang.String sResID)
Implementations of ResDataSourceI must provide this method to retrieve the value (text string) for a specified resource in the data source.