|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.submersion.jspshop.adminbrowse.NetConnect
Does the underlying networking flow for the AdminBrowse Applet
AdminBrowse
Field Summary | |
(package private) java.util.HashMap |
data
HashMap containing the data returned from the URL. |
Constructor Summary | |
NetConnect(java.lang.String urlString)
Calls the initialise() function that Connects to the URL passed, and constructs the HashMap for the data. |
Method Summary | |
private void |
buildData(java.io.BufferedInputStream buff)
Takes the raw data from initialise, and builds it into a HashMap |
java.util.HashMap |
getHashData()
Returns the HashMap |
private void |
initialise(java.lang.String urlString)
This code is called by the constructor and actually does the data connection to the URL. |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.util.HashMap data
Constructor Detail |
public NetConnect(java.lang.String urlString)
urlString
- The URL in String format of the Page that gives the
Data for the AdminBrowse applet.Method Detail |
public java.util.HashMap getHashData()
private void initialise(java.lang.String urlString)
urlString
- The URL where to connect to, to get the data required.private void buildData(java.io.BufferedInputStream buff) throws java.io.IOException
buff
- BufferedInputStream containing URL datajava.io.IOException
- See the BufferedInputStream IOException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |