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.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
readAll
java.util.Map<java.lang.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(java.io.Reader in)
throws ModuleManagementException
- Throws:
ModuleManagementException
readFromResource
ModuleDefinition readFromResource(java.lang.String resourcePath)
throws ModuleManagementException
- Throws:
ModuleManagementException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.