Package org.hibernate.boot.archive.spi
Interface ArchiveEntry
-
public interface ArchiveEntry
Represent an entry in the archive.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Get the entry's nameString
getNameWithinArchive()
Get the relative name of the entry within the archive.InputStreamAccess
getStreamAccess()
Get access to the stream for the entry
-
-
-
Method Detail
-
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
-
-