Interface ShapeExporter
-
- All Known Implementing Classes:
ImageShapeExporter,SourceShapeExporter,TextShapeExporter
public interface ShapeExporter
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidexport(Shape shape, java.io.File file)Export a single shape to the File.voidexport(Shape shape, java.io.OutputStream outputStream)Export a single shape to the OutputStream.default voidexport(Shape shape, java.nio.file.Path path)Export a single shape to the Path.default voidexport(ShapeTable shapeTable, java.io.File file)Export the entire shape table to the File.voidexport(ShapeTable shapeTable, java.io.OutputStream outputStream)Export the entire shape table to the OutputStream.default voidexport(ShapeTable shapeTable, java.nio.file.Path path)Export the entire shape table to the Path.static ImageShapeExporter.Builderimage()static SourceShapeExporter.Buildersource()static TextShapeExporter.Buildertext()
-
-
-
Method Detail
-
export
void export(Shape shape, java.io.OutputStream outputStream) throws java.io.IOException
Export a single shape to the OutputStream.- Throws:
java.io.IOException
-
export
default void export(Shape shape, java.io.File file) throws java.io.IOException
Export a single shape to the File.- Throws:
java.io.IOException
-
export
default void export(Shape shape, java.nio.file.Path path) throws java.io.IOException
Export a single shape to the Path.- Throws:
java.io.IOException
-
export
void export(ShapeTable shapeTable, java.io.OutputStream outputStream) throws java.io.IOException
Export the entire shape table to the OutputStream.- Throws:
java.io.IOException
-
export
default void export(ShapeTable shapeTable, java.io.File file) throws java.io.IOException
Export the entire shape table to the File.- Throws:
java.io.IOException
-
export
default void export(ShapeTable shapeTable, java.nio.file.Path path) throws java.io.IOException
Export the entire shape table to the Path.- Throws:
java.io.IOException
-
text
static TextShapeExporter.Builder text()
-
image
static ImageShapeExporter.Builder image()
-
source
static SourceShapeExporter.Builder source()
-
-