\r
import org.simantics.databoard.Accessors;\r
import org.simantics.databoard.Bindings;\r
+import org.simantics.databoard.Files;\r
import org.simantics.databoard.accessor.Accessor;\r
import org.simantics.databoard.accessor.MapAccessor;\r
import org.simantics.databoard.accessor.RecordAccessor;\r
this.resultName = result;\r
File file = new File(path);\r
try {\r
- BinaryVariant bv = (BinaryVariant)Accessors.openFile(file);\r
+ BinaryVariant bv = (BinaryVariant)Accessors.openAccessor(file);\r
BinaryRecord br = bv.getValueAccessor();\r
accessor = br;\r
} catch (AccessorConstructionException e) {\r
if(recordingSession == null) return;\r
try {\r
Binding binding = Bindings.getBinding( recordingSession.getClass() );\r
- Accessors.createFile(file, binding, recordingSession);\r
+ Files.createFile(file, binding, recordingSession);\r
} catch (IOException e) {\r
e.printStackTrace();\r
} catch (BindingConstructionException e) {\r