info.magnolia.module.delta
Class AddMimeMappingTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.AddMimeMappingTask
- All Implemented Interfaces:
- Task
public class AddMimeMappingTask
- extends AbstractRepositoryTask
Task that adds a mime mapping to server/MIMEMapping
.
- Version:
- $Revision: $ ($Author: $)
- Author:
- fgiust
AddMimeMappingTask
public AddMimeMappingTask(String extension,
String mime,
String icon)
- Parameters:
extension
- Extension (without the .
)mime
- mime type.icon
- Icon path.
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
-
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.