All Packages Class Hierarchy This Package Previous Next Index
Class com.netobjects.nfx.util.DataSourceDesc
java.lang.Object
|
+----com.netobjects.nfx.util.DataSourceDesc
- public class DataSourceDesc
- extends Object
-
_name
-
-
_type
-
-
DataSourceDesc(String, String)
- Constructor.
-
getName()
- Returns the name of the data source, e.g.
-
getType()
- Returns the type of the data source, e.g.
-
toString()
- Returns getName().
_name
private String _name
_type
private String _type
DataSourceDesc
DataSourceDesc(String name,
String type)
- Constructor. Note of its package scope: the intent is to only
allow OdbcDsnRetriever to create the instances. This will be
enforced after we decide how to package this set of classes.
getName
public String getName()
- Returns the name of the data source, e.g. northwind.
getType
public String getType()
- Returns the type of the data source, e.g.
Microsoft Access Driver (*.mdb).
toString
public String toString()
- Returns getName().
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index