com.adventnet.adaptors.html
Class HtmlAuthTableXMLToVector

java.lang.Object
  |
  +--com.adventnet.adaptors.html.HtmlAuthTableXMLToVector

public class HtmlAuthTableXMLToVector
extends java.lang.Object
implements UpdateListener


Field Summary
(package private) static java.lang.String[] columnNames
           
(package private) static int PASSWORD
           
(package private) static int USER
           
 
Constructor Summary
HtmlAuthTableXMLToVector(java.lang.String dirStr, java.lang.String fileName)
          This constructor is used to read and convert HtmlAuth XML files into vector format.
 
Method Summary
static int getColumnId(java.lang.String name)
          Returns the columnId for the specified value
 java.lang.String getColumnValue(HtmlAuthEntry entry, java.lang.String columnName)
          Returns the column value
 void readFromFile()
          This method is used to read HtmlAuth XML files.
 void setTable(HtmlAuthTable handler)
          This method is used in writing the values of the table in a file
 void writeIntoFile()
          This method is used in writing the entry values of the table in a file
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER

static final int USER

PASSWORD

static final int PASSWORD

columnNames

static final java.lang.String[] columnNames
Constructor Detail

HtmlAuthTableXMLToVector

public HtmlAuthTableXMLToVector(java.lang.String dirStr,
                                java.lang.String fileName)
This constructor is used to read and convert HtmlAuth XML files into vector format.
Parameters:
directory -  
file - name
Method Detail

getColumnId

public static int getColumnId(java.lang.String name)
Returns the columnId for the specified value
Parameters:
String -  
Returns:
column id

getColumnValue

public java.lang.String getColumnValue(HtmlAuthEntry entry,
                                       java.lang.String columnName)
Returns the column value
Parameters:
HtmlAuthEntry -  
column - name
Returns:
column value

readFromFile

public void readFromFile()
                  throws java.lang.Exception
This method is used to read HtmlAuth XML files.

writeIntoFile

public void writeIntoFile()
This method is used in writing the entry values of the table in a file
Specified by:
writeIntoFile in interface UpdateListener

setTable

public void setTable(HtmlAuthTable handler)
This method is used in writing the values of the table in a file