public class URLResource extends Object implements org.lesscss.Resource
| Modifier and Type | Field and Description |
|---|---|
static String |
VARIABLES_ALIAS
Jenkins core variables LESS resource alias.
|
| Constructor and Description |
|---|
URLResource(String resPath) |
URLResource(URL resClasspathURL) |
| Modifier and Type | Method and Description |
|---|---|
URLResource |
createRelative(String relativeResourcePath) |
boolean |
exists() |
boolean |
exists(Level logLevel) |
protected static String |
extractThemeVariableName(String relativeResourcePath) |
InputStream |
getInputStream() |
String |
getName() |
URI |
getResConfigURI() |
static boolean |
isCoreVariables(String relativeResourcePath) |
long |
lastModified() |
URLResource |
setCoreVariables(URLResource coreVariables) |
URLResource |
setThemesPlugin(UIThemesPlugin plugin) |
public static final String VARIABLES_ALIAS
public URLResource(URL resClasspathURL)
public URLResource(String resPath)
public URLResource setCoreVariables(URLResource coreVariables)
public URLResource setThemesPlugin(UIThemesPlugin plugin)
public URI getResConfigURI()
public boolean exists()
exists in interface org.lesscss.Resourcepublic boolean exists(Level logLevel)
public long lastModified()
lastModified in interface org.lesscss.Resourcepublic InputStream getInputStream() throws IOException
getInputStream in interface org.lesscss.ResourceIOExceptionpublic URLResource createRelative(String relativeResourcePath) throws IOException
createRelative in interface org.lesscss.ResourceIOExceptionprotected static String extractThemeVariableName(String relativeResourcePath)
public static boolean isCoreVariables(String relativeResourcePath)
public String getName()
getName in interface org.lesscss.ResourceCopyright © 2004-2014. All Rights Reserved.