Package org.revapi
Interface Archive.Versioned
-
- All Superinterfaces:
Archive
- Enclosing interface:
- Archive
public static interface Archive.Versioned extends Archive
Extension of the archive interface that can also provide the version of the archive. This can be used by certain extensions like theSemverIgnoreTransform
.Note that it is the responsibility of the caller of Revapi to provide archives which implement this interface.
- Since:
- 0.4.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.revapi.Archive
Archive.Role, Archive.Versioned
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBaseName()
String
getVersion()
-
Methods inherited from interface org.revapi.Archive
getName, openStream
-
-
-
-
Method Detail
-
getVersion
String getVersion()
-
getBaseName
String getBaseName()
- Returns:
- the name of the archive without the version (if
Archive.getName()
contains the version in the name).
-
-