|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.knowgate.acl.PasswordRecordTemplate
public class PasswordRecordTemplate
Password Record Template
A password record template is a plain text file which contains one line for each password record field.| ! | Type Name |
| $ | Type Text |
| # | Type Date |
| * | Type Password |
| % | Type Integer |
| @ | Type e-Mail |
| & | Type URL |
| ~ | Type Postal Address |
| / | Type Binary |
| Constructor Summary | |
|---|---|
PasswordRecordTemplate()
|
|
| Method Summary | |
|---|---|
PasswordRecord |
createRecord()
Create a new password record for this template |
java.lang.String |
getName()
|
char |
getTypeOf(java.lang.String sLineId)
|
java.util.ArrayList<PasswordRecordLine> |
lines()
|
void |
load(java.lang.String sFilePath)
Load template from UTF-8 text file |
void |
parse(java.lang.String sText)
Parse template from string |
void |
store(java.lang.String sFilePath)
Store template into a text file encoded in UTF-8 character set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordRecordTemplate()
| Method Detail |
|---|
public java.lang.String getName()
public char getTypeOf(java.lang.String sLineId)
public PasswordRecord createRecord()
public java.util.ArrayList<PasswordRecordLine> lines()
public void parse(java.lang.String sText)
throws java.lang.NullPointerException
java.lang.NullPointerException
public void load(java.lang.String sFilePath)
throws java.net.MalformedURLException,
com.enterprisedt.net.ftp.FTPException,
java.io.FileNotFoundException,
java.io.IOException
File - Path including protocol, for example: file:///tmp/template1.txt
java.net.MalformedURLException
com.enterprisedt.net.ftp.FTPException
java.io.IOException
java.io.FileNotFoundException
public void store(java.lang.String sFilePath)
throws java.net.MalformedURLException,
com.enterprisedt.net.ftp.FTPException,
java.io.IOException
File - Path including protocol, for example: file:///tmp/template1.txt
java.net.MalformedURLException
com.enterprisedt.net.ftp.FTPException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||