public static class HeaderSource.UrlHeaderSource extends HeaderSource
HeaderSource loaded from a URL.HeaderSource.LiteralHeaderSource, HeaderSource.UrlHeaderSourcecontent| Constructor and Description |
|---|
UrlHeaderSource(URL url,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFromUrl(URL location)
Retuns
true if this HeaderSource was loaded from the URL given in the location parameter
or false otherwise. |
String |
toString() |
getContent, isInline, of, ofpublic UrlHeaderSource(URL url, String encoding) throws IOException
IOExceptionpublic boolean isFromUrl(URL location)
HeaderSourcetrue if this HeaderSource was loaded from the URL given in the location parameter
or false otherwise.isFromUrl in class HeaderSourcelocation - the URL to tell if this HeaderSource was loaded from ittrue if this HeaderSource was loaded from the URL given in the location parameter
or false otherwiseCopyright © 2008–2016 Mycila. All rights reserved.