MCPcopy Create free account
hub / github.com/Card-Forge/forge / upload

Method upload

forge-gui/src/main/java/forge/util/HttpUtil.java:32–34  ·  view source on GitHub ↗
(String sURL, String file)

Source from the content-addressed store, hash-verified

30 private static final String BOUNDARY = "--7d021a37605f0";
31
32 public static void upload(String sURL, String file) {
33 upload(sURL, new File(file));
34 }
35
36 public static void upload(String url, Collection<?> data) {
37 File tempFile = null;

Callers

nothing calls this directly

Calls 10

writeFileMethod · 0.95
getInputStreamMethod · 0.80
deleteMethod · 0.65
getNameMethod · 0.65
writeMethod · 0.65
closeMethod · 0.65
readMethod · 0.45
flushMethod · 0.45
appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected