This Java library is here to help you to parse Guitar Pro file (v4, ...)
Add this library to your java project. Create a parser for your Guitar pro file
GP4Parser parser = new GP4Parser();
Give it your own class which implement GP4ParserListener. This listener will be aware then the parser read the song name, when the parser read a note, .... With this information, you'll be able to retrieve informations that you'll need into your application
parser.setListener(yourListener);
Then just read your Guitar Pro file :
parser.openFile(yourFile);
Just check the example project avaible in this repository
Clone this repository, and perform this maven command to compile/test/package it !
mvn install
The packaged java library will be located into the target directory that will be created by maven.