Package org.sonatype.maven.polyglot.atom.parsing

Examples of org.sonatype.maven.polyglot.atom.parsing.Tokenizer


  public Model read(final Reader input, final Map<String, ?> options) throws IOException {
    assert input != null;

    // Parse the token stream from our pom.atom configuration file.
    Project project = new AtomParser((ModelSource)options.get(ModelProcessor.SOURCE), new Tokenizer(IOUtil.toString(input)).tokenize()).parse();
    return project.toMavenModel();
  }
View Full Code Here

TOP

Related Classes of org.sonatype.maven.polyglot.atom.parsing.Tokenizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.