public class MementoHelper
extends java.lang.Object
MementoHelper class.
Constructor and Description |
---|
MementoHelper() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.ui.IMemento |
readMementoFromFile(java.io.File stateFile)
readMementoFromFile
|
static org.eclipse.ui.IMemento |
saveMementoToFile(org.eclipse.ui.IMemento memento,
java.io.File stateFile)
saveMementoToFile
|
public static org.eclipse.ui.IMemento readMementoFromFile(java.io.File stateFile) throws java.io.FileNotFoundException
readMementoFromFile
stateFile
- a File
object.java.io.FileNotFoundException
- if any.public static org.eclipse.ui.IMemento saveMementoToFile(org.eclipse.ui.IMemento memento, java.io.File stateFile)
saveMementoToFile
memento
- a org.eclipse.ui.IMemento object.stateFile
- a File
object.Copyright © 2007-2018. All Rights Reserved.