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

Method createArrayString

src/main/java/IE/ConfigData.java:192–204  ·  view source on GitHub ↗
(Vector array)

Source from the content-addressed store, hash-verified

190 }
191
192 public StringBuffer createArrayString(Vector array) {
193 StringBuffer body = new StringBuffer();
194
195 for (Enumeration e=array.elements(); e.hasMoreElements();) {
196 keyValue i=(keyValue)e.nextElement();
197 body.append("<i><k>")
198 .append(i.getKey())
199 .append("</k><v>")
200 .append(i.getValue())
201 .append("</v></i>\r\n");
202 }
203 return body;
204 }
205
206 private String getValue(String key) {
207 for (Enumeration e=array.elements(); e.hasMoreElements();) {

Callers 1

exportDataMethod · 0.95

Calls 4

getKeyMethod · 0.95
getValueMethod · 0.95
elementsMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected