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 java.lang.String
getName()
Get the entry's namejava.lang.String
getNameWithinArchive()
Get the relative name of the entry within the archive.InputStreamAccess
getStreamAccess()
Get access to the stream for the entry
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the entry's name- Returns:
- The name
-
getNameWithinArchive
java.lang.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
-
-