MCPcopy Create free account
hub / github.com/MTrop/DoomTools / css

Method css

src/main/java/net/mtrop/doom/tools/struct/HTMLWriter.java:871–874  ·  view source on GitHub ↗

Writes a single LINK tag with "stylesheet" relationship and an HREF to the resource. @param resourcePath the URI/URL to the style sheet. @return this writer. @see #tag(String, Attribute...)

(String resourcePath)

Source from the content-addressed store, hash-verified

869 * @see #tag(String, Attribute...)
870 */
871 public HTMLWriter css(String resourcePath)
872 {
873 return tag("link", rel("stylesheet"), href(resourcePath));
874 }
875
876 /**
877 * Writes an empty script element with type "text/javascript" and a "src" path to the script resource.

Callers

nothing calls this directly

Calls 3

tagMethod · 0.95
relMethod · 0.95
hrefMethod · 0.95

Tested by

no test coverage detected