public class Import extends Object
| Constructor and Description |
|---|
Import(String importUri,
String absoluteUri)
Create a file import.
|
Import(String importUri,
String absoluteUri,
String contents)
Create a string import.
|
Import(String importUri,
String absoluteUri,
String contents,
String sourceMap)
Create a string import.
|
Import(URI importUri,
URI absoluteUri)
Create a file import.
|
Import(URI importUri,
URI absoluteUri,
String contents)
Create a string import.
|
Import(URI importUri,
URI absoluteUri,
String contents,
String sourceMap)
Create a string import.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
getAbsoluteUri()
Get the absolute uri.
|
String |
getContents()
Return the in-memory sass code.
|
URI |
getImportUri()
Get the import uri.
|
String |
getSourceMap()
Return the in-memory source map.
|
public Import(URI importUri, URI absoluteUri)
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.public Import(URI importUri, URI absoluteUri, 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(URI importUri, URI absoluteUri, String contents, 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(String importUri, String absoluteUri) throws URISyntaxException
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.URISyntaxExceptionpublic Import(String importUri, String absoluteUri, String contents) throws URISyntaxException
importUri - The file uri relative to the base uri.absoluteUri - The base uri for this import.contents - The in-memory sass code.URISyntaxExceptionpublic Import(String importUri, String absoluteUri, String contents, String sourceMap) throws 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.URISyntaxExceptionpublic URI getImportUri()
public URI getAbsoluteUri()
public String getContents()
public String getSourceMap()
Copyright © 2016 bit3. All rights reserved.