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

Method findBlock

src/main/java/IE/ArchiveTemplates.java:124–131  ·  view source on GitHub ↗
(String source, String _start, String _end)

Source from the content-addressed store, hash-verified

122 }
123
124 private String findBlock(String source, String _start, String _end){
125 String block = "";
126 int start =source.indexOf(_start); int end = source.indexOf(_end);
127 if (start<0 || end<0)
128 return block;
129
130 return source.substring(start+_start.length(), end);
131 }
132
133 public final void exportData(String arhPath) {
134 int items=getItemCount();

Callers 1

importDataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected