Added method for easier Java compatibility.
Added test calling the Manchester parser from Java.