com.adventnet.agent.tl1.security
Class ResourceSecurityHandler
java.lang.Object
|
+--com.adventnet.agent.tl1.security.ResourceSecurityHandler
- public class ResourceSecurityHandler
- extends java.lang.Object
This class is used to read the informations from the
text file and creates an object of TL1ResourceSecurity
for each entry in it.
|
Constructor Summary |
ResourceSecurityHandler(java.lang.String fileName)
This constructor receives the path of the
text file which contains resource security
related informations. |
|
Method Summary |
java.util.Hashtable |
getResourceViewTable()
Returns the table of TL1ResourceSecurity objects. |
void |
setResourceViewTable(TL1ResourceSecurity security)
This method sets the TL1ResourceSecurity objects in the
resourcedViewTable. |
static void |
writeIntoFile(java.util.Enumeration enumerator)
This method takes the elements form the Enumeration and writes
the contents in the text file. |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ResourceSecurityHandler
public ResourceSecurityHandler(java.lang.String fileName)
- This constructor receives the path of the
text file which contains resource security
related informations.
- Parameters:
fileName - - Name of the file where the resource security informations are stored
setResourceViewTable
public void setResourceViewTable(TL1ResourceSecurity security)
- This method sets the TL1ResourceSecurity objects in the
resourcedViewTable.
- Parameters:
security - - TL1ResourceSecurity Reference
getResourceViewTable
public java.util.Hashtable getResourceViewTable()
- Returns the table of TL1ResourceSecurity objects.
writeIntoFile
public static void writeIntoFile(java.util.Enumeration enumerator)
- This method takes the elements form the Enumeration and writes
the contents in the text file.