public class Utility extends Object
Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
static InputStream |
openConnection(URLConnection conn)
Method that opens a connection.
|
static List<URL> |
toURL(List<String> targets) |
static URL |
toURL(String target) |
public static InputStream openConnection(URLConnection conn) throws IOException
conn
- URL ConnectionIOException
- If an error occurred while opening
the stream.public static List<URL> toURL(List<String> targets) throws MalformedURLException
MalformedURLException
public static URL toURL(String target) throws MalformedURLException
MalformedURLException
Copyright © 2010–2016 Planetary Data System. All rights reserved.