Package org.revapi
Interface Archive
-
- All Known Subinterfaces:
Archive.Versioned
- All Known Implementing Classes:
FileArchive
,InputStreamArchive
public interface Archive
A simple abstraction of a file or archive. The archive merely has a name and can be opened as a stream.- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Archive.Role
The role of the archive in the API.static interface
Archive.Versioned
Extension of the archive interface that can also provide the version of the archive.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
InputStream
openStream()
-
-
-
Method Detail
-
getName
String getName()
-
openStream
InputStream openStream() throws IOException
- Throws:
IOException
-
-