package org.simantics.acorn; import java.io.IOException; import java.nio.file.Path; import org.simantics.acorn.exception.AcornAccessVerificationException; import org.simantics.acorn.exception.IllegalAcornStateException; import org.simantics.db.exception.SDBException; public interface Persistable { void toFile(Path path) throws IOException ; void fromFile(byte[] data) throws IllegalAcornStateException, AcornAccessVerificationException; }