Provides an interface for referencing files resolved by the Asset-Pipeline AssetResolvers
Type | Name and description |
---|---|
static String |
compiledExtension |
static List<String> |
contentType |
static List<String> |
extensions |
static List<Class<Processor>> |
processors |
Type | Name and description |
---|---|
AssetFile |
getBaseFile() @return The base file |
String |
getByteDigest() |
Pattern |
getDirectivePattern() Returns the directive pattern used for bundling directive matching. |
String |
getEncoding() @return The encoding to use |
InputStream |
getInputStream() An input stream for the AssetFile |
List<String> |
getMatchedDirectives() @return the list of matched directive options |
String |
getName() The name of the asset file |
String |
getParentPath() The path to the parent |
String |
getPath() The path to the asset file |
AssetResolver |
getSourceResolver() The AssetResolver used to resolve the asset file |
String |
processedStream(AssetCompiler precompiler, Boolean skipCaching) Processes the AssetFile uses the Asset Processor instances |
String |
processedStream(AssetCompiler precompiler) Processes the AssetFile uses the Asset Processor instances |
void |
setBaseFile(AssetFile baseFile) Sets the base file |
void |
setEncoding(String encoding) Sets the encoding to use |
void |
setMatchedDirectives(List<String> matchedDirectives) set the matched directives list |
Returns the directive pattern used for bundling directive matching. Note this pattern should be multi-line capable.
An input stream for the AssetFile
The name of the asset file
The path to the parent
The path to the asset file
The AssetResolver used to resolve the asset file
Processes the AssetFile uses the Asset Processor instances
precompiler
- The AssetCompilerskipCaching
- Optional flag to disable development time cache manager persistence.Processes the AssetFile uses the Asset Processor instances
precompiler
- The AssetCompilerSets the base file
Sets the encoding to use