- upload(FTPUploadFile, String) - 类 中的静态方法cn.com.fishin.tuz.helper.FTPHelper
-
上传一个文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性
Upload a file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server
- uploadAscii(FTPUploadFile, String) - 类 中的静态方法cn.com.fishin.tuz.helper.FTPHelper
-
上传一个文本文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性
Upload a text file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server
- uploadBinary(FTPUploadFile, String) - 类 中的静态方法cn.com.fishin.tuz.helper.FTPHelper
-
上传一个二进制文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性
Upload a binary file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server
- uploadBinaryToServer(LoginInfo, String, String, InputStream) - 类 中的静态方法cn.com.fishin.tuz.plugin.NetPlugin
-
上传一个二进制文件到 FTP 服务器
注意:
controlEncoding 是网络通信使用的编码,是内部赋值的,外界不需要知道,它的默认值是在 TuzConfig 中
Upload a file to FTP server
Notice:
controlEncoding is used to net transport, default value is in TuzConfig
- uploadBinaryToServer(String, String, InputStream) - 类 中的静态方法cn.com.fishin.tuz.plugin.NetPlugin
-
上传一个二进制文件到 FTP 服务器
注意:
controlEncoding 是网络通信使用的编码,是内部赋值的,外界不需要知道,它的默认值是在 TuzConfig 中
Upload a file to FTP server
Notice:
controlEncoding is used to net transport, default value is in TuzConfig
- uploadTextToServer(LoginInfo, String, String, InputStream, Charset) - 类 中的静态方法cn.com.fishin.tuz.plugin.NetPlugin
-
上传一个文本文件到 FTP 服务器
注意:
由于文本文件可能有编码问题,所以这里多一个文本字符集的参数,
controlEncoding 是网络通信使用的编码,是内部赋值的,外界不需要知道,它的默认值是在 TuzConfig 中
Upload a file to FTP server
Notice:
You should appointed the encoding of text file to avoid encoding problems.
- uploadTextToServer(LoginInfo, String, String, InputStream) - 类 中的静态方法cn.com.fishin.tuz.plugin.NetPlugin
-
上传一个文本文件到 FTP 服务器
注意:
由于文本文件可能有编码问题,这里使用默认配置中的编码来解码,具体请看下面的 @see
controlEncoding 是网络通信使用的编码,是内部赋值的,外界不需要知道,它的默认值是在 TuzConfig 中
Upload a file to FTP server
Notice:
This method use default encoding to decode this text file,
controlEncoding is used to net transport, default value is in TuzConfig
- uploadToServer(FTPUploadFile) - 类 中的静态方法cn.com.fishin.tuz.plugin.NetPlugin
-
上传一个文件到 FTP 服务器
注意:
这个参数包含很多要被上传文件的属性以及 FTP 服务器的属性,
controlEncoding 是网络通信使用的编码,是内部赋值的,外界不需要知道,它的默认值是在 TuzConfig 中
Upload a file to FTP server
Notice:
This argument "file" has many attributes about the file
to be uploaded and info of FTP server.
- use(String, String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
-
获取指定 key 的属性值
fetch the value of the key
- use(String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
-
获取指定 key 的属性值
强烈注意:
如果不指定命名空间,当多个配置文件中的 key 值一样的时候,
这个方法无法保证返回你需要的那个 key 值对应的 value!!
- useGracefully(String, String, String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
-
获取指定 key 的属性值
fetch the value of the key
- useGracefully(String, String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
-
获取指定 key 的属性值
强烈注意:
如果不指定命名空间,当多个配置文件中的 key 值一样的时候,
这个方法无法保证返回你需要的那个 key 值对应的 value!!
- useInstance(String, Class<T>) - 类 中的静态方法cn.com.fishin.tuz.plugin.DiPlugin
-
得到类实例
这里会根据 key 值获取 value,并且利用反射生成实例对象
Get class instance
Use reflect to instance a new object with given value of key
- useInstance(String, String, Class<T>) - 类 中的静态方法cn.com.fishin.tuz.plugin.DiPlugin
-
得到类实例
这里会根据 key 值获取 value,并且利用反射生成实例对象
Get class instance
Use reflect to instance a new object with given value of key
- useInstance(Class<T>) - 类 中的静态方法cn.com.fishin.tuz.plugin.DiPlugin
-
得到类实例
这里会根据 classType 的 getSimpleName() 去获取 key,并且利用反射生成实例对象
Get class instance
Use reflect to instance a new object with given classType's simpleName