Package org.sonatype.maven.polyglot
Class PolyglotModelTranslator
java.lang.Object
org.sonatype.maven.polyglot.PolyglotModelTranslator
Translates between polyglot model formats.
- Since:
- 0.7
- Author:
- Jason Dillon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
translate
(InputStream input, Map<String, ?> inputOptions, OutputStream output, Map<String, ?> outputOptions) void
void
void
-
Field Details
-
log
@Requirement protected org.codehaus.plexus.logging.Logger log
-
-
Constructor Details
-
PolyglotModelTranslator
public PolyglotModelTranslator()
-
-
Method Details
-
translate
public void translate(File input, File output) throws IOException, org.apache.maven.model.io.ModelParseException - Throws:
IOException
org.apache.maven.model.io.ModelParseException
-
translate
public void translate(File input, Map<String, ?> inputOptions, File output, Map<String, throws IOException, org.apache.maven.model.io.ModelParseException?> outputOptions) - Throws:
IOException
org.apache.maven.model.io.ModelParseException
-
translate
public void translate(URL input, URL output) throws IOException, org.apache.maven.model.io.ModelParseException - Throws:
IOException
org.apache.maven.model.io.ModelParseException
-
translate
public void translate(URL input, Map<String, ?> inputOptions, URL output, Map<String, throws IOException, org.apache.maven.model.io.ModelParseException?> outputOptions) - Throws:
IOException
org.apache.maven.model.io.ModelParseException
-
translate
public void translate(InputStream input, Map<String, ?> inputOptions, OutputStream output, Map<String, throws IOException, org.apache.maven.model.io.ModelParseException?> outputOptions) - Throws:
IOException
org.apache.maven.model.io.ModelParseException
-
translate
public void translate(Reader input, Map<String, ?> inputOptions, Writer output, Map<String, throws IOException, org.apache.maven.model.io.ModelParseException?> outputOptions) - Throws:
IOException
org.apache.maven.model.io.ModelParseException
-