public abstract class SchemeExporter<T extends Scheme>
extends java.lang.Object
| Constructor and Description |
|---|
SchemeExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportScheme(Project project,
T scheme,
java.io.OutputStream outputStream)
Writes a scheme to a given
outputStream. |
void |
exportScheme(T scheme,
java.io.OutputStream outputStream)
Deprecated.
|
VirtualFile |
getDefaultDir(Project project) |
java.lang.String |
getDefaultFileName(java.lang.String schemeName) |
abstract java.lang.String |
getExtension() |
@Deprecated public void exportScheme(T scheme, java.io.OutputStream outputStream) throws java.lang.Exception
exportScheme(Project, Scheme, OutputStream).java.lang.Exceptionpublic void exportScheme(Project project, T scheme, java.io.OutputStream outputStream) throws java.lang.Exception
outputStream.scheme - The scheme to export.outputStream - The output stream to write to.project - The optional project, null if there are no open projects.java.lang.Exception - Scheme export exception. Will be reported to UI.public abstract java.lang.String getExtension()
public java.lang.String getDefaultFileName(java.lang.String schemeName)
schemeName - The initial scheme display name.public VirtualFile getDefaultDir(Project project)