Class TranscriptReciever

java.lang.Object
  |
  +--TranscriptReciever

public class TranscriptReciever
extends java.lang.Object

The TranscriptReciever class obtains HTTPS access to Dowling College's Banner Database when given a student's user id and password, subsequently providing streamed access to the transcript HTML.


Constructor Summary
TranscriptReciever()
          Constructs a TranscriptReciever object.
 
Method Summary
 java.io.InputStream getTranscriptStream(java.lang.String userId, java.lang.String password)
          Retrieves an InputStream to the student's transcript.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranscriptReciever

public TranscriptReciever()
Constructs a TranscriptReciever object.

Method Detail

getTranscriptStream

public java.io.InputStream getTranscriptStream(java.lang.String userId,
                                               java.lang.String password)
                                        throws java.io.IOException,
                                               TranscriptException,
                                               java.net.MalformedURLException
Retrieves an InputStream to the student's transcript. The InputStream simply returns the raw HTML without any sort of preprocessing.

Parameters:
userId - The student's userId for Banner.
password - The student's password for Banner.
Returns:
An InputStream to the transcript HTML
Throws:
java.io.IOException - If a connection to Banner cannot be obtained.
TranscriptException - If the username and password was invalid.
java.net.MalformedURLException - If the addresses used internally to access Banner are malformed.