public class Import extends Object
| Constructor and Description |
|---|
Import(URI uri,
URI base)
Create a file import.
|
Import(URI uri,
URI base,
String contents)
Create a string import.
|
Import(URI uri,
URI base,
String contents,
Charset contentsCharset)
Create a string import.
|
Import(URI uri,
URI base,
String contents,
Charset contentsCharset,
String sourceMap)
Create a string import.
|
Import(URI uri,
URI base,
String contents,
Charset contentsCharset,
String sourceMap,
Charset sourceMapCharset)
Create a string import.
|
Import(URI uri,
URI base,
String contents,
String sourceMap)
Create a string import.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
getBase()
Get the base uri.
|
String |
getContents()
Return the in-memory sass code.
|
Charset |
getContentsCharset()
Return the charset of the in-memory sass code.
|
String |
getSourceMap()
Return the in-memory source map.
|
Charset |
getSourceMapCharset()
Return the charset of the in-memory source map.
|
URI |
getUri()
Get the relative file uri.
|
public Import(URI uri, URI base)
uri - The file uri relative to the base uri.base - The base uri for this import.public Import(URI uri, URI base, String contents)
uri - The file uri relative to the base uri.base - The base uri for this import.contents - The in-memory sass code.public Import(URI uri, URI base, String contents, String sourceMap)
uri - The file uri relative to the base uri.base - The base uri for this import.contents - The in-memory sass code.sourceMap - The in-memory source map.public Import(URI uri, URI base, String contents, Charset contentsCharset)
uri - The file uri relative to the base uri.base - The base uri for this import.contents - The in-memory sass code.contentsCharset - The charset of the in-memory sass code.public Import(URI uri, URI base, String contents, Charset contentsCharset, String sourceMap)
uri - The file uri relative to the base uri.base - The base uri for this import.contents - The in-memory sass code.contentsCharset - The charset of the in-memory sass code.sourceMap - The in-memory source map.public Import(URI uri, URI base, String contents, Charset contentsCharset, String sourceMap, Charset sourceMapCharset)
uri - The file uri relative to the base uri.base - The base uri for this import.contents - The in-memory sass code.contentsCharset - The charset of the in-memory sass code.sourceMap - The in-memory source map.sourceMapCharset - The charset of the in-memory source map.public URI getUri()
public URI getBase()
public String getContents()
public Charset getContentsCharset()
public String getSourceMap()
public Charset getSourceMapCharset()
Copyright © 2015 bit3. All rights reserved.