]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.acorn/src/org/simantics/acorn/Persistable.java
Merge commit '3b5069d' into develop
[simantics/platform.git] / bundles / org.simantics.acorn / src / org / simantics / acorn / Persistable.java
1 package org.simantics.acorn;
2
3 import java.io.IOException;
4 import java.nio.file.Path;
5
6 import org.simantics.acorn.exception.AcornAccessVerificationException;
7 import org.simantics.acorn.exception.IllegalAcornStateException;
8 import org.simantics.db.exception.SDBException;
9
10 public interface Persistable {
11         
12         void toFile(Path path) throws IOException ;
13         void fromFile(byte[] data) throws IllegalAcornStateException, AcornAccessVerificationException;
14         
15 }