public class Import
extends java.lang.Object
| Constructor and Description |
|---|
Import(java.lang.String importUri,
java.lang.String absoluteUri)
Create a file import.
|
Import(java.lang.String importUri,
java.lang.String absoluteUri,
java.lang.String contents)
Create a string import.
|
Import(java.lang.String importUri,
java.lang.String absoluteUri,
java.lang.String contents,
java.lang.String sourceMap)
Create a string import.
|
Import(java.net.URI importUri,
java.net.URI absoluteUri)
Create a file import.
|
Import(java.net.URI importUri,
java.net.URI absoluteUri,
java.lang.String contents)
Create a string import.
|
Import(java.net.URI importUri,
java.net.URI absoluteUri,
java.lang.String contents,
java.lang.String sourceMap)
Create a string import.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getAbsoluteUri()
Get the absolute uri.
|
java.lang.String |
getContents()
Return the in-memory sass code.
|
java.net.URI |
getImportUri()
Get the import uri.
|
java.lang.String |
getSourceMap()
Return the in-memory source map.
|
public Import(java.net.URI importUri,
java.net.URI absoluteUri)
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.public Import(java.net.URI importUri,
java.net.URI absoluteUri,
java.lang.String contents)
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.contents - The in-memory sass code.public Import(java.net.URI importUri,
java.net.URI absoluteUri,
java.lang.String contents,
java.lang.String sourceMap)
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.contents - The in-memory sass code.sourceMap - The in-memory source map.public Import(java.lang.String importUri,
java.lang.String absoluteUri)
throws java.net.URISyntaxException
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.java.net.URISyntaxExceptionpublic Import(java.lang.String importUri,
java.lang.String absoluteUri,
java.lang.String contents)
throws java.net.URISyntaxException
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.contents - The in-memory sass code.java.net.URISyntaxExceptionpublic Import(java.lang.String importUri,
java.lang.String absoluteUri,
java.lang.String contents,
java.lang.String sourceMap)
throws java.net.URISyntaxException
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.contents - The in-memory sass code.sourceMap - The in-memory source map.java.net.URISyntaxExceptionpublic java.net.URI getImportUri()
public java.net.URI getAbsoluteUri()
public java.lang.String getContents()
public java.lang.String getSourceMap()