public class YedUtils
extends java.lang.Object
GraphMLDiagram in yEd.| Modifier and Type | Method and Description |
|---|---|
static YedUtils |
getInstance()
Return the unique instance.
|
java.lang.Process |
getProcess()
Return the yEd process.
|
java.io.File |
getYedInstallDir()
Return the yEd install directory.
|
java.io.File |
openInYed(GraphMLDiagram graphML)
Open a
GraphMLDiagram in yEd. |
void |
openInYed(GraphMLDiagram graphML,
java.io.File tmpFile)
Open a
GraphMLDiagram in yEd. |
void |
setYedInstallDir(java.io.File yEdDirectory)
Set the yEd install directory.
|
public static YedUtils getInstance()
public void setYedInstallDir(java.io.File yEdDirectory)
throws YedProcessException
yEdDirectory - the install directoryYedProcessException - if the yEd directory is incorrect, or does not contain a yEd.exe filepublic java.io.File getYedInstallDir()
public java.io.File openInYed(GraphMLDiagram graphML) throws YedProcessException
GraphMLDiagram in yEd.graphML - the GraphMLDiagramYedProcessException - if the yEd installation could not be found, or the yEd process failspublic void openInYed(GraphMLDiagram graphML, java.io.File tmpFile) throws YedProcessException
GraphMLDiagram in yEd.graphML - the GraphMLDiagramtmpFile - the file used to serialize the GraphMLDiagram and open yEdYedProcessException - if the yEd installation could not be found, or the yEd process failspublic java.lang.Process getProcess()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence