Fix javadoc
Add definition for new parsing method

It allows to discard version strings which have pre-release or build meta data parts