org.bdgp.io
Interface DataAdapter

All Known Subinterfaces:
VisualDataAdapter

public interface DataAdapter

A Generic starter interface for DataAdapter components. This interface does NOT contain any methods for actual data manipulation. Those methods should be determined by the application that will use the data adapter. Most applications will define another interface that extends DataAdapter and specifies the application-specific data manipulation methods.

See Also:
AbstractDataAdapter, VisualDataAdapter, DataAdapterChooser

Method Summary
 java.lang.String getName()
          Returns the name of this data adapter
 IOOperation[] getSupportedOperations()
          Returns a list of all operations supported by this data adapter
 java.lang.String getType()
          Returns the type of data handled by this data adapter
 void init()
          For initialization, like opening files or database connections.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of this data adapter

getType

public java.lang.String getType()
Returns the type of data handled by this data adapter

getSupportedOperations

public IOOperation[] getSupportedOperations()
Returns a list of all operations supported by this data adapter

init

public void init()
For initialization, like opening files or database connections.