# Class MMavenMetadata

java.lang.Object
com.io7m.montarre.xml.MMavenMetadata

public final class MMavenMetadata extends Object
Functions to extract version information from Maven Metadata.

See Also:
  - "https://maven.apache.org/repositories/metadata.html"

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static final record`
  `MMavenMetadata.SnapshotVersion`
  Information about a snapshot version.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static MMavenMetadata.SnapshotVersion`
  `extractSnapshotVersion(InputStream stream)`
  Extract a snapshot version from the given metadata stream.

  ### Methods inherited from class java.lang.Object

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

- ## Method Details

  - ### extractSnapshotVersion

    public static MMavenMetadata.SnapshotVersion extractSnapshotVersion(InputStream stream) throws IOException
    Extract a snapshot version from the given metadata stream.
    Parameters:
      `stream` - The stream
    Returns:
      The snapshot version
    Throws:
      `IOException` - On errors