public class ConverterUtil extends Object
| Constructor and Description |
|---|
ConverterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.maven.doxia.parser.Parser |
getParser(org.codehaus.plexus.PlexusContainer plexus,
String format,
String[] supportedFormats) |
static org.apache.maven.doxia.sink.SinkFactory |
getSinkFactory(org.codehaus.plexus.PlexusContainer plexus,
String format,
String[] supportedFormats) |
public static org.apache.maven.doxia.parser.Parser getParser(org.codehaus.plexus.PlexusContainer plexus,
String format,
String[] supportedFormats)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException,
UnsupportedFormatException
plexus - not nullformat - not nullsupportedFormats - not nullParser depending on the format.org.codehaus.plexus.component.repository.exception.ComponentLookupException - if could not find the Parser for the given format.UnsupportedFormatException - if the found parser is not instantiated.IllegalArgumentException - if any parameter is nullpublic static org.apache.maven.doxia.sink.SinkFactory getSinkFactory(org.codehaus.plexus.PlexusContainer plexus,
String format,
String[] supportedFormats)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException,
UnsupportedFormatException
plexus - not nullformat - not nullsupportedFormats - not nullSinkFactory depending on the given format.org.codehaus.plexus.component.repository.exception.ComponentLookupException - if could not find the SinkFactory for the given format.UnsupportedFormatException - if the found sink is not instantiated.IllegalArgumentException - if any parameter is nullCopyright © 2005–2023 The Apache Software Foundation. All rights reserved.