This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// reference: https://www.pnfsoftware.com/jeb/apidoc | |
// Print all identifiers supported by the currently instantiated JEB engines | |
void printAllAvailableIdentifiers(IEnginesContext engctx) { | |
for(IUnitIdentifier id: engctx.getUnitIdentifiers()) { | |
logger.info(id.getFormatType()); | |
} | |
} | |
// ... or: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// sample code, needs adjusting/customizing (see TODO tags) | |
// call reparse() with input information set in a ReparseInformation object | |
public class ReparseInformation { | |
IUnit unit; | |
String subUnitName; | |
String wantedType; | |
long offset; | |
long size; | |
} |
NewerOlder