You could use something like CLI
http://jakarta.apache.org/commons/cli/
Also setting the title on the command line doesn't seem to work
Code:
java -jar /home/kovid/download/BBeBook-0.2.jar -t'test title' test.html && lrf-meta test.html.lrf | grep Title
Title: test.html
Ditto for author
Code:
java -jar /home/kovid/download/BBeBook-0.2.jar -a'test author' test.html && lrf-meta test.html.lrf | grep Author
Author: Unknown Author