cz.muni.fi.rtc.ISImporter
Class ISPersonImporter
java.lang.Object
cz.muni.fi.rtc.ISImporter.ISPersonImporter
public class ISPersonImporter
- extends java.lang.Object
- Author:
- honza
Class imports people from file in the format generated by
Information system, Masaryk University
Czech howto for IS MUNI:
Zaznamnik ucitele -> Studenti -> Seznam -> Export seznamu vybraných studentů ve tvaru: Excel
The IS MUNI generates this report in WINDOWS-1250 encoding, which is expected in this class
This class contains main method, which expects 2 arguments.
First is location of csv file, second is location of the properties file
Method Summary |
java.util.Set<cz.muni.fi.rtc.teacherWorkbench.model.ImportedPerson> |
getPeople()
Get people with random passwords generated. |
static void |
main(java.lang.String[] args)
Main. |
void |
setReader(java.io.Reader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISPersonImporter
public ISPersonImporter(java.io.Reader reader)
ISPersonImporter
public ISPersonImporter()
- Empty constructor -- reader has to be set using setReader()
main
public static void main(java.lang.String[] args)
- Main. See class comment for usage
- Parameters:
args
- First is location of csv file, second is location of the properties file
setReader
public void setReader(java.io.Reader reader)
getPeople
public java.util.Set<cz.muni.fi.rtc.teacherWorkbench.model.ImportedPerson> getPeople()
- Get people with random passwords generated. These fields are filled:
- UID -- UCO
- email -- UCO@mail.muni.cz
- first
- last
- description -- "Batch imported user by IS Person Importer at "
- rawPassword -- randomly generated