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 classUntisDataImport.GroovyCsvConfigurationA convenience wrapper class for Groovy scripting.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UntisDataImport.GroovyCsvConfigurationcreateCsvConfiguration()static UntisDataImport.GroovyCsvConfigurationcreateCsvConfiguration(String p_strSeparator, String p_strDelimiter)static CsvDataSetcreateCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, String p_strTimeZone)static CsvDataSetcreateCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, File p_file, Calendar p_cal)static CsvDataSetcreateCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, String p_strPath, String p_strTimeZone)static CsvDataSetcreateCsvDataSet(de.uplanet.lucy.server.datatrans.csv.CsvConfiguration p_cfg, String p_strPath, Calendar p_cal)static CsvDataSetgetClassDataSet(File p_dir)static CsvDataSetgetClassDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding)static CsvDataSetgetClassDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types)static CsvDataSetgetDateDataSet(File p_dir)static CsvDataSetgetDateDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)static CsvDataSetgetDateDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)static CsvDataSetgetGPU014DataSet(File p_dir)static CsvDataSetgetGPU014DataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)static CsvDataSetgetGPU014DataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)static CsvDataSetgetLessonDataSet(File p_dir)static CsvDataSetgetLessonDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)static CsvDataSetgetLessonDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)static CsvDataSetgetRoomDataSet(File p_dir)static CsvDataSetgetRoomDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding)static CsvDataSetgetRoomDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types)static CsvDataSetgetSubjectDataSet(File p_dir)static CsvDataSetgetSubjectDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)static CsvDataSetgetSubjectDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone, List<String> p_types)static CsvDataSetgetTeacherDataSet(File p_dir)static CsvDataSetgetTeacherDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding)static CsvDataSetgetTeacherDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, List<String> p_types)static CsvDataSetgetTimeDataSet(File p_dir)static CsvDataSetgetTimeDataSet(File p_dir, String p_strSeparator, String p_strDelimiter, String p_strEncoding, String p_strTimeZone)static CsvDataSetgetTimeDataSet(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
-
-