public class ConversionResult extends Object implements Closeable, Serializable
It holds the converted file and its materials.
Modifier and Type | Class and Description |
---|---|
static class |
ConversionResult.Position |
Constructor and Description |
---|
ConversionResult()
Default constructor
|
ConversionResult(Map<String,List<ConversionResult.Position>> componentPositionMap)
Constructor with assembly component-position map.
|
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() |
Map<String,List<ConversionResult.Position>> |
getComponentPositionMap() |
Path |
getConvertedFile() |
String |
getErrorOutput() |
List<Path> |
getMaterials() |
String |
getStdOutput() |
void |
setErrorOutput(String errorOutput) |
void |
setStdOutput(String stdOutput) |
public ConversionResult()
public ConversionResult(Path convertedFile)
convertedFile
- the converted filepublic ConversionResult(Path convertedFile, List<Path> materials)
convertedFile
- the converted filepublic ConversionResult(Map<String,List<ConversionResult.Position>> componentPositionMap)
componentPositionMap
- Assembly components and positionspublic Path getConvertedFile()
public String getStdOutput()
public void setStdOutput(String stdOutput)
public String getErrorOutput()
public void setErrorOutput(String errorOutput)
public Map<String,List<ConversionResult.Position>> getComponentPositionMap()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2018 DocDoku. All rights reserved.