private TOCItem parseLine(String line) {
		int pos = line.indexOf(TOCITEM);
		line = line.substring(pos + TOCITEM.length());
		StringTokenizer st = new StringTokenizer(line, "=\"");
		st.nextToken();
		String text = st.nextToken();
		if (st.hasMoreTokens()) {
			st.nextToken();
		}
		if (!st.hasMoreTokens()) {
			return new TOCItem(text, "");
		}
		String target = st.nextToken();
		return new TOCItem(text, target);
	}
Write the JavaHelp table of contents file.

@throws IOException
Ghidra/Framework/Help/src/main/java/help/TOCConverter.java