question: public void parseLabelMapFromLine ( String labelMapAsLine ) { NexusStreamParser np = new NexusStreamParser ( new StringReader ( labelMapAsLine ) ) ; try { while ( ! np . peekMatchIgnoreCase ( ";" ) ) { String sample = np . getWordRespectCase ( ) ; np . matchIgnoreCase ( ":" ) ; String label = np . getWordRespectCase ( ) ; sample2label . put ( sample , label ) ; } } catch ( IOException e ) { } }
target:  parse label map from line