|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hardtokenmgmt.admin.control.CSVBatchAdminImportFileParser
public class CSVBatchAdminImportFileParser
Comma Separated File Batch Admin Importer that reads a rows of text and converts them into AdminDataVO It's configured in global.properties with the following settings csvbatchadminimport.columnseparator (default ",") Each row should have the following order: "unique user id","full name","department (optional)"
| Method Summary | |
|---|---|
boolean |
hasMore()
|
void |
init(java.lang.String orgId)
Initialization method that should be called before any users are parsed form the data. |
AdminDataVO |
next()
Fetches the next available AdminDataVO from the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean hasMore()
hasMore in interface IBatchAdminImportFileParserIBatchAdminImportFileParser.hasMore()
public AdminDataVO next()
throws java.text.ParseException
IBatchAdminImportFileParser
next in interface IBatchAdminImportFileParserjava.text.ParseException - if the row in the import was invalid and couldn't
be parsed properly.IBatchAdminImportFileParser.next()public void init(java.lang.String orgId)
IBatchAdminImportFileParser
init in interface IBatchAdminImportFileParserorgId - organization id of organization to import users to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||