Package org.sonatype.maven.polyglot.io
Class ModelReaderSupport
- java.lang.Object
-
- org.sonatype.maven.polyglot.io.ModelReaderSupport
-
- All Implemented Interfaces:
org.apache.maven.model.io.ModelReader
- Direct Known Subclasses:
AtomModelReader,XMLModelReader
public abstract class ModelReaderSupport extends java.lang.Object implements org.apache.maven.model.io.ModelReaderSupport forModelReaderimplementations.- Since:
- 0.7
-
-
Constructor Summary
Constructors Constructor Description ModelReaderSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.nio.charset.CharsetgetCharset(java.util.Map<java.lang.String,?> options)org.apache.maven.model.Modelread(java.io.File input, java.util.Map<java.lang.String,?> options)org.apache.maven.model.Modelread(java.io.InputStream input, java.util.Map<java.lang.String,?> options)
-
-
-
Method Detail
-
read
public org.apache.maven.model.Model read(java.io.File input, java.util.Map<java.lang.String,?> options) throws java.io.IOException- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
java.io.IOException
-
read
public org.apache.maven.model.Model read(java.io.InputStream input, java.util.Map<java.lang.String,?> options) throws java.io.IOException- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
java.io.IOException
-
getCharset
protected java.nio.charset.Charset getCharset(java.util.Map<java.lang.String,?> options)
-
-