public final class ProjectPersistenceManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ProjectPersistenceManager.ProjectHandler
Handler to read project configuration files.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Runnable |
createSaveTask(VPTProject p,
java.lang.String filename)
Creates a runnable task that will save the project's data to the
given config file.
|
static VPTProject |
load(VPTProject p,
java.lang.String file)
Loads a project from the given file name.
|
static void |
registerHandler(NodeHandler nh)
Registers a node handler.
|
public static void registerHandler(NodeHandler nh)
public static VPTProject load(VPTProject p, java.lang.String file)
public static java.lang.Runnable createSaveTask(VPTProject p, java.lang.String filename)
p
- The project to save.filename
- The project config file name.