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

Method HistoryLoader

src/main/java/History/HistoryLoader.java:68–77  ·  view source on GitHub ↗
(String file, boolean smiles)

Source from the content-addressed store, hash-verified

66 public final static int MESSAGE_MARKER_OTHER=0;
67
68 public HistoryLoader(String file, boolean smiles) {
69 this.smiles = smiles;
70 cf = Config.getInstance();
71//#ifdef DETRANSLIT
72 fileName = util.DeTranslit.getInstance().get_actual_filename(file);
73//#endif
74 fileName = new File(cf.msgPath, StringUtils.replaceBadChars(file) + ".txt").getPath();
75
76 fileSize = getFileSize();
77 }
78
79 public Vector stepBegin() {
80 current_index = -last_m-4;

Callers

nothing calls this directly

Calls 5

getInstanceMethod · 0.95
replaceBadCharsMethod · 0.95
getFileSizeMethod · 0.95
get_actual_filenameMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected