com.adventnet.utils.agent
Class RegistrationFile

java.lang.Object
  extended by com.adventnet.utils.agent.RegistrationFile

Deprecated. As the DynamicRegistration now uses XML Parser approach.

public class RegistrationFile
extends java.lang.Object

This class is used by the DynamicRegistration to register the SubAgents by parsing the Entries from a file.

Since:
AdventNet Agent Toolkit (Java Edition) 4.2 release.

Field Summary
(package private)  java.lang.String fileSeparator
          Deprecated.  
 
Constructor Summary
RegistrationFile(java.lang.String rFile)
          Deprecated. Constructor for RegistrationFile
 
Method Summary
(package private)  DynamicRegistrationEntry addTableModel(java.util.Vector vector, int line)
          Deprecated.  
 java.lang.String getFileSeparator()
          Deprecated. get the fileSepartor
 int getNoOfColumn()
          Deprecated. getter for noOfColumn
 java.lang.String getRegistrationFile()
          Deprecated. getter for Registration file
 java.util.Vector parseRegistration()
          Deprecated. This class is used to parse the Registration file.
 void setFileSeperator(java.lang.String seperator)
          Deprecated. Used to set the file seperator
 void setNoOfColumn(int col)
          Deprecated. Used to stipulate no of columns should be in the Registration file
 void setRegistrationFile(java.lang.String rFile)
          Deprecated. Setter for Registration file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileSeparator

java.lang.String fileSeparator
Deprecated. 
Constructor Detail

RegistrationFile

public RegistrationFile(java.lang.String rFile)
Deprecated. 
Constructor for RegistrationFile

Method Detail

setRegistrationFile

public void setRegistrationFile(java.lang.String rFile)
Deprecated. 
Setter for Registration file


getRegistrationFile

public java.lang.String getRegistrationFile()
Deprecated. 
getter for Registration file


setNoOfColumn

public void setNoOfColumn(int col)
Deprecated. 
Used to stipulate no of columns should be in the Registration file


getNoOfColumn

public int getNoOfColumn()
Deprecated. 
getter for noOfColumn


setFileSeperator

public void setFileSeperator(java.lang.String seperator)
Deprecated. 
Used to set the file seperator


getFileSeparator

public java.lang.String getFileSeparator()
Deprecated. 
get the fileSepartor


parseRegistration

public java.util.Vector parseRegistration()
                                   throws java.lang.Exception
Deprecated. 
This class is used to parse the Registration file. Parse the file and for each row of file it create DynamicRegistrationEntry instance.

These instances will be stored in the vector and the result is returned.

Returns:
Vector of DynamicRegistrationEntry
Throws:
java.lang.Exception

addTableModel

DynamicRegistrationEntry addTableModel(java.util.Vector vector,
                                       int line)
                                 throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception