Package org.revapi
Interface Archive
-
- All Known Subinterfaces:
Archive.Versioned
- All Known Implementing Classes:
FileArchive,InputStreamArchive
public interface ArchiveA 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 classArchive.RoleThe role of the archive in the API.static interfaceArchive.VersionedExtension 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 StringgetName()InputStreamopenStream()
-
-
-
Method Detail
-
getName
String getName()
-
openStream
InputStream openStream() throws IOException
- Throws:
IOException
-
-