// 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: | |
// Print all identifiers supported by the currently opened project | |
void printAllAvailableIdentifiers(IUnit anyUnitInProject) { | |
for(IUnitIdentifier id: RuntimeProjectUtil.findProject(anyUnitInProject).getProcessor().getUnitIdentifiers()) { | |
logger.info(id.getFormatType()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment