MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / findBlock

Method findBlock

src/main/java/IE/ConfigData.java:383–390  ·  view source on GitHub ↗
(String source, String needle)

Source from the content-addressed store, hash-verified

381 }
382
383 private String findBlock(String source, String needle){
384 int start =source.indexOf("<"+needle+">");
385 int end = source.indexOf("</"+needle+">");
386 if (start<0 || end<0)
387 return null;
388
389 return source.substring(start+3, end);
390 }
391
392 private String loadFile() {
393 FileIO f=FileIO.createConnection(file);

Callers 1

iDataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected