Class CSVFileReaderSample
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetconsumer.samples.readcsvfile.CSVFileReaderSample
-
public class CSVFileReaderSample extends Object
CSVFileReaderSample illustrates the use of the Asset Consumer OMAS API to create connectors to CSV files.
-
-
Constructor Summary
Constructors Constructor Description CSVFileReaderSample(String fileName, String serverName, String serverURLRoot, String clientUserId)Set up the parameters for the sample.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Main program that controls the operation of the sample.
-
-
-
Constructor Detail
-
CSVFileReaderSample
public CSVFileReaderSample(String fileName, String serverName, String serverURLRoot, String clientUserId)
Set up the parameters for the sample.- Parameters:
fileName- name of the fileserverName- server to callserverURLRoot- location of serverclientUserId- userId to access the server
-
-
Method Detail
-
main
public static void main(String[] args)
Main program that controls the operation of the sample. The parameters are passed space separated. The parameters are used to override the sample's default values.- Parameters:
args- 1. file name 2. server name, 3. URL root for the server, 4. client userId
-
-