Loads asset specification. The asset-pipeline determines what processors and file types are processible via addon plugins by scanning the classpath for "META-INF/asset-pipeline/asset.specs" files and "META-INF/asset-pipeline/processor.specs" files. The 'asset.specs' file is a line by line list of classes that implement the AssetFile interface. These are automatically added to the list of known specs and are what facilitate clean extensibility of the asset-pipeline. The 'processor.specs' file allows for adding additional Processor implementations to existing AssetFile classes. It is a properties file with the key being the full class name of the Processor implementation and the value being a comma delimited list of full class names of AssetFile implementations to be appended to
Type | Name and description |
---|---|
static String |
FACTORIES_RESOURCE_LOCATION |
static String |
PROCESSORS_RESOURCE_LOCATION |
Type | Name and description |
---|---|
static void |
applyProcessors(ClassLoader classLoader = Thread.currentThread() Loads processor.specs files and appends Processor implementations to matching AssetFile implementations. |
static List<Class<AssetFile>> |
loadSpecifications(ClassLoader classLoader = Thread.currentThread() Load the specifications and return a list of specification classes |
Loads processor.specs files and appends Processor implementations to matching AssetFile implementations.
classLoader
- The classloaderLoad the specifications and return a list of specification classes
classLoader
- The classloader