public static class HeaderSource.LiteralHeaderSource extends HeaderSource
HeaderSource built from a lincense header template literal.HeaderSource.LiteralHeaderSource, HeaderSource.UrlHeaderSourcecontent| Constructor and Description |
|---|
LiteralHeaderSource(String content) |
| 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 LiteralHeaderSource(String content)
public 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 itfalse because this HeaderSource.LiteralHeaderSource was not loaded from any URLCopyright © 2008–2016 Mycila. All rights reserved.