Blame view

src/main/java/com/jfinal/weixin/sdk/api/MediaFile.java 1.48 KB
e80df919   atao   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
  package com.jfinal.weixin.sdk.api;
  
  import java.io.BufferedInputStream;
  
  /**
   * 素材文件,参考自____′↘夏悸 wechat
   * @author L.cm
   */
  public class MediaFile {
      private String fileName;
      private String fullName;
      private String suffix;
      private String contentLength;
      private String contentType;
      private BufferedInputStream fileStream;
      private String error;
  
      public String getFileName() {
          return fileName;
      }
      public void setFileName(String fileName) {
          this.fileName = fileName;
      }
      public String getFullName() {
          return fullName;
      }
      public void setFullName(String fullName) {
          this.fullName = fullName;
      }
      public String getSuffix() {
          return suffix;
      }
      public void setSuffix(String suffix) {
          this.suffix = suffix;
      }
      public String getContentLength() {
          return contentLength;
      }
      public void setContentLength(String contentLength) {
          this.contentLength = contentLength;
      }
      public String getContentType() {
          return contentType;
      }
      public void setContentType(String contentType) {
          this.contentType = contentType;
      }
      public BufferedInputStream getFileStream() {
          return fileStream;
      }
      public void setFileStream(BufferedInputStream fileStream) {
          this.fileStream = fileStream;
      }
      public String getError() {
          return error;
      }
      public void setError(String error) {
          this.error = error;
      }
  }