154 |
} |
} |
155 |
|
|
156 |
protected InputStream getStream(URL page) |
protected InputStream getStream(URL page) |
157 |
|
throws IOException |
158 |
{ |
{ |
159 |
try |
return page.openStream(); |
|
{ |
|
|
return page.openStream(); |
|
|
} |
|
|
catch (Exception e) |
|
|
{ |
|
|
System.out.println("Hhmmm, failed to open stream: " + e); |
|
|
} |
|
|
return null; |
|
160 |
} |
} |
161 |
|
|
162 |
public String getText() |
public String getText() |
203 |
* This method initializes from a stream. |
* This method initializes from a stream. |
204 |
*/ |
*/ |
205 |
public void read(InputStream in, Object desc) |
public void read(InputStream in, Object desc) |
206 |
|
throws IOException |
207 |
{ |
{ |
208 |
} |
} |
209 |
|
|