public XwavesLabelfileReader(Reader reader) throws IOException {
  this.reader=new BufferedReader(reader);
  parseLabels();
  reader.close();
}

public XwavesLabelfileReader ( Reader reader ) throws IOException { this . reader = new BufferedReader ( reader ) ; parseLabels ( ) ; reader . close ( ) ; }
read data from a label file .
