01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: package de.uka.ilkd.key.util.keydoc.html;
09:
10: /** Class containing the code for the .key files HTML documentation.
11: */
12: class HTMLFile {
13: private StringBuffer htmlFile;
14:
15: /** Constructor turning a StringBuffer into a HTMLFile representation
16: */
17: public HTMLFile(StringBuffer htmlFile) {
18: this .htmlFile = htmlFile;
19: }
20:
21: public HTMLFile(String htmlFile) {
22: this .htmlFile = new StringBuffer(htmlFile);
23: }
24:
25: /**
26: Returns the String representation of the contained HTML file.
27: */
28: public String getHTMLFileAsString() {
29: return htmlFile.toString();
30: }
31: }
|