Package cz.vutbr.fit.layout.tools.cmd
Class Export
- java.lang.Object
-
- cz.vutbr.fit.layout.tools.CliCommand
-
- cz.vutbr.fit.layout.tools.cmd.Export
-
public class Export extends CliCommand implements Callable<Integer>
- Author:
- burgetr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExport.Format
-
Field Summary
Fields Modifier and Type Field Description protected Export.Formatformatprotected booleanhelpprotected Fileoutfile
-
Constructor Summary
Constructors Constructor Description Export()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercall()voidoutputRDF(cz.vutbr.fit.layout.model.AreaTree atree, OutputStream os, String mimeType)voidoutputRDF(cz.vutbr.fit.layout.model.Page page, OutputStream os, String mimeType)voidwriteOutput(cz.vutbr.fit.layout.model.AreaTree atree, cz.vutbr.fit.layout.model.Page page, OutputStream os, Export.Format format)voidwriteOutput(cz.vutbr.fit.layout.model.Page page, OutputStream os, Export.Format format)-
Methods inherited from class cz.vutbr.fit.layout.tools.CliCommand
errNoAreaTree, errNoArtifact, errNoPage, errNoRepo, getCli, printError, setCli
-
-
-
-
Field Detail
-
help
protected boolean help
-
outfile
protected File outfile
-
format
protected Export.Format format
-
-
Method Detail
-
writeOutput
public void writeOutput(cz.vutbr.fit.layout.model.Page page, OutputStream os, Export.Format format) throws IOException- Throws:
IOException
-
outputRDF
public void outputRDF(cz.vutbr.fit.layout.model.Page page, OutputStream os, String mimeType) throws IOException- Throws:
IOException
-
writeOutput
public void writeOutput(cz.vutbr.fit.layout.model.AreaTree atree, cz.vutbr.fit.layout.model.Page page, OutputStream os, Export.Format format) throws IOException- Throws:
IOException
-
outputRDF
public void outputRDF(cz.vutbr.fit.layout.model.AreaTree atree, OutputStream os, String mimeType) throws IOException- Throws:
IOException
-
-