info.magnolia.module.model.reader
Interface ModuleDefinitionReader
- All Known Implementing Classes:
- BetwixtModuleDefinitionReader
public interface ModuleDefinitionReader
ModuleDefinitionReader is responsible for reading/decoding module descriptor files
into ModuleDefinition instances.
readAll
Map<String,ModuleDefinition> readAll()
throws ModuleManagementException
- Reads all found module definitions.
- Returns:
- a Map where the key is the module name.
- Throws:
ModuleManagementException
read
ModuleDefinition read(Reader in)
throws ModuleManagementException
- Throws:
ModuleManagementException
readFromResource
ModuleDefinition readFromResource(String resourcePath)
throws ModuleManagementException
- Throws:
ModuleManagementException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.