Class ModelReaderSupport

java.lang.Object
org.sonatype.maven.polyglot.io.ModelReaderSupport
All Implemented Interfaces:
org.apache.maven.model.io.ModelReader

public abstract class ModelReaderSupport extends Object implements org.apache.maven.model.io.ModelReader
Support for ModelReader implementations.
Since:
0.7
  • Constructor Details

    • ModelReaderSupport

      public ModelReaderSupport()
  • Method Details

    • read

      public org.apache.maven.model.Model read(File input, Map<String,?> options) throws IOException
      Specified by:
      read in interface org.apache.maven.model.io.ModelReader
      Throws:
      IOException
    • read

      public org.apache.maven.model.Model read(InputStream input, Map<String,?> options) throws IOException
      Specified by:
      read in interface org.apache.maven.model.io.ModelReader
      Throws:
      IOException
    • getCharset

      protected Charset getCharset(Map<String,?> options)