Class MediaTest


  • public class MediaTest
    extends TokenTest
    媒体上传下载测试
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • MediaTest

        public MediaTest()
    • Method Detail

      • init

        public void init()
      • upload

        public void upload()
                    throws IOException,
                           com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        IOException
        com.foxinmy.weixin4j.exception.WeixinException
      • download

        public void download()
                      throws com.foxinmy.weixin4j.exception.WeixinException,
                             IOException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
        IOException
      • listAll

        public void listAll()
                     throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
      • uploadFile

        public void uploadFile()
                        throws IOException,
                               com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        IOException
        com.foxinmy.weixin4j.exception.WeixinException
      • downloadFile

        public void downloadFile()
                          throws com.foxinmy.weixin4j.exception.WeixinException
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException