跳过导航链接
A C D E F G I L M N R S T U W 

A

AbstractPropertiesLoader - cn.com.fishin.tuz.loader中的类
这个抽象类用于加载 .properties 文件 子类需要实现 loadProperties() 方法继而完善工作 This class is used to load .properties file Subclass should override loadProperties() method
AbstractPropertiesLoader() - 类 的构造器cn.com.fishin.tuz.loader.AbstractPropertiesLoader
 

C

ClassHelper - cn.com.fishin.tuz.helper中的类
类帮助器 一些操作类的方法 Class helper Some methods that used to operate class
ClassHelper() - 类 的构造器cn.com.fishin.tuz.helper.ClassHelper
 
ClasspathPropertiesLoader - cn.com.fishin.tuz.loader中的类
Properties 配置文件加载器 这个加载器专门用来加载类路径下的 .properties 配置文件,并返回 Map 集合 Properties file loader This loader is used to load .properties file in classpath
ClasspathPropertiesLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.ClasspathPropertiesLoader
根据资源文件名称构建 Construct with resource file
ClasspathPropertiesLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.ClasspathPropertiesLoader
根据资源文件名称构建 Construct with resource file
ClasspathPropertiesLoader(String, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.ClasspathPropertiesLoader
根据资源文件名称构建 Construct with resource file
cn.com.fishin.tuz.core - 程序包 cn.com.fishin.tuz.core
 
cn.com.fishin.tuz.entity - 程序包 cn.com.fishin.tuz.entity
 
cn.com.fishin.tuz.factory - 程序包 cn.com.fishin.tuz.factory
 
cn.com.fishin.tuz.helper - 程序包 cn.com.fishin.tuz.helper
 
cn.com.fishin.tuz.loader - 程序包 cn.com.fishin.tuz.loader
 
cn.com.fishin.tuz.plugin - 程序包 cn.com.fishin.tuz.plugin
 
connectToFTP(ServerAddress, LoginInfo) - 类 中的静态方法cn.com.fishin.tuz.helper.FTPHelper
连接到 FTP 服务器 返回一个 FTPClient 对象 Connect to FTP server Return a connection to FTP server

D

debug(String) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出调试信息 Output debug message
DiPlugin - cn.com.fishin.tuz.plugin中的类
依赖注入插件 使用过 Spring 的一定知道 DI 和 IOC,这个插件功能类似,但是更加简易化操作,更方便 注意: 在使用这个插件之前必须保证 Tuz 已经初始化!
DiPlugin() - 类 的构造器cn.com.fishin.tuz.plugin.DiPlugin
 
disconnectFromFTP(FTPClient) - 类 中的静态方法cn.com.fishin.tuz.helper.FTPHelper
关闭与 FTP 服务器的连接 Cloase the connection to FTP server

E

error(String, Throwable) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出错误信息 Output error message

F

FileSystemPropertiesLoader - cn.com.fishin.tuz.loader中的类
Properties 配置文件加载器 这个加载器专门用来加载文件系统中的 .properties 配置文件,并返回 Map 集合 Properties file loader This loader is used to load .properties file in file System
FileSystemPropertiesLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.FileSystemPropertiesLoader
根据资源文件名称构建 Construct with resource file
FileSystemPropertiesLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.FileSystemPropertiesLoader
根据资源文件名称构建 Construct with resource file
FileSystemPropertiesLoader(String, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.FileSystemPropertiesLoader
根据资源文件名称构建 Construct with resource file
FTPHelper - cn.com.fishin.tuz.helper中的类
FTP 帮助器 FTP Helper
FTPHelper() - 类 的构造器cn.com.fishin.tuz.helper.FTPHelper
 
FTPUploadFile - cn.com.fishin.tuz.entity中的类
FTP 上传属性信息实体类 通常这些信息包含服务器地址、登录用户信息以及要被上传的文件信息 FTP upload info entity Usually this info includes server address, login user info and file that will be uploaded
FTPUploadFile() - 类 的构造器cn.com.fishin.tuz.entity.FTPUploadFile
 
FTPUploadFileFactory - cn.com.fishin.tuz.factory中的类
FTPUploadFile 工厂类 由于这个上传文件的这个实体类存在很多默认值,所以制造一个默认工厂类 FTPUploadFile factory You should instance a FTPUploadFile by this factory
FTPUploadFileFactory() - 类 的构造器cn.com.fishin.tuz.factory.FTPUploadFileFactory
 
FTPUploadInfo - cn.com.fishin.tuz.entity中的类
已过时。
FTPUploadInfo() - 类 的构造器cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 

G

generateNameSpace() - 类 中的静态方法cn.com.fishin.tuz.helper.NameSpaceHelper
 
getCharset() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getConfig() - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
获取全局配置 Get global setting
getFileType() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getFtpControlEncoding() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
获取 FTP 服务器网络通信使用的编码 Get the encoding of FTP server's net transport
getFtpHost() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
获取 FTP 服务器主机地址 Get the host of FTP server
getFtpPassword() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
获取 FTP 服务器登录用户密码 Get the port of FTP server login password
getFtpPort() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
获取 FTP 服务器应用端口 Get the port of FTP server application
getFtpUser() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
获取 FTP 服务器登录用户 Get the port of FTP server login user
getInputStream() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getInputStream(String) - 类 中的方法cn.com.fishin.tuz.loader.InputStreamPropertiesLoader
已过时。
获得输入流 Get inputStream
getIp() - 类 中的方法cn.com.fishin.tuz.entity.ServerAddress
 
getLocalFileName() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
getLoginInfo() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getLoginInfo() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
getPassword() - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 
getPort() - 类 中的方法cn.com.fishin.tuz.entity.ServerAddress
 
getReader(String, Charset) - 类 中的方法cn.com.fishin.tuz.loader.ClasspathPropertiesLoader
 
getReader(String, Charset) - 类 中的方法cn.com.fishin.tuz.loader.FileSystemPropertiesLoader
 
getReader(String, Charset) - 类 中的方法cn.com.fishin.tuz.loader.ReaderPropertiesLoader
获得输入端 Get reader
getRemoteDirection() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getRemoteDirection() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
getRemoteFileName() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getRemoteFileName() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
getResourceFromClasspath(String) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
从类路径中获得资源路径 Get path from classpath
getResourceFromFileSystem(String) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
从文件系统获得资源路径 Get path from file system
getServerAddress() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getServerAddress() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
getUsername() - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 

I

info(String) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出正常信息 Output info message
init() - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
重新载入默认配置 当你更改了 Tuz 的配置之后,希望回到最原始的默认配置 另外,这里也可以解决一下一些问题,比如,在使用 NetPlugin 的时候, 由于 config 的加载早于 load 方法执行,所以会导致默认配置有些找不到, 当你也遇到类似的问题时,可以尝试在执行 load 方法之后,执行一下这个方法!
InputStreamPropertiesLoader - cn.com.fishin.tuz.loader中的类
已过时。
InputStreamPropertiesLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.InputStreamPropertiesLoader
已过时。
根据资源文件名称构建 Construct with resource file
InputStreamPropertiesLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.InputStreamPropertiesLoader
已过时。
根据资源文件名称构建 Construct with resource file
IOHelper - cn.com.fishin.tuz.helper中的类
路径帮助器 Path helper
IOHelper() - 类 的构造器cn.com.fishin.tuz.helper.IOHelper
 
isSingleton() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
获取类的实例形式,默认是 true,也就是单例模式 Get class instance form, default is singleton

L

load() - 接口 中的方法cn.com.fishin.tuz.core.Loadable
加载资源,主要是配置文件 返回一个 Map 集合,键值就是 key,而 value 就是键值对应的属性值 Load resources Return a Map Collection, the key is the key, and the value is the attribute of the key
load(Loadable) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
加载一个资源文件 Load a resource
load() - 类 中的方法cn.com.fishin.tuz.loader.AbstractPropertiesLoader
 
Loadable - cn.com.fishin.tuz.core中的接口
可加载的接口 实现接口中的加载方法,以获得成为 tuz 插件的资格 Loadable interface You can obtain the power of being a loader of tuz by implementing this interface
loadProperties() - 类 中的方法cn.com.fishin.tuz.loader.AbstractPropertiesLoader
这个方法留给子类实现 这里不管子类从哪里获取 Properties,只要保证能获得就行了 This method is abstract, its subclass should implement
loadProperties() - 类 中的方法cn.com.fishin.tuz.loader.InputStreamPropertiesLoader
已过时。
 
loadProperties() - 类 中的方法cn.com.fishin.tuz.loader.ReaderPropertiesLoader
 
LogHelper - cn.com.fishin.tuz.helper中的类
日志记录帮助类 Log Helper
LogHelper() - 类 的构造器cn.com.fishin.tuz.helper.LogHelper
 
LoginInfo - cn.com.fishin.tuz.entity中的类
用来表示登录信息的实体类 登陆一般有用户名和密码 Login info entity Login info usually has username and password
LoginInfo() - 类 的构造器cn.com.fishin.tuz.entity.LoginInfo
 
LoginInfo(String, String) - 类 的构造器cn.com.fishin.tuz.entity.LoginInfo
 

M

make(int, String, String, InputStream) - 类 中的静态方法cn.com.fishin.tuz.factory.FTPUploadFileFactory
生成一个待上传文件 Create a file to be uploaded
makeAsciiFile(String, String, InputStream) - 类 中的静态方法cn.com.fishin.tuz.factory.FTPUploadFileFactory
生成一个待上传文本文件 Create a text file to be uploaded
makeBinaryFile(String, String, InputStream) - 类 中的静态方法cn.com.fishin.tuz.factory.FTPUploadFileFactory
生成一个待上传二进制文件 Create a binary file to be uploaded

N

namespace() - 接口 中的方法cn.com.fishin.tuz.core.Loadable
获取这个加载资源的命名空间 Get the namespace
namespace() - 类 中的方法cn.com.fishin.tuz.loader.InputStreamPropertiesLoader
已过时。
 
namespace() - 类 中的方法cn.com.fishin.tuz.loader.ReaderPropertiesLoader
 
NameSpaceHelper - cn.com.fishin.tuz.helper中的类
命名空间帮助器 To help making a namespace
NameSpaceHelper() - 类 的构造器cn.com.fishin.tuz.helper.NameSpaceHelper
 
NetPlugin - cn.com.fishin.tuz.plugin中的类
网络资源操作插件 比如,FTP 服务器资源上传和下载 Plugin of net resources Such as, FTP resources
NetPlugin() - 类 的构造器cn.com.fishin.tuz.plugin.NetPlugin
 
newInputStream(Path) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
根据指定路径获取一个资源输入流 Get a inputStream from given path
newInputStreamToClasspath(String) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
根据指定路径获取一个资源输入流 Get a inputStream from given path
newInputStreamToFileSystem(String) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
根据指定路径获取一个资源输入流 Get a inputStream from given path
newInstance(String) - 类 中的静态方法cn.com.fishin.tuz.helper.ClassHelper
加载一个类,并返回一个实例化对象 Load a class, and return a instance of this class
newInstance(String, Class<T>) - 类 中的静态方法cn.com.fishin.tuz.helper.ClassHelper
加载一个类,并返回一个实例化对象 出现异常就会返回 null Load a class, and return a instance of this class If exception happened, return null object
newReader(Path, Charset) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
根据指定路径获取一个资源读取器 Get a reader from given path
newReaderToClasspath(String, Charset) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
根据类路径获取一个资源读取器 Get a reader from classpath
newReaderToFileSystem(String, Charset) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
根据文件系统获取一个资源读取器 Get a reader from file system

R

ReaderPropertiesLoader - cn.com.fishin.tuz.loader中的类
Properties 配置文件加载器 这个相比 cn.com.fishin.tuz.loader.InputStreamPropertiesLoader 多了一个字符集属性,可以避免非英文字符出现乱码问题,默认使用 UTF8 字符集 这个加载器适用于使用 Reader 加载资源文件的加载器, 子类必须实现 getReader(String resourceFileName) 方法 Properties file loader This loader uses Reader to load resource, subclass must implement method getReader(String resourceFileName)
ReaderPropertiesLoader(String, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.ReaderPropertiesLoader
根据资源文件名称构建 Construct with resource file

S

ServerAddress - cn.com.fishin.tuz.entity中的类
服务器地址实体类 用来表示一个服务器地址,比如 ip + port Server address entity It is used to find a server by ip and port 在使用的时候,推荐直接使用有参构造器 看起来就像这样: // 指定网络地址的端口 new ServerAddress("127.0.0.1", "21"); Advise using the constructor with arguments It looks like this: // Appointed address and port new ServerAddress("127.0.0.1", "21");
ServerAddress() - 类 的构造器cn.com.fishin.tuz.entity.ServerAddress
 
ServerAddress(String, int) - 类 的构造器cn.com.fishin.tuz.entity.ServerAddress
 
setCharset(Charset) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setConfig(TuzConfig) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
设置全局配置 Set global setting
setFileType(int) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setFtpControlEncoding(String) - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
设置 FTP 服务器网络通信使用的编码 Set the encoding of FTP server's net transport
setFtpHost(String) - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
设置 FTP 服务器主机地址 Set the host of FTP server
setFtpPassword(String) - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
设置 FTP 服务器登录用户密码 Set the port of FTP server login password
setFtpPort(int) - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
设置 FTP 服务器应用端口 Set the port of FTP server application
setFtpUser(String) - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
设置 FTP 服务器登录用户 Set the port of FTP server login user
setInputStream(InputStream) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setIp(String) - 类 中的方法cn.com.fishin.tuz.entity.ServerAddress
 
setLocalFileName(String) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
setLoginInfo(LoginInfo) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setLoginInfo(LoginInfo) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
setPassword(String) - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 
setPort(int) - 类 中的方法cn.com.fishin.tuz.entity.ServerAddress
 
setRemoteDirection(String) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setRemoteDirection(String) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
setRemoteFileName(String) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setRemoteFileName(String) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
setServerAddress(ServerAddress) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setServerAddress(ServerAddress) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
setSingleton(boolean) - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
设置类的实例形式,默认是 true,也就是单例模式 Set class instance form, default is singleton
setUsername(String) - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 

T

toString() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
 
toString() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
toString() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
toString() - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 
toString() - 类 中的方法cn.com.fishin.tuz.entity.ServerAddress
 
Tuz - cn.com.fishin.tuz.core中的类
整个项目的核心类 The core of the whole project Example 1: 加载资源文件 API: load(Loadable resource) throws IOException test 是命名空间,后面一个是资源加载器 "test.properties" 文件中有一个属性:number=16 Tuz.load(new ClasspathPropertiesLoader("test.properties", "test")); 当然,你也可以不指定命名空间,内部会自动生成一个命名空间 不过,为了性能和正确性,还是建议您使用自定义的命名空间 当你不指定命名空间时,就会使用文件名作为命名空间 Tuz.load(new ClasspathPropertiesLoader("test2.properties")); 或者,您也可以使用另外一个加载器去加载文件系统中的资源文件 Tuz.load(new FileSystemPropertiesLoader("Z:/test.properties", "test")); 下面就是激动人心的时刻了!
Tuz() - 类 的构造器cn.com.fishin.tuz.core.Tuz
 
Tuzable - cn.com.fishin.tuz.core中的接口
核心接口,但是没有任何作用 Core interface, but it is useless
TuzConfig - cn.com.fishin.tuz.core中的类
全局配置 所有设置都可以通过这个类去设置,tuz 中会从这个配置类中获取配置信息 Global config This class includes all settings, and tuz will fetch setting from it 我们先以 cn.com.fishin.tuz.demo.TuzSimpleDemo2 作为切入点 先看原本的例子: //Tuz.load(new ClasspathPropertiesLoader("test.properties")); //xxxService service = DiPlugin.useInstance(xxxService.class); //service.say("Hello, Tuz!")
TuzConfig() - 类 的构造器cn.com.fishin.tuz.core.TuzConfig
 

U

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

W

warn(String) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出警告信息 Output warn message
warn(String, Throwable) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出警告信息 Output warn message
A C D E F G I L M N R S T U W 
跳过导航链接

Copyright © 2019. All Rights Reserved.