Package | Description |
---|---|
org.revapi | |
org.revapi.base |
Modifier and Type | Interface and Description |
---|---|
static interface |
Archive.Versioned
Extension of the archive interface that can also provide the version of the archive.
|
Modifier and Type | Method and Description |
---|---|
Archive |
Element.getArchive() |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Archive> |
API.getArchives() |
Iterable<? extends Archive> |
API.getSupplementaryArchives()
The set of archives that somehow supplement the main ones (for example they contain
definitions used in the main archives).
|
Modifier and Type | Method and Description |
---|---|
API.Builder |
API.Builder.addArchive(Archive archive) |
API.Builder |
API.Builder.addArchives(Archive... archives) |
API.Builder |
API.Builder.addSupportArchive(Archive archive) |
API.Builder |
API.Builder.addSupportArchives(Archive... archives) |
Archive.Role |
API.getArchiveRole(Archive archive)
Returns the role of the archive in the API.
|
static API.Builder |
API.of(Archive... archives) |
API.Builder |
API.Builder.of(Archive... archives) |
API.Builder |
API.Builder.supportedBy(Archive... archives) |
Modifier and Type | Method and Description |
---|---|
API.Builder |
API.Builder.addArchives(Iterable<? extends Archive> archives) |
API.Builder |
API.Builder.addSupportArchives(Iterable<? extends Archive> archives) |
static API.Builder |
API.of(Iterable<? extends Archive> archives) |
API.Builder |
API.Builder.of(Iterable<? extends Archive> archives) |
API.Builder |
API.Builder.supportedBy(Iterable<? extends Archive> archives) |
Constructor and Description |
---|
API(Iterable<? extends Archive> archives,
Iterable<? extends Archive> supplementaryArchives) |
API(Iterable<? extends Archive> archives,
Iterable<? extends Archive> supplementaryArchives) |
Modifier and Type | Class and Description |
---|---|
class |
FileArchive
A simple implementation of the
Archive interface providing a file as a Revapi
archive. |
class |
InputStreamArchive
A simple implementation of the
Archive interface that uses a "factory" supplier that is able to return a new
input stream representing the archive every time it is called. |
Modifier and Type | Method and Description |
---|---|
Archive |
BaseElement.getArchive() |
Modifier and Type | Method and Description |
---|---|
protected abstract Set<E> |
BaseEagerLoadingArchiveAnalyzer.createElements(Archive archive)
Scans the archive and returns the elements within.
|
protected Set<E> |
ZipArchiveAnalyzer.createElements(Archive archive) |
protected abstract Set<E> |
ZipArchiveAnalyzer.createElements(Archive a,
ZipEntry entry,
InputStream data)
Creates elements out of the provided data.
|
protected void |
BaseElement.setArchive(Archive archive) |
Constructor and Description |
---|
BaseElement(API api,
Archive archive) |
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.