org.hudsonci.maven.plugin.builder.internal
Class MavenVersionParser

java.lang.Object
  extended by org.hudsonci.maven.plugin.builder.internal.MavenVersionParser

public class MavenVersionParser
extends Object

Parse Maven version from mvn --version output.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
MavenVersionParser()
           
 
Method Summary
 String parse(BufferedReader reader)
           
 String parse(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenVersionParser

public MavenVersionParser()
Method Detail

parse

public String parse(BufferedReader reader)
             throws IOException
Throws:
IOException

parse

public String parse(String text)
             throws IOException
Throws:
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.