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.
|
static void |
validateCounts(int expected,
int actual,
java.lang.String errorMessage) |
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.IOExceptionpublic static void validateCounts(int expected,
int actual,
java.lang.String errorMessage)
throws InvalidTableException
InvalidTableExceptionCopyright © 2022 Planetary Data System. All rights reserved.