@ComponentSpecification public interface ContentParserService
ContentParsers.| Modifier and Type | Method and Description |
|---|---|
ContentParser |
getGenericParser()
This method gets a generic
parser that can be used as
fallback if no specific parser is available. |
ContentParser |
getParser(String key)
This method gets the
parser for the given
key. |
ContentParser getGenericParser()
parser that can be used as
fallback if no specific parser is available.ContentParser getParser(String key)
parser for the given
key.key - is the key identifying the requested parser. You can use the
extension or the
mimetype of the content you want
to parse.parser for the given key or
the generic parser if no specific
parser is available (check ContentParser.getExtension() for
null to figure out).ContentParser.getPrimaryKeys(),
ContentParser.getSecondaryKeys()Copyright © 2001–2016 mmm-Team. All rights reserved.