Class TranscriptParser
java.lang.Object
|
+--TranscriptParser
- public final class TranscriptParser
- extends java.lang.Object
HTML parser for student transcripts made by Dowling College's Banner Database. Given a
user name and password, this class will retrieve and parse the transcript data on the fly,
subsequently allowing access to the various information obtained via its interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranscriptParser
public TranscriptParser()
- Constructs a TranscriptParser instance.
parse
public void parse(java.lang.String userId,
java.lang.String password)
throws java.io.IOException,
TranscriptException,
java.net.MalformedURLException
- Parses a student's transcript. Given a username and password, this
method will parse all necessary information from a student's
transcript on-the-fly as it is downloaded. This method must
be called before the client should expect legitimate data
to be returned from this class' accessor methods.
- Parameters:
userId - The student's Banner user id.password - The student's Banner password.
- Throws:
java.io.IOException - If access to banner cannot be obtained.
TranscriptException - If the transcript obtained from banner was invalid.
MalformedURLException - If the URL's used internally to access banner are malformed.
getCourses
public java.util.Collection getCourses()
getTransferCreditCount
public int getTransferCreditCount()
getTotalCreditCount
public int getTotalCreditCount()