1 package org.simantics.acorn;
3 import java.io.IOException;
4 import java.nio.file.Path;
6 import org.simantics.acorn.exception.AcornAccessVerificationException;
7 import org.simantics.acorn.exception.IllegalAcornStateException;
9 public interface Persistable {
11 void toFile(Path path) throws IOException ;
12 void fromFile(byte[] data) throws IllegalAcornStateException, AcornAccessVerificationException;