Package org.trellisldp.dropwizard.config
Class AssetConfiguration
- java.lang.Object
-
- org.trellisldp.dropwizard.config.AssetConfiguration
-
public class AssetConfiguration extends Object
Configuration for asset locations.
-
-
Constructor Summary
Constructors Constructor Description AssetConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getCss()Get any stylesheets for use with the HTML view.StringgetIcon()Get an icon for the HTML view.List<String>getJs()Get any javascript resources for use with the HTML view.StringgetTemplate()Get the template filename.voidsetCss(List<String> css)Set any stylesheets for use with the HTML view.voidsetIcon(String icon)Set an icon for the HTML view.voidsetJs(List<String> js)Set any javascript resources for use with the HTML view.voidsetTemplate(String template)Set the template filename.
-
-
-
Method Detail
-
setIcon
public void setIcon(String icon)
Set an icon for the HTML view.- Parameters:
icon- a URL for a site icon
-
getIcon
public String getIcon()
Get an icon for the HTML view.- Returns:
- a URL for a site icon
-
setCss
public void setCss(List<String> css)
Set any stylesheets for use with the HTML view.- Parameters:
css- the CSS URLs
-
getCss
public List<String> getCss()
Get any stylesheets for use with the HTML view.- Returns:
- the CSS URLs
-
setJs
public void setJs(List<String> js)
Set any javascript resources for use with the HTML view.- Parameters:
js- the javascript URLs
-
getJs
public List<String> getJs()
Get any javascript resources for use with the HTML view.- Returns:
- the javascript URLs
-
setTemplate
public void setTemplate(String template)
Set the template filename.- Parameters:
template- the template filename
-
getTemplate
public String getTemplate()
Get the template filename.- Returns:
- the template filename
-
-