MCPcopy Create free account
hub / github.com/DentonW/DevIL / dumpFile

Method dumpFile

DevIL-docs/DocBuilder.java:607–617  ·  view source on GitHub ↗
(String file, String data)

Source from the content-addressed store, hash-verified

605 }
606
607 private static final void dumpFile(String file, String data) {
608 try {
609 PrintStream fout = new PrintStream(new FileOutputStream(file));
610 fout.print(data);
611 fout.close();
612 fout = null;
613 } catch(Exception ex) {
614 System.out.println("[Error] Can't Create File:" + file);
615 System.out.println(ex);
616 }
617 }
618
619 private static final int strcmp(String src1, String src2) {
620 return src1.compareTo(src2);

Callers 1

workMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected