public class ConversionResult extends Object implements Closeable, Serializable
It holds the converted file and its materials.
Constructor and Description |
---|
ConversionResult()
Default constructor
|
ConversionResult(Path convertedFile)
Constructor with converted file
|
ConversionResult(Path convertedFile,
List<Path> materials)
Constructor with converted file and materials
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
Path |
getConvertedFile() |
String |
getErrorOutput() |
List<Path> |
getMaterials() |
String |
getStdOutput() |
void |
setConvertedFile(Path convertedFile) |
void |
setErrorOutput(String errorOutput) |
void |
setMaterials(List<Path> materials) |
void |
setStdOutput(String stdOutput) |
public ConversionResult()
public ConversionResult(Path convertedFile)
convertedFile
- the converted filepublic Path getConvertedFile()
public void setConvertedFile(Path convertedFile)
public String getStdOutput()
public void setStdOutput(String stdOutput)
public String getErrorOutput()
public void setErrorOutput(String errorOutput)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2017 DocDoku. All rights reserved.