public FileFormInputStream()

in java/src/main/java/com/aliyun/fileform/FileFormInputStream.java [26:35]


    public FileFormInputStream(Map<String, Object> form, String boundary) {
        this.boundary = boundary;
        this.form = form;
        keys = form.keySet().toArray(new String[]{});
        try {
            this.endInputStream = new ByteArrayInputStream(("--" + boundary + "--\r\n").getBytes("UTF-8"));
        } catch (UnsupportedEncodingException e) {
            throw new RuntimeException(e);
        }
    }