textmaven.application.analyzer.annotator
Class HTMLFrame
java.lang.Object
textmaven.application.analyzer.annotator.HTMLFrame
- public class HTMLFrame
- extends java.lang.Object
Represents the HTML frame which is created from a template file.
Conceptually, it is assumed that the template specifies a HTML frameset. One frame represents the HTML text,
another frame holds the vocabulary, and the third frame is an empty frame into which words are pasted
which are looked up in the HTML text.
- Author:
- krebtho
Constructor Summary |
HTMLFrame(java.net.URL template,
java.lang.String baseDir,
java.lang.String vocab,
java.lang.String text)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLFrame
public HTMLFrame(java.net.URL template,
java.lang.String baseDir,
java.lang.String vocab,
java.lang.String text)
- Constructor
- Parameters:
template
- URL of templatebaseDir
- base directoryvocab
- name of vocabulary filetext
- name of HTML text file
getVocabFrameName
public java.lang.String getVocabFrameName()
- Returns:
- returns name of vocabulary frame
getWordListFrameName
public java.lang.String getWordListFrameName()
- Returns:
- returns name of frame into which looked up words are pasted.
write
public void write(java.io.Writer out)
- Writes instantiated template file into the
Writer
. Parameters in the template file are substituted.
- Parameters:
out
- Writer into which the template file are written
Copyright © 2002-2005 Sourceforge. All Rights Reserved.