add: http.postMultipart

This commit is contained in:
hyb1996
2017-12-05 17:59:42 +08:00
parent 0473dfbf60
commit e9346f0794
11 changed files with 167 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ public class PFiles {
static final int DEFAULT_BUFFER_SIZE = 8192;
static final String DEFAULT_ENCODING = Charset.defaultCharset().name();
public static Object open(String path, String mode, String encoding, int bufferSize) {
public static PFileInterface open(String path, String mode, String encoding, int bufferSize) {
switch (mode) {
case "r":
return new PReadableTextFile(path, encoding, bufferSize);