public interface SubstitutionScheduleParser
SubstitutionScheduleData object to load and
parse the current substitution schedule and return the result as a SubstitutionSchedule object.| Modifier and Type | Method and Description |
|---|---|
Credential |
getCredential() |
SubstitutionSchedule |
getSubstitutionSchedule()
Downloads and parses the substitution schedule
|
boolean |
isPersonal()
Some substitution schedule systems allow the user to only see his "own" substitution schedule depending on the
credentials he enters.
|
void |
setCredential(Credential credential) |
SubstitutionSchedule getSubstitutionSchedule() throws IOException, org.json.JSONException, CredentialInvalidException
SubstitutionScheduleIOException - Connection or parsing errororg.json.JSONException - Error with the JSON configurationCredentialInvalidException - the supplied credential (BaseParser.setCredential(Credential) is
not correctvoid setCredential(Credential credential)
Credential getCredential()
boolean isPersonal()
true.