MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / Accounts

Method Accounts

src/main/java/IE/Accounts.java:76–86  ·  view source on GitHub ↗

Creates a new instance of Accounts

(String path, int direction, boolean fromResource)

Source from the content-addressed store, hash-verified

74 * Creates a new instance of Accounts
75 */
76 public Accounts(String path, int direction, boolean fromResource) {
77 accountList = null;
78 accountList = new Vector();
79 this.file = path;
80
81 if (direction == 0) {
82 importData(fromResource);
83 } else {
84 exportData();
85 }
86 }
87
88 public final void importData(boolean fromResource) {
89 String accounts = "";

Callers

nothing calls this directly

Calls 2

importDataMethod · 0.95
exportDataMethod · 0.95

Tested by

no test coverage detected