public static void parseMarkedUpFile(final File file) throws IOException {
  final Iterator<String> lines=Util.readFileLineByLine(file);
  while (lines.hasNext()) {
    String line=lines.next();
    if (line.isEmpty() || line.startsWith("#")) {
      continue;
    }
    line=line.replaceAll(":B","");
    categoryToMarkedUpCategory.put(Category.valueOf(line),line);
  }
}

public static void parseMarkedUpFile ( final File file ) throws IOException { final Iterator < String > lines = Util . readFileLineByLine ( file ) ; while ( lines . hasNext ( ) ) { String line = lines . next ( ) ; if ( line . isEmpty ( ) || line . startsWith ( "#" ) ) { continue ; } line = line . replaceAll ( ":B" , "" ) ; categoryToMarkedUpCategory . put ( Category . valueOf ( line ) , line ) ; } }
loads co - indexation information from the specified file .
