net.sf.mmm.content.parser.impl.opendoc.ContentParserOth Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-content-parser-impl-opendoc Show documentation
Show all versions of mmm-content-parser-impl-opendoc Show documentation
Content parsers for open-document files (mimetypes "application/vnd.oasis.opendocument.*").
/* $Id: ContentParserOth.java 859 2010-11-18 00:21:03Z hohwille $
* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.content.parser.impl.opendoc;
import javax.inject.Named;
import javax.inject.Singleton;
/**
* This is the implementation of the
* {@link net.sf.mmm.content.parser.api.ContentParser} interface for content of
* the open-document text-web (HTML Document Template) format.
*
* @author Joerg Hohwiller (hohwille at users.sourceforge.net)
*/
@Singleton
@Named
public class ContentParserOth extends AbstractContentParserOpenDoc {
/** The mimetype. */
public static final String KEY_MIMETYPE = "application/vnd.oasis.opendocument.text-web";
/** The default extension. */
public static final String KEY_EXTENSION = "oth";
/**
* The constructor.
*/
public ContentParserOth() {
super();
}
/**
* {@inheritDoc}
*/
public String getExtension() {
return KEY_EXTENSION;
}
/**
* {@inheritDoc}
*/
public String getMimetype() {
return KEY_MIMETYPE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy