Package org.hibernate.boot.archive.spi
Interface ArchiveEntry
public interface ArchiveEntry
Represent an entry in the archive.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the entry's nameGet the relative name of the entry within the archive.Get access to the stream for the entry
-
Method Details
-
getName
String getName()Get the entry's name- Returns:
- The name
-
getNameWithinArchive
String getNameWithinArchive()Get the relative name of the entry within the archive. Typically what we are looking for here is the ClassLoader resource lookup name.- Returns:
- The name relative to the archive root
-
getStreamAccess
InputStreamAccess getStreamAccess()Get access to the stream for the entry- Returns:
- Obtain stream access to the entry
-