|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdata.exporters.ExporterTXT
public class ExporterTXT
Class that allows generate the report of a WorkspaceManager. It uses a template text file to generate it.
Field Summary | |
---|---|
private static java.io.File |
template
Path to template file |
Constructor Summary | |
---|---|
ExporterTXT()
|
Method Summary | |
---|---|
static java.lang.String |
getTXT(WorkspaceManager wm)
Generates the report. |
private static java.lang.String |
replaceVars(WorkspaceManager mg,
java.io.File template)
Given the template file and the WorkspaceManager, this method replaces the variables in the template with his concrete values for the WorspaceManager |
static java.io.File |
writeTXT(WorkspaceManager wm)
Creates a temporal file containing the report. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.io.File template
Constructor Detail |
---|
public ExporterTXT()
Method Detail |
---|
public static java.io.File writeTXT(WorkspaceManager wm) throws DataException
wm
- WorkspaceManager wich report will be generated
DataException
public static java.lang.String getTXT(WorkspaceManager wm) throws DataException
wm
- WorkspaceManager wich report will be generated
DataException
private static java.lang.String replaceVars(WorkspaceManager mg, java.io.File template) throws java.io.IOException
mg
- WorkspaceManager wich report will be generatedtemplate
- Template file
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |