MCPcopy Create free account
hub / github.com/boazy/TWEditorEnhanced / load

Method load

src/main/java/Database.java:109–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 public void load()
110 throws DBException, IOException
111 {
112 if (this.file == null) {
113 throw new IllegalStateException("No database file is available");
114 }
115 FileInputStream in = new FileInputStream(this.file);
116 try {
117 load(in);
118 } finally {
119 in.close();
120 }
121 }
122
123 public void load(InputStream in)
124 throws DBException, IOException

Callers 3

runMethod · 0.95
runMethod · 0.95
mainMethod · 0.45

Calls 5

getIntegerMethod · 0.95
decodeStructMethod · 0.95
closeMethod · 0.45
readMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected