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

Method fileWriteUtf

src/main/java/io/file/FileIO.java:126–139  ·  view source on GitHub ↗
(String src)

Source from the content-addressed store, hash-verified

124 }
125
126 public void fileWriteUtf(String src) {
127 try {
128 OutputStream os = appendOutputStream();
129 if (os != null) {
130 os.write(src.getBytes("UTF-8"));
131 os.close();
132 os.flush();
133 }
134 close();
135 } catch (IOException ex) {
136 if (StaticData.Debug)
137 ex.printStackTrace();
138 }
139 }
140
141 public abstract OutputStream openOutputStream() throws IOException;
142

Callers 3

exportDataMethod · 0.95
exportDataMethod · 0.95
addMessageListMethod · 0.80

Calls 5

appendOutputStreamMethod · 0.95
closeMethod · 0.95
writeMethod · 0.80
flushMethod · 0.80
getBytesMethod · 0.45

Tested by

no test coverage detected