Class UntisDataImport
- java.lang.Object
-
- de.uplanet.lucy.server.schools.untis.UntisDataImport
-
@Scriptable public final class UntisDataImport extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UntisDataImport.GroovyCsvConfiguration
A convenience wrapper class for Groovy scripting.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UntisDataImport.GroovyCsvConfiguration
createCsvConfiguration()
static UntisDataImport.GroovyCsvConfiguration
createCsvConfiguration(String p_strSeparator, String p_strDelimiter)
static CsvDataSet
createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, String p_strTimeZone)
static CsvDataSet
createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, Calendar p_cal)
static CsvDataSet
createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, String p_strPath, String p_strTimeZone)
static CsvDataSet
createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, String p_strPath, Calendar p_cal)
static CsvDataSet
getClassDataSet(File p_dir)
static CsvDataSet
getClassDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding)
static CsvDataSet
getClassDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types)
static CsvDataSet
getDateDataSet(File p_dir)
static CsvDataSet
getDateDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)
static CsvDataSet
getDateDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)
static CsvDataSet
getGPU014DataSet(File p_dir)
static CsvDataSet
getGPU014DataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)
static CsvDataSet
getGPU014DataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)
static CsvDataSet
getLessonDataSet(File p_dir)
static CsvDataSet
getLessonDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)
static CsvDataSet
getLessonDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)
static CsvDataSet
getRoomDataSet(File p_dir)
static CsvDataSet
getRoomDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding)
static CsvDataSet
getRoomDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types)
static CsvDataSet
getSubjectDataSet(File p_dir)
static CsvDataSet
getSubjectDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)
static CsvDataSet
getSubjectDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)
static CsvDataSet
getTeacherDataSet(File p_dir)
static CsvDataSet
getTeacherDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding)
static CsvDataSet
getTeacherDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types)
static CsvDataSet
getTimeDataSet(File p_dir)
static CsvDataSet
getTimeDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)
static CsvDataSet
getTimeDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)
-
-
-
Method Detail
-
createCsvConfiguration
public static UntisDataImport.GroovyCsvConfiguration createCsvConfiguration()
-
createCsvConfiguration
public static UntisDataImport.GroovyCsvConfiguration createCsvConfiguration(String p_strSeparator, String p_strDelimiter)
-
createCsvDataSet
public static CsvDataSet createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, Calendar p_cal) throws IOException
- Throws:
IOException
-
createCsvDataSet
public static CsvDataSet createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, String p_strPath, Calendar p_cal) throws IOException
- Throws:
IOException
-
createCsvDataSet
public static CsvDataSet createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, String p_strTimeZone) throws IOException
- Throws:
IOException
-
createCsvDataSet
public static CsvDataSet createCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, String p_strPath, String p_strTimeZone) throws IOException
- Throws:
IOException
-
getTeacherDataSet
public static CsvDataSet getTeacherDataSet(File p_dir) throws IOException
- Throws:
IOException
-
getTeacherDataSet
public static CsvDataSet getTeacherDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding) throws IOException
- Throws:
IOException
-
getTeacherDataSet
public static CsvDataSet getTeacherDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types) throws IOException
- Throws:
IOException
-
getSubjectDataSet
public static CsvDataSet getSubjectDataSet(File p_dir) throws IOException
- Throws:
IOException
-
getSubjectDataSet
public static CsvDataSet getSubjectDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone) throws IOException
- Throws:
IOException
-
getSubjectDataSet
public static CsvDataSet getSubjectDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types) throws IOException
- Throws:
IOException
-
getRoomDataSet
public static CsvDataSet getRoomDataSet(File p_dir) throws IOException
- Throws:
IOException
-
getRoomDataSet
public static CsvDataSet getRoomDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding) throws IOException
- Throws:
IOException
-
getRoomDataSet
public static CsvDataSet getRoomDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types) throws IOException
- Throws:
IOException
-
getDateDataSet
public static CsvDataSet getDateDataSet(File p_dir) throws IOException
- Throws:
IOException
-
getDateDataSet
public static CsvDataSet getDateDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone) throws IOException
- Throws:
IOException
-
getDateDataSet
public static CsvDataSet getDateDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types) throws IOException
- Throws:
IOException
-
getTimeDataSet
public static CsvDataSet getTimeDataSet(File p_dir) throws IOException
- Throws:
IOException
-
getTimeDataSet
public static CsvDataSet getTimeDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone) throws IOException
- Throws:
IOException
-
getTimeDataSet
public static CsvDataSet getTimeDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types) throws IOException
- Throws:
IOException
-
getClassDataSet
public static CsvDataSet getClassDataSet(File p_dir) throws IOException
- Throws:
IOException
-
getClassDataSet
public static CsvDataSet getClassDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding) throws IOException
- Throws:
IOException
-
getClassDataSet
public static CsvDataSet getClassDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types) throws IOException
- Throws:
IOException
-
getLessonDataSet
public static CsvDataSet getLessonDataSet(File p_dir) throws IOException
- Throws:
IOException
-
getLessonDataSet
public static CsvDataSet getLessonDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone) throws IOException
- Throws:
IOException
-
getLessonDataSet
public static CsvDataSet getLessonDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types) throws IOException
- Throws:
IOException
-
getGPU014DataSet
public static CsvDataSet getGPU014DataSet(File p_dir) throws IOException
- Throws:
IOException
-
getGPU014DataSet
public static CsvDataSet getGPU014DataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone) throws IOException
- Throws:
IOException
-
getGPU014DataSet
public static CsvDataSet getGPU014DataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types) throws IOException
- Throws:
IOException
-
-