|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamUtil
A stateless utility class that provides special handling to support InputStreams and URLConnections over the network. If you intend to support the use of proxy servers, you should use this service.
Field Summary | |
---|---|
static String |
URL_PATTERN
|
Method Summary | |
---|---|
InputStream |
getInputStream(String source)
Gets the input stream from given a string. |
InputStream |
getInputStream(URL source)
Gets the input stream from given URL . |
URLConnection |
getURLConnection(URL source)
Obtain a URLConnection for a given URL . |
Field Detail |
---|
static final String URL_PATTERN
Method Detail |
---|
InputStream getInputStream(String source) throws IOException
source
- The string from which to generate the InputStream.
IOException
InputStream getInputStream(URL source) throws IOException
URL
.
Proxy will be used if available.
source
- The URL from which to generate the InputStream.
IOException
URLConnection getURLConnection(URL source) throws IOException
URLConnection
for a given URL
.
Proxy will be used if available.
source
- The URL from which to generate the URLConnection.
IOException
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |