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
- IOException
Copyright © 2010–2018 Planetary Data System. All rights reserved.