public interface URLHandler
Modifier and Type | Method and Description |
---|---|
boolean |
accept(URL url)
Returns true if this URL handler is able to open the specified URL.
|
void |
openURL(URL url)
Opens a given url.
|
boolean accept(URL url) throws IOException
url
- The URL to test.IOException
void openURL(URL url) throws IOException
url
- The URL to openIOException
Copyright © 2018. All rights reserved.