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(AreaTree atree, OutputStream os, String mimeType)voidoutputRDF(Page page, OutputStream os, String mimeType)voidwriteOutput(AreaTree atree, Page page, OutputStream os, Export.Format format)voidwriteOutput(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(Page page, OutputStream os, Export.Format format) throws IOException
- Throws:
IOException
-
outputRDF
public void outputRDF(Page page, OutputStream os, String mimeType) throws IOException
- Throws:
IOException
-
writeOutput
public void writeOutput(AreaTree atree, Page page, OutputStream os, Export.Format format) throws IOException
- Throws:
IOException
-
outputRDF
public void outputRDF(AreaTree atree, OutputStream os, String mimeType) throws IOException
- Throws:
IOException
-
-