java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.sig.NativeSignaturePackageEntry |
Represents a signature package available through the NativeSignatureDBManager
. The
corresponding signatures are not necessarily loaded in memory (see
isLoadedInMemory()
.
The entry also stores signatures intended to be written into the package, see
getSignatureToWrite()
.
Notes: once loaded in memory, the signatures are not stored in this class, but in an internal
storage of the NativeSignatureDBManager
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | NativeSignaturePackageEntry.PackageStatus |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NativeSignaturePackageEntry(File file, NativeSignaturePackageMetadata metadata) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addSignatureToWrite(INativeSignature sig)
Add a signature to be written into the package.
| ||||||||||
void | clearSignaturesToWrite() | ||||||||||
void | decrementOpenHandle() | ||||||||||
File | getFile() | ||||||||||
NativeSignaturePackageMetadata | getMetadata() | ||||||||||
List<INativeSignature> |
getSignatureToWrite()
Retrieve the signatures that should be added to the package.
| ||||||||||
long |
getSize()
Get the package file size in bytes.
| ||||||||||
NativeSignaturePackageEntry.PackageStatus | getStatus() | ||||||||||
void | incrementOpenHandle() | ||||||||||
boolean | isActive() | ||||||||||
boolean | isLoadedInMemory() | ||||||||||
boolean |
isUserCreated()
Returns true if the package was created by a user, false if it is an official PNF Software
package.
| ||||||||||
void | setStatus(NativeSignaturePackageEntry.PackageStatus status) | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Add a signature to be written into the package.
Retrieve the signatures that should be added to the package.
Get the package file size in bytes.
Returns true if the package was created by a user, false if it is an official PNF Software package.