public abstract class LessSource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LessSource.AbstractHierarchicalSource |
static class |
LessSource.CannotReadFile |
static class |
LessSource.FileNotFound |
static class |
LessSource.FileSource |
static class |
LessSource.StringSource |
static class |
LessSource.StringSourceException |
static class |
LessSource.URLSource |
| Constructor and Description |
|---|
LessSource() |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
getBytes() |
abstract String |
getContent() |
String |
getName()
Less source name.
|
URI |
getURI() |
abstract LessSource |
relativeSource(String filename) |
public abstract LessSource relativeSource(String filename) throws LessSource.FileNotFound, LessSource.CannotReadFile, LessSource.StringSourceException
public abstract String getContent() throws LessSource.FileNotFound, LessSource.CannotReadFile
public abstract byte[] getBytes()
throws LessSource.FileNotFound,
LessSource.CannotReadFile
public URI getURI()
null. If non-null, last path part must be equal to whatever getName() returns.public String getName()
#getAbsoluteURI() returns non null, otherwise last path part.Copyright © 2012-2014. All Rights Reserved.