|Modifier and Type||Method and Description|
public static IFileExporter createExporter(File file) throws FileNotFoundException, IOException
file exporterbased on the extension of the supplied file. The currently known extensions are
ply. The result will be a
binary STL exporterfor the former one and a
Polygon exporterfor the latter.
file- the file to be used
IOException- if an I/O error occurs during the close operation of the file
FileNotFoundException- if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason
UnknownFileExtensionException- if the extension of the given file is unknown
Copyright © 2014–2016, Printing in 3D. All rights reserved.