public class SVPlanParser extends BaseParser
colorProvider, cookieProvider, cookieStore, credential, executor, scheduleData| Constructor and Description |
|---|
SVPlanParser(SubstitutionScheduleData scheduleData,
CookieProvider cookieProvider) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getAllClasses()
Gibt eine Liste aller verfügbaren Klassen zurück.
|
java.util.List<java.lang.String> |
getAllTeachers() |
SubstitutionSchedule |
getSubstitutionSchedule()
Ruft den Vertretungsplan ab und parst ihn.
|
contains, getClassesFromJson, getClassName, getCredential, getInstance, httpGet, httpGet, httpPost, httpPost, httpPost, httpPost, recognizeType, setCredentialpublic SVPlanParser(SubstitutionScheduleData scheduleData, CookieProvider cookieProvider)
public SubstitutionSchedule getSubstitutionSchedule() throws java.io.IOException, org.json.JSONException, CredentialInvalidException
BaseParsergetSubstitutionSchedule in interface SubstitutionScheduleParsergetSubstitutionSchedule in class BaseParserSubstitutionSchedulejava.io.IOExceptionorg.json.JSONExceptionCredentialInvalidExceptionpublic java.util.List<java.lang.String> getAllClasses()
throws org.json.JSONException
BaseParsergetAllClasses in class BaseParserorg.json.JSONExceptionpublic java.util.List<java.lang.String> getAllTeachers()
getAllTeachers in class BaseParser