public class Connection extends Object
| Constructor and Description |
|---|
Connection(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLocalAddress(String addr) |
InputStream |
open(URL url)
Open an inputStream from the given URL.
|
public InputStream open(URL url) throws IOException
url - The URLIOException - An IOExceptionpublic static boolean isLocalAddress(String addr) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2008–2016 JBoss.org. All rights reserved.