MCPcopy Create free account
hub / github.com/annmuor/jnode / write

Method write

jnode-core/src/jnode/store/XMLSerializer.java:36–43  ·  view source on GitHub ↗
(Object f, String filename)

Source from the content-addressed store, hash-verified

34 }
35
36 public static void write(Object f, String filename) throws FileNotFoundException {
37 XMLEncoder encoder =
38 new XMLEncoder(
39 new BufferedOutputStream(
40 new FileOutputStream(filename)));
41 encoder.writeObject(f);
42 encoder.close();
43 }
44
45 public static Object read(String filename) throws FileNotFoundException {
46 XMLDecoder decoder =

Callers 3

storeValueMethod · 0.95
loadAndDropMethod · 0.95
storeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected