public class Utility extends Object
| Constructor and Description |
|---|
Utility() |
| Modifier and Type | Method and Description |
|---|---|
static InputSource |
openConnection(URL url) |
static InputStream |
openConnection(URLConnection conn)
Method that opens a connection.
|
public static InputStream openConnection(URLConnection conn) throws IOException
conn - URL ConnectionIOException - If an error occurred while opening
the stream.public static InputSource openConnection(URL url) throws IOException
url - IOExceptionCopyright © 2019. All rights reserved.