public class DataSourceLocation
extends java.lang.Object
This class represents a data source location for a data reader.
Constructor and Description |
---|
DataSourceLocation() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getDataSourceLocationProperties()
This method returns the
Map containing properties in the form of name-value pairs
to describe properties required by the data source location. |
java.lang.String |
getLocation()
This method returns the location of the data source.
|
java.lang.String |
getOldLocation()
Gets the old file location
|
void |
setLocation(java.lang.String aDataSourceLocation)
This method sets the location of the data source.
|
void |
setOldLocation(java.lang.String oldLocation)
Sets the old file location
|
java.lang.String |
toString()
This method returns a
String representation of the data source location object. |
public java.lang.String toString()
This method returns a String
representation of the data source location object.
toString
in class java.lang.Object
String
representation of the data source location object.public void setLocation(java.lang.String aDataSourceLocation)
This method sets the location of the data source.
aDataSourceLocation
- A String
representing the data source location.public java.lang.String getLocation()
This method returns the location of the data source.
String
representing the data source location.public java.util.Map getDataSourceLocationProperties()
This method returns the Map
containing properties in the form of name-value pairs
to describe properties required by the data source location.
Each implementation of a DataReader
must understand and maintain it's own set of
property information.
Map
containing properties in the form of name-value pairs
to describe properties required by the data source location.public java.lang.String getOldLocation()
public void setOldLocation(java.lang.String oldLocation)
oldLocation
- the old file location