public class SerializableSchemeExporter extends SchemeExporter<Scheme>
Constructor and Description |
---|
SerializableSchemeExporter() |
Modifier and Type | Method and Description |
---|---|
void |
exportScheme(Project project,
Scheme scheme,
java.io.OutputStream outputStream)
Writes a scheme to a given
outputStream . |
void |
exportScheme(Scheme scheme,
java.io.OutputStream outputStream)
Deprecated.
|
java.lang.String |
getExtension() |
static void |
writeToStream(SerializableScheme scheme,
java.io.OutputStream outputStream) |
getDefaultDir, getDefaultFileName
public void exportScheme(Project project, Scheme scheme, java.io.OutputStream outputStream) throws java.lang.Exception
SchemeExporter
outputStream
.exportScheme
in class SchemeExporter<Scheme>
project
- The optional project, null if there are no open projects.scheme
- The scheme to export.outputStream
- The output stream to write to.java.lang.Exception
- Scheme export exception. Will be reported to UI.@Deprecated public void exportScheme(Scheme scheme, java.io.OutputStream outputStream) throws java.lang.Exception
exportScheme(Project, Scheme, OutputStream)
exportScheme
in class SchemeExporter<Scheme>
java.lang.Exception
public static void writeToStream(SerializableScheme scheme, java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public java.lang.String getExtension()
getExtension
in class SchemeExporter<Scheme>