public class Utility
extends java.lang.Object
Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
static org.xml.sax.InputSource |
openConnection(java.net.URL url) |
static java.io.InputStream |
openConnection(java.net.URLConnection conn)
Method that opens a connection.
|
public static java.io.InputStream openConnection(java.net.URLConnection conn) throws java.io.IOException
conn
- URL Connectionjava.io.IOException
- If an error occurred while opening
the stream.public static org.xml.sax.InputSource openConnection(java.net.URL url) throws java.io.IOException
url
- java.io.IOException
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.