public VcfHeader addLine(String line){
  if (isMetaLine(line)) {
    return addMetaInformationLine(line);
  }
 else   if (line.startsWith("#")) {
    return addColumnHeaderLine(line);
  }
 else {
    throw new VcfFormatException("Not a header line: " + line);
  }
}

public VcfHeader addLine ( String line ) { if ( isMetaLine ( line ) ) { return addMetaInformationLine ( line ) ; } else if ( line . startsWith ( "#" ) ) { return addColumnHeaderLine ( line ) ; } else { throw new VcfFormatException ( "Not a header line: " + line ) ; } }
parse and add an arbitrary header / meta line .
