--- /dev/null
+import "Simantics/DB"
+import "File"
+
+
+importJava "org.simantics.graphfile.util.GraphFileUtil" where
+ "Writes contents of a file to DB, including the timestamp"
+ @JavaName writeDataToGraphSCLhack
+ writeDataToGraph:: File -> Resource -> <WriteGraph>()
+
+ "Writes contents of a byte array to DB"
+ @JavaName writeDataToGraph
+ writeDataToGraphBytes:: ByteArray -> Resource -> <WriteGraph>()
+
+ "Creates a temp file of a GraphFile resource"
+ @JavaName toTempFileSCLhack
+ toTempFile :: Resource -> <ReadGraph> File
+
+ "Writes contents of a GraphFile into a regular File"
+ @JavaName writeDataToFileSCLhack
+ writeDataToFile :: Resource -> File -> <ReadGraph>()
+
+ "Writes contents of a file to DB, including the filename and timestamp"
+ @JavaName toGraphSCLhack
+ toGraphWithPath :: String -> Resource -> <WriteGraph>()
+
+ "Writes contents of a file to DB, including the filename and timestamp"
+ @JavaName toGraph
+ toGraph :: File -> Resource -> <WriteGraph>()
+
+ "Returns contents of a GraphFile as a byte array"
+ @JavaName getData
+ getData :: Resource -> <ReadGraph> ByteArray
+
+ "Returns contents of a GraphFile as a String"
+ @JavaName getDataAsString
+ getDataAsString :: Resource -> <ReadGraph> String
+
+
+
+
+
\ No newline at end of file