All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ibs.table.StreamToTable

java.lang.Object
   |
   +----ibs.table.StreamToTable

public class StreamToTable
extends Object
This class reads given BufferedReader and converts it to an IbsTable object. It uses given parameter file (file path and file name) for table definition.

See Also:
StreamToTable

Constructor Index

 o StreamToTable(String, String, BufferedReader)
Constructor for StreamToTable class.
 o StreamToTable(String, String, Reader, PrintWriter)
Constructor for StreamToTable class.

Method Index

 o getDataTable()
If constructor was successful in loading the given stream to an IbsTable, you can obtain the loaded table by calling this method.

Constructors

 o StreamToTable
 public StreamToTable(String propfile_path,
                      String propfile_name,
                      BufferedReader r) throws Exception
Constructor for StreamToTable class.

Parameters:
param_filepath - File path for the parameters file.
param_filename - Name of the IbsTable Parameter file name.
br - A BufferedReader from where system is expected to read data and stream it to the table.
Throws: Exception
If any error encountered during this process.
See Also:
IbsTable
 o StreamToTable
 public StreamToTable(String propfile_path,
                      String propfile_name,
                      Reader r,
                      PrintWriter log_stream) throws Exception
Constructor for StreamToTable class.

Parameters:
param_filepath - File path for the parameters file.
param_filename - Name of the IbsTable Parameter file name.
r - A BufferedReader from where system is expected to read data and stream it to the table.
log_stream - A PrintWriter where you wish to print log messages to ...
Throws: Exception
If any error encountered during this process.
See Also:
IbsTable

Methods

 o getDataTable
 public IbsTable getDataTable()
If constructor was successful in loading the given stream to an IbsTable, you can obtain the loaded table by calling this method. Otherwise, it returns null.

Returns:
An IbsTable that contains records converted from the stream.

All Packages  Class Hierarchy  This Package  Previous  Next  Index