JSesh can be used as a library by Java programmers. The developer's guide comes in two parts, one for each major version of the software:
I'd suggest using the jsesh 8 version for new projects, as there are incompatible changes, and the API is much cleaner.
The JSesh code repository contains a folder called 00_Documents/documentation with an ongoing programmer's documentation which might be more complete that this one.