# Class ARI1VersionParser

java.lang.Object
com.io7m.aradine.instrument.spi1.ARI1VersionParser

public final class ARI1VersionParser extends Object
A parser of version numbers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ARI1Version`
  `parse(String text)`
  Parse a version number.
  `static ARI1Version`
  `parseOSGi(String text)`
  Parse an OSGi style version number.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### parse

    public static ARI1Version parse(String text) throws ARI1VersionException
    Parse a version number.
    Parameters:
      `text` - The version text
    Returns:
      The parsed version
    Throws:
      `ARI1VersionException` - On errors

  - ### parseOSGi

    public static ARI1Version parseOSGi(String text) throws ARI1VersionException
    Parse an OSGi style version number.
    Parameters:
      `text` - The version text
    Returns:
      The parsed version
    Throws:
      `ARI1VersionException` - On errors