edu.udo.cs.yale.gui.templates
Class Template
java.lang.Object
edu.udo.cs.yale.gui.templates.Template
public class Template
- extends java.lang.Object
A template experiment consisting of name, short description, a name for an
experiment file and a list parameters given as String pairs (operator, key).
Templates must look like this:
one line for the name
one line of html description
one line for the experiment file name
Rest of the file: some important parameters in the form operatorname.parametername
- Version:
- $Id: Template.java,v 1.2 2006/08/03 14:39:29 ingomierswa Exp $
- Author:
- Ingo Mierswa, Simon Fischer
Constructor Summary |
Template()
|
Template(java.io.File file)
|
Template(java.lang.String name,
java.lang.String description,
java.lang.String configFile,
java.util.List<java.lang.String[]> parameters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private java.lang.String name
description
private java.lang.String description
configFile
private java.lang.String configFile
parameters
private java.util.List<java.lang.String[]> parameters
templateFile
private java.io.File templateFile
Template
public Template()
Template
public Template(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
Template
public Template(java.lang.String name,
java.lang.String description,
java.lang.String configFile,
java.util.List<java.lang.String[]> parameters)
getFile
public java.io.File getFile()
getFilename
public java.lang.String getFilename()
getName
public java.lang.String getName()
getDescription
public java.lang.String getDescription()
getParameters
public java.util.List<java.lang.String[]> getParameters()
toHTML
public java.lang.String toHTML()
save
public void save(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001-2006