@Named @Singleton public class DefaultVersionParser extends Object implements VersionParser
Constructor and Description |
---|
DefaultVersionParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSnapshot(String version) |
Version |
parseVersion(String version) |
VersionRange |
parseVersionRange(String range) |
public Version parseVersion(String version)
parseVersion
in interface VersionParser
public VersionRange parseVersionRange(String range)
parseVersionRange
in interface VersionParser
public boolean isSnapshot(String version)
isSnapshot
in interface VersionParser
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.