跳过导航链接
A B C D E F G H I J K L M N P R S T U V W 

A

AbstractInvocationHandler - cn.com.fishin.tuz.handler中的类
抽象的调用处理器 主要是为了动态代理模式准备的模板处理器 具体实现类参考:
AbstractInvocationHandler(Object) - 类 的构造器cn.com.fishin.tuz.handler.AbstractInvocationHandler
使用被代理的目标对象来初始化这个处理器 Use a target object to init this handler
AbstractJSONLoader - cn.com.fishin.tuz.loader.json中的类
JSON 配置文件抽象加载器 JSON resources loader
AbstractJSONLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.json.AbstractJSONLoader
使用一个符合 JSON 规范的字符串来初始化这个加载器 Use a standard JSON string to initialize this loader
AbstractPropertiesLoader - cn.com.fishin.tuz.loader.properties中的类
这个抽象类用于加载 .properties 文件 子类需要实现 loadProperties() 方法继而完善工作 This class is used to load .properties file Subclass should override loadProperties() method
AbstractPropertiesLoader() - 类 的构造器cn.com.fishin.tuz.loader.properties.AbstractPropertiesLoader
 
after(Interceptor[], InterceptedMethod) - 类 中的静态方法cn.com.fishin.tuz.helper.InterceptorHelper
完成一组拦截器的 after 方法 Invoke after method of these interceptors
after(InterceptedMethod) - 类 中的方法cn.com.fishin.tuz.interceptor.DefaultInterceptor
 
after(InterceptedMethod) - 接口 中的方法cn.com.fishin.tuz.interceptor.Interceptor
在执行切面方法之后执行这个方法 注意: 如果需要获取被拦截方法的执行结果,调用 cn.com.fishin.tuz.entity.InterceptedMethod#getResult()。
afterReturning(Interceptor[], InterceptedMethod) - 类 中的静态方法cn.com.fishin.tuz.helper.InterceptorHelper
完成一组拦截器的 afterReturning 方法 Invoke afterReturning method of these interceptors
afterReturning(InterceptedMethod) - 类 中的方法cn.com.fishin.tuz.interceptor.DefaultInterceptor
 
afterReturning(InterceptedMethod) - 接口 中的方法cn.com.fishin.tuz.interceptor.Interceptor
在方法返回之后执行,实质是在 finally 块中执行 注意: 在执行这个方法的时候,由于被拦截的方法可能抛出了异常,所以这个时候有可能是拿不到返回值的, 不建议在这个方法中操作被拦截方法的执行结果 Invoke this method when intercepted method throws an exception Notice: When this method is invoking, you may not get the result of the intercepted method.
afterThrowing(Interceptor[], InterceptedMethod) - 类 中的静态方法cn.com.fishin.tuz.helper.InterceptorHelper
完成一组拦截器的 afterThrowing 方法 Invoke afterThrowing method of these interceptors
afterThrowing(InterceptedMethod) - 类 中的方法cn.com.fishin.tuz.interceptor.DefaultInterceptor
 
afterThrowing(InterceptedMethod) - 接口 中的方法cn.com.fishin.tuz.interceptor.Interceptor
在执行切面方法抛出异常之后执行这个方法 注意: 在执行这个方法的时候,由于被拦截的方法抛出了异常,所以这个时候有可能是拿不到返回值的, 如果你需要返回结果,请调用 cn.com.fishin.tuz.entity.InterceptedMethod#setResult(java.lang.Object)。
appendResource(Map<String, String>, String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
往指定的 namespace 中添加新的资源值 Add one value to the pointed namespace
appendResource(String, String, String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
往指定的 namespace 中添加新的资源值 Add one value to the pointed namespace

B

before(Interceptor[], InterceptedMethod) - 类 中的静态方法cn.com.fishin.tuz.helper.InterceptorHelper
完成一组拦截器的 before 方法 Invoke before method of these interceptors
before(InterceptedMethod) - 类 中的方法cn.com.fishin.tuz.interceptor.DefaultInterceptor
 
before(InterceptedMethod) - 接口 中的方法cn.com.fishin.tuz.interceptor.Interceptor
在执行切面方法之前执行这个方法 注意: 在执行这个方法的时候,由于被拦截的方法还没有执行,所以这个时候是拿不到返回值的, 如果你在做缓存-数据库的拦截,需要将从缓存中拿到的数据设置进 InterceptedMethod#result, 然后返回 false 以阻止继续执行被拦截的方法 Invoke before intercepted method Notice: When this method is invoking, you can not get the result of the intercepted method, so if you are develop a cache-database service, you should set the result from cache by cn.com.fishin.tuz.entity.InterceptedMethod#setResult(java.lang.Object), and return false to prevent invoking intercepted method

C

ClassHelper - cn.com.fishin.tuz.helper中的类
类帮助器 一些操作类的方法 Class helper Some methods that used to operate class
ClassHelper() - 类 的构造器cn.com.fishin.tuz.helper.ClassHelper
 
classLoaderOf(Object) - 类 中的静态方法cn.com.fishin.tuz.helper.ClassHelper
获得这个对象的类加载器 实际上它就是在内部调用 classOf(obj).getClassLoader() 来获取类的类加载器的 这个方法的目的在于,提供更好的代码可读性代码意义 Get the classloader of this object In fact, it invokes classOf(obj).getClassLoader() to get what it needs This method is to get more human-being and mean of the code
classOf(Object) - 类 中的静态方法cn.com.fishin.tuz.helper.ClassHelper
获得这个对象的类的类型 实际上它就是在内部调用 obj.getClass() 来获取类的类型的 这个方法的目的在于,提供更好的代码可读性代码意义 Get the class of this object In fact, it invokes obj.getClass() to get what it needs This method is to get more human-being and mean of the code
ClasspathJSONLoader - cn.com.fishin.tuz.loader.json中的类
JSON 配置文件加载器 这个加载器专门用来加载类路径下的 json 配置文件,并返回 Map 集合 JSON file loader This loader is used to load json file in classpath
ClasspathJSONLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.json.ClasspathJSONLoader
根据资源文件名称构建 Construct with resource file
ClasspathJSONLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.json.ClasspathJSONLoader
根据资源文件名称构建 Construct with resource file
ClasspathJSONLoader(String, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.json.ClasspathJSONLoader
根据资源文件名称构建 Construct with resource file
ClasspathJSONLoader(String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.json.ClasspathJSONLoader
根据资源文件名称构建 Construct with resource file
ClasspathPropertiesLoader - cn.com.fishin.tuz.loader.properties中的类
Properties 配置文件加载器 这个加载器专门用来加载类路径下的 .properties 配置文件,并返回 Map 集合 Properties file loader This loader is used to load .properties file in classpath
ClasspathPropertiesLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.properties.ClasspathPropertiesLoader
根据资源文件名称构建 Construct with resource file
ClasspathPropertiesLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.properties.ClasspathPropertiesLoader
根据资源文件名称构建 Construct with resource file
ClasspathPropertiesLoader(String, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.properties.ClasspathPropertiesLoader
根据资源文件名称构建 Construct with resource file
ClasspathPropertiesLoader(String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.properties.ClasspathPropertiesLoader
根据资源文件名称构建 Construct with resource file
clear() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 
close() - 类 中的方法cn.com.fishin.tuz.loader.redis.DefaultRedisConnection
 
close() - 接口 中的方法cn.com.fishin.tuz.loader.redis.RedisConnection
断开连接 Close the connection
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.handler - 程序包 cn.com.fishin.tuz.handler
 
cn.com.fishin.tuz.helper - 程序包 cn.com.fishin.tuz.helper
 
cn.com.fishin.tuz.interceptor - 程序包 cn.com.fishin.tuz.interceptor
 
cn.com.fishin.tuz.loader.json - 程序包 cn.com.fishin.tuz.loader.json
 
cn.com.fishin.tuz.loader.properties - 程序包 cn.com.fishin.tuz.loader.properties
 
cn.com.fishin.tuz.loader.redis - 程序包 cn.com.fishin.tuz.loader.redis
 
cn.com.fishin.tuz.plugin - 程序包 cn.com.fishin.tuz.plugin
 
cn.com.fishin.tuz.template - 程序包 cn.com.fishin.tuz.template
 
connectToFTP(ServerAddress, LoginInfo) - 类 中的静态方法cn.com.fishin.tuz.helper.FTPHelper
连接到 FTP 服务器 返回一个 FTPClient 对象 Connect to FTP server Return a connection to FTP server
containsKey(String) - 类 中的方法cn.com.fishin.tuz.loader.redis.DefaultRedisConnection
 
containsKey(K) - 接口 中的方法cn.com.fishin.tuz.loader.redis.RedisConnection
判断一个 key 是否存在 Judge the key that exists or not
containsKey(Object) - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 
containsValue(Object) - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 

D

debug(String) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出调试信息 Output debug message
DefaultInterceptor - cn.com.fishin.tuz.interceptor中的类
默认的拦截器 建议继承这个类,选择性覆盖要拦截的方法 Default interceptor Recommend to extend this class, and override methods selectively
DefaultInterceptor() - 类 的构造器cn.com.fishin.tuz.interceptor.DefaultInterceptor
 
defaultPool(String, int, String, int) - 类 中的静态方法cn.com.fishin.tuz.factory.JedisPoolFactory
获得 JedisPool 对象 Get JedisPool instance
defaultPool(String, int, int) - 类 中的静态方法cn.com.fishin.tuz.factory.JedisPoolFactory
获得 JedisPool 对象 Get JedisPool instance
defaultPool(String, int, String) - 类 中的静态方法cn.com.fishin.tuz.factory.JedisPoolFactory
获得 JedisPool 对象 Get JedisPool instance
defaultPool(String, int) - 类 中的静态方法cn.com.fishin.tuz.factory.JedisPoolFactory
获得 JedisPool 对象 Get JedisPool instance
DefaultRedisConnection - cn.com.fishin.tuz.loader.redis中的类
默认实现的 redis 连接器 使用 Jedis 作为 客户端 Default redis connection It is implemented by Jedis
DefaultRedisConnection(JedisPool) - 类 的构造器cn.com.fishin.tuz.loader.redis.DefaultRedisConnection
 
destroy() - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
清除一切已经加载的资源 建议在程序关闭时调用!!!
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
doInCatch(Throwable, Object...) - 类 中的方法cn.com.fishin.tuz.template.TryBlockTemplate
已过时。
在 catch 块中执行 Do in catch block
doInFinally(Object...) - 类 中的方法cn.com.fishin.tuz.template.TryBlockTemplate
已过时。
在 finally 块中执行 Do in finally block
doInLock() - 接口 中的方法cn.com.fishin.tuz.template.LockTemplate.LockBlock
这个方法中的操作时线程安全的 The operations in this method is safe
doInRedis(Jedis) - 接口 中的方法cn.com.fishin.tuz.template.JedisTemplate.RedisBlock
要在 redis 中做的操作 The operations will be did in redis
doInTry(Object...) - 类 中的方法cn.com.fishin.tuz.template.TryBlockTemplate
已过时。
在 try 块中执行 Do in try block

E

entrySet() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 
error(String, Throwable) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出错误信息 Output error message
execute(JedisPool, JedisTemplate.RedisBlock<Result>) - 类 中的方法cn.com.fishin.tuz.template.JedisTemplate
执行 Redis 操作 Execute redis operations

F

FileSystemJSONLoader - cn.com.fishin.tuz.loader.json中的类
JSON 配置文件加载器 这个加载器专门用来加载文件系统中的 JSON 配置文件,并返回 Map 集合 JSON file loader This loader is used to load JSON file in file System
FileSystemJSONLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.json.FileSystemJSONLoader
根据资源文件名称构建 Construct with resource file
FileSystemJSONLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.json.FileSystemJSONLoader
根据资源文件名称构建 Construct with resource file
FileSystemJSONLoader(String, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.json.FileSystemJSONLoader
根据资源文件名称构建 Construct with resource file
FileSystemJSONLoader(String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.json.FileSystemJSONLoader
根据资源文件名称构建 Construct with resource file
FileSystemPropertiesLoader - cn.com.fishin.tuz.loader.properties中的类
Properties 配置文件加载器 这个加载器专门用来加载文件系统中的 .properties 配置文件,并返回 Map 集合 Properties file loader This loader is used to load .properties file in file System
FileSystemPropertiesLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.properties.FileSystemPropertiesLoader
根据资源文件名称构建 Construct with resource file
FileSystemPropertiesLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.properties.FileSystemPropertiesLoader
根据资源文件名称构建 Construct with resource file
FileSystemPropertiesLoader(String, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.properties.FileSystemPropertiesLoader
根据资源文件名称构建 Construct with resource file
FileSystemPropertiesLoader(String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.properties.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
 
get(String) - 类 中的方法cn.com.fishin.tuz.loader.redis.DefaultRedisConnection
 
get(K) - 接口 中的方法cn.com.fishin.tuz.loader.redis.RedisConnection
根据 key 获得一个值 Get a value by given key
get(Object) - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 
getArgs() - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
getCharset() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getConfig() - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
获取全局配置 Get global setting
getException() - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
getExecutingObject() - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
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.properties.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.properties.ClasspathPropertiesLoader
 
getReader(String, Charset) - 类 中的方法cn.com.fishin.tuz.loader.properties.FileSystemPropertiesLoader
 
getReader(String, Charset) - 类 中的方法cn.com.fishin.tuz.loader.properties.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
getResult() - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
getServerAddress() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
getServerAddress() - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadInfo
已过时。
 
getTarget() - 类 中的方法cn.com.fishin.tuz.handler.AbstractInvocationHandler
获得被代理的目标对象 Get target object
getThisMethod() - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
getUsername() - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 

H

hasInterface(Object) - 类 中的静态方法cn.com.fishin.tuz.helper.ClassHelper
判断一个对象是否有实现接口 If target object has interface, return true

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.properties中的类
已过时。
InputStreamPropertiesLoader(String) - 类 的构造器cn.com.fishin.tuz.loader.properties.InputStreamPropertiesLoader
已过时。
根据资源文件名称构建 Construct with resource file
InputStreamPropertiesLoader(String, String) - 类 的构造器cn.com.fishin.tuz.loader.properties.InputStreamPropertiesLoader
已过时。
根据资源文件名称构建 Construct with resource file
InterceptedMethod - cn.com.fishin.tuz.entity中的类
拦截器中的方法实体类 主要是包含一些拦截器中需要用到的,比如当前执行方法,被拦截方法的返回结果等等 Entity of intercepted method Some attributes that interceptor will use, such as current method and invoking result
InterceptedMethod() - 类 的构造器cn.com.fishin.tuz.entity.InterceptedMethod
 
InterceptedMethod(Object, Method, Object[]) - 类 的构造器cn.com.fishin.tuz.entity.InterceptedMethod
 
Interceptor - cn.com.fishin.tuz.interceptor中的接口
拦截器接口 这个拦截器可以拦截到对象的所有方法,进行业务的主次解耦 建议直接使用默认的拦截器,选择性覆盖方法
InterceptorHelper - cn.com.fishin.tuz.helper中的类
拦截器帮助类
InterceptorHelper() - 类 的构造器cn.com.fishin.tuz.helper.InterceptorHelper
 
InterceptorInvocationHandler - cn.com.fishin.tuz.handler中的类
拦截器专用的代理调用处理器 它实现了父类中的 invoke 方法:
InterceptorInvocationHandler(Object, Interceptor[]) - 类 的构造器cn.com.fishin.tuz.handler.InterceptorInvocationHandler
使用目标代理对象和拦截器进行初始化 Use target object and interceptors to init
interfacesOf(Object) - 类 中的静态方法cn.com.fishin.tuz.helper.ClassHelper
获得这个对象实现的所有接口 实际上它就是在内部调用 classOf(obj).getInterfaces() 来获取类的所有接口的 这个方法的目的在于,提供更好的代码可读性代码意义 Get the interfaces of this object In fact, it invokes classOf(obj).getClassLoader() to get what it needs This method is to get more human-being and mean of the code
invoke(Object, Method, Object[]) - 类 中的方法cn.com.fishin.tuz.handler.InterceptorInvocationHandler
 
IOHelper - cn.com.fishin.tuz.helper中的类
路径帮助器 Path helper
IOHelper() - 类 的构造器cn.com.fishin.tuz.helper.IOHelper
 
isEmpty() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 
isFinal(Object) - 类 中的静态方法cn.com.fishin.tuz.helper.ClassHelper
 
isSingleton() - 类 中的方法cn.com.fishin.tuz.core.TuzConfig
获取类的实例形式,默认是 true,也就是单例模式 Get class instance form, default is singleton

J

JedisPoolFactory - cn.com.fishin.tuz.factory中的类
JedisPool 工厂类 Jedis Factory
JedisPoolFactory() - 类 的构造器cn.com.fishin.tuz.factory.JedisPoolFactory
 
JedisTemplate<Result> - cn.com.fishin.tuz.template中的类
Jedis 操作模板类 Jedis operation template class
JedisTemplate() - 类 的构造器cn.com.fishin.tuz.template.JedisTemplate
 
JedisTemplate.RedisBlock<Result> - cn.com.fishin.tuz.template中的接口
要在 redis 中做的操作 The operations will be did in redis

K

keySet() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 

L

linesOf(Path, Charset) - 类 中的静态方法cn.com.fishin.tuz.helper.IOHelper
读取指定路径下的一个文件全部字符 当这个文件非常大的时候,有可能导致效率很低,耗费时间较多 Collect all lines of this file in path If this file is huge enough, the speed will be slow enough
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.json.AbstractJSONLoader
 
load() - 类 中的方法cn.com.fishin.tuz.loader.properties.AbstractPropertiesLoader
 
load() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisLoader
 
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.properties.AbstractPropertiesLoader
这个方法留给子类实现 这里不管子类从哪里获取 Properties,只要保证能获得就行了 This method is abstract, its subclass should implement
loadProperties() - 类 中的方法cn.com.fishin.tuz.loader.properties.InputStreamPropertiesLoader
已过时。
 
loadProperties() - 类 中的方法cn.com.fishin.tuz.loader.properties.ReaderPropertiesLoader
 
LockTemplate<Result> - cn.com.fishin.tuz.template中的类
Lock 代码块模板类 这个类同样是为了保证使用锁的优雅性 Lock code block template class This class is for coding gracefully // return string result return new LockTemplate<String>().lockWith( lock, () -> "HelloWorld!"
LockTemplate() - 类 的构造器cn.com.fishin.tuz.template.LockTemplate
 
LockTemplate.LockBlock<Result> - cn.com.fishin.tuz.template中的接口
为了使用更加优雅,特意加入了接口,这样可以使用 Lambda 表达式 To be graceful, this interface will be replace by Lambda
lockWith(Lock, LockTemplate.LockBlock<Result>) - 类 中的方法cn.com.fishin.tuz.template.LockTemplate
使用给定的 lock 来执行线程安全的操作 Use given lock to avoid the concurrent problems
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.json.ReaderJSONLoader
 
namespace() - 类 中的方法cn.com.fishin.tuz.loader.properties.InputStreamPropertiesLoader
已过时。
 
namespace() - 类 中的方法cn.com.fishin.tuz.loader.properties.ReaderPropertiesLoader
 
namespace() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisLoader
 
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

P

ProxyFactory - cn.com.fishin.tuz.factory中的类
代理工厂 可以将现有对象进行一次代理 Proxy Factory It has power to proxy a object
ProxyFactory() - 类 的构造器cn.com.fishin.tuz.factory.ProxyFactory
 
ProxyPlugin - cn.com.fishin.tuz.plugin中的类
动态代理插件 提供对象拦截器的功能,可以做到 AOP 的业务解耦 注意: 由于使用的是 CGlib,所以被代理的类不能是 final 修饰的, 也就是说必须要可以被继承,因为 CGlib 就是使用 ASM 产生子类和多态来达到动态代理的效果的, 另外,动态代理产生的实例是不是单例的和 Tuz 的配置有关, 详情请参考 cn.com.fishin.tuz.core.TuzConfig.isSingleton, 默认情况下是单例模式的,也就是说不管你创建多少代理对象都是同一个, 如果需要多例的模式,可以修改 Tuz 的配置,调用 cn.com.fishin.tuz.core.TuzConfig.setSingleton Dynamic proxy plugin It offers interceptor and aop functions Notice: Your target class must be not final, due to CGlib.
ProxyPlugin() - 类 的构造器cn.com.fishin.tuz.plugin.ProxyPlugin
 
put(String, String) - 类 中的方法cn.com.fishin.tuz.loader.redis.DefaultRedisConnection
 
put(K, V) - 接口 中的方法cn.com.fishin.tuz.loader.redis.RedisConnection
用给定的 key 和 value 保存一个值 Put an entry by given key and value
put(String, String) - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 
putAll(Map<? extends String, ? extends String>) - 类 中的方法cn.com.fishin.tuz.loader.redis.DefaultRedisConnection
 
putAll(Map<? extends K, ? extends V>) - 接口 中的方法cn.com.fishin.tuz.loader.redis.RedisConnection
将一个 Map 保存到 redis Put the whole map to redis
putAll(Map) - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 

R

ReaderJSONLoader - cn.com.fishin.tuz.loader.json中的类
JSON 配置文件加载器 默认使用 UTF8 字符集 这个加载器适用于使用 Reader 加载资源文件的加载器, 子类必须实现 getReader(String resourceFileName) 方法 JSON file loader This loader uses Reader to load resource, subclass must implement method getReader(String resourceFileName)
ReaderJSONLoader(Path, String, Charset) - 类 的构造器cn.com.fishin.tuz.loader.json.ReaderJSONLoader
根据资源文件名称构建 Construct with resource file
ReaderPropertiesLoader - cn.com.fishin.tuz.loader.properties中的类
Properties 配置文件加载器 这个相比 cn.com.fishin.tuz.loader.properties.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.properties.ReaderPropertiesLoader
根据资源文件名称构建 Construct with resource file
RedisConnection<K,V> - cn.com.fishin.tuz.loader.redis中的接口
这个接口代表一次 Redis 连接 这个接口存在的意义在于: 你可以使用我默认的 redis 加载器,但是我是用 Jedis 的, 如果你不喜欢使用它,就需要自己自定义一个加载器,尽管你只是不喜欢其中一个小零件。
RedisEntryMap - cn.com.fishin.tuz.loader.redis中的类
这是 Redis 资源管理器使用的 Map 注意: 这个类的方法始终会通过网络去获取 redis 主机的资源 This is for redis resource manager Notice: The method of this class will get resource by internet to reach redis host
RedisEntryMap(RedisConnection<String, String>) - 类 的构造器cn.com.fishin.tuz.loader.redis.RedisEntryMap
使用一个 redis 连接构建这个 map Use one redis connection to initialize this map
RedisLoader - cn.com.fishin.tuz.loader.redis中的类
Redis 资源加载器 这个加载器并不会把 redis 上的资源拷贝到本机内存, 而是采用延迟加载的形式,就是每一次使用都去加载 Redis resource loader
RedisLoader(String, RedisConnection<String, String>) - 类 的构造器cn.com.fishin.tuz.loader.redis.RedisLoader
使用命名空间和 redis 连接来初始化 Use namespace and redis connection to initialize this loader
RedisLoader(String, String, int, String, int) - 类 的构造器cn.com.fishin.tuz.loader.redis.RedisLoader
使用主机地址和端口号来初始化 注意: 如果 redis 主机配置了密码,需要在这里传进去 Use host and port to initialize this loader Notice: If redis host has password, you need it
RedisLoader(String, int, String, int) - 类 的构造器cn.com.fishin.tuz.loader.redis.RedisLoader
使用主机地址和端口号来初始化 注意: 如果 redis 主机配置了密码,需要在这里传进去,命名空间默认是 host:port[database] Use host and port to initialize this loader Notice: If redis host has password, you need it.
RedisLoader(String, int, String) - 类 的构造器cn.com.fishin.tuz.loader.redis.RedisLoader
使用主机地址和端口号来初始化 注意: 如果 redis 主机配置了密码,需要在这里传进去,命名空间默认是 host:port。
RedisLoader(String, int, int) - 类 的构造器cn.com.fishin.tuz.loader.redis.RedisLoader
使用主机地址和端口号来初始化 注意: 如果 redis 主机配置了密码,需要在这里传进去,命名空间默认是 host:port[database] Use host and port to initialize this loader Notice: If redis host has password, you need it.
RedisLoader(String, int) - 类 的构造器cn.com.fishin.tuz.loader.redis.RedisLoader
使用主机地址和端口号来初始化 注意: 如果 redis 主机配置了密码,需要在这里传进去,命名空间默认是 host:port。
reLoad(Loadable) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
重新载入一个资源文件 ReLoad a resource
remove(String) - 类 中的方法cn.com.fishin.tuz.loader.redis.DefaultRedisConnection
 
remove(K) - 接口 中的方法cn.com.fishin.tuz.loader.redis.RedisConnection
删除指定 key 的数据 Remove the given value of given key
remove(Object) - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 
removeEldestEntry(Map.Entry<K, V>) - 类 中的方法cn.com.fishin.tuz.entity.SimpleLruCache
 

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
 
setArgs(Object[]) - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
setCharset(Charset) - 类 中的方法cn.com.fishin.tuz.entity.FTPUploadFile
 
setConfig(TuzConfig) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
设置全局配置 Set global setting
setException(Exception) - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
setExecutingObject(Object) - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
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
已过时。
 
setResult(Object) - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
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
setTarget(Object) - 类 中的方法cn.com.fishin.tuz.handler.AbstractInvocationHandler
设置被代理的目标对象 Set target object
setThisMethod(Method) - 类 中的方法cn.com.fishin.tuz.entity.InterceptedMethod
 
setUsername(String) - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 
SimpleLruCache<K,V> - cn.com.fishin.tuz.entity中的类
简易版的 LRU 缓存 使用 LinkedHashMap 加 Timer 实现 Simple LRU cache Use LinkedHashMap and Timer
SimpleLruCache() - 类 的构造器cn.com.fishin.tuz.entity.SimpleLruCache
使用默认最大值构造 Use DEFAULT_MAX_SIZE to initialize
SimpleLruCache(int) - 类 的构造器cn.com.fishin.tuz.entity.SimpleLruCache
使用最大缓存个数和缓存排序方式构造 Use maxSize and accessOrder to initialize
SimpleLruCache(int, boolean) - 类 的构造器cn.com.fishin.tuz.entity.SimpleLruCache
使用最大缓存个数和缓存排序方式构造 Use maxSize and accessOrder to initialize
size() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 

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.InterceptedMethod
 
toString() - 类 中的方法cn.com.fishin.tuz.entity.LoginInfo
 
toString() - 类 中的方法cn.com.fishin.tuz.entity.ServerAddress
 
TryBlockTemplate<Result> - cn.com.fishin.tuz.template中的类
已过时。
TryBlockTemplate() - 类 的构造器cn.com.fishin.tuz.template.TryBlockTemplate
已过时。
 
tryWith(Object...) - 类 中的方法cn.com.fishin.tuz.template.TryBlockTemplate
已过时。
这是一个模板方法 包含了一个 try 代码块内容,由于这个代码块很常见, 所以创建一个模板类减少重复代码,并且将精力集中在业务上 子类可以选择性地复写其中的方法 This is a template about try block Try block is so common, so I wanna to make it gracefully Subclass should override some methods of it try { return doInTry(args); } catch (Throwable t) { return doInCatch(t, args); } finally { doInFinally(args); }
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

unLoad(Loadable) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
卸载一个资源文件 UnLoad a resource
unLoad(String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
卸载一个命名空间 UnLoad a namespace
unUse(String, String) - 类 中的静态方法cn.com.fishin.tuz.core.Tuz
移除指定的 namespace 的资源值 Remove the value of the namespace's key
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
获取指定 namespace 的资源值 Fetch the value of the namespace's 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(Class<T>, boolean) - 类 中的静态方法cn.com.fishin.tuz.plugin.DiPlugin
得到类实例 这里会根据 classType 的 getSimpleName() 去获取 key,并且利用反射生成实例对象 Get class instance Use reflect to instance a new object with given classType's simpleName
useInstance(Class<T>) - 类 中的静态方法cn.com.fishin.tuz.plugin.DiPlugin
得到类实例 这里会根据 classType 的 getSimpleName() 去获取 key,并且利用反射生成实例对象 注意这里的实例模式是根据 Tuz.getConfig().isSingleton() 中的设置来决定的 Get class instance Use reflect to instance a new object with given classType's simpleName Notice that the mode creates the instance depends on Tuz.getConfig().isSingleton()
useInstance(String, Class<T>, boolean) - 类 中的静态方法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, Class<T>) - 类 中的静态方法cn.com.fishin.tuz.plugin.DiPlugin
得到类实例 这里会根据 key 值获取 value,并且利用反射生成实例对象 注意这里的实例模式是根据 Tuz.getConfig().isSingleton() 中的设置来决定的 Get class instance Use reflect to instance a new object with given value of key Notice that the mode creates the instance depends on Tuz.getConfig().isSingleton()
useInstance(String, String, Class<T>, boolean) - 类 中的静态方法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,并且利用反射生成实例对象 注意这里的实例模式是根据 Tuz.getConfig().isSingleton() 中的设置来决定的 Get class instance Use reflect to instance a new object with given value of key Notice that the mode creates the instance depends on Tuz.getConfig().isSingleton()
useInstance(Class<T>, boolean, Interceptor[]) - 类 中的静态方法cn.com.fishin.tuz.plugin.ProxyPlugin
得到类被拦截器代理之后的实例 这里会根据 classType 的 getSimpleName() 去获取 key,并且利用反射生成实例对象 Get class instance after intercepting Use reflect to instance a new object with given classType's simpleName
useInstance(Class<T>, Interceptor[]) - 类 中的静态方法cn.com.fishin.tuz.plugin.ProxyPlugin
得到类被拦截器代理之后的实例 这里会根据 classType 的 getSimpleName() 去获取 key,并且利用反射生成实例对象 注意这里的实例模式是根据 Tuz.getConfig().isSingleton() 中的设置来决定的 Get class instance after intercepting Use reflect to instance a new object with given classType's simpleName Notice that the mode creates the instance depends on Tuz.getConfig().isSingleton()
useInstance(String, Class<T>, boolean, Interceptor[]) - 类 中的静态方法cn.com.fishin.tuz.plugin.ProxyPlugin
得到类被拦截器代理之后的实例 这里会根据 key 值获取 value,并且利用反射生成实例对象 Get class instance after intercepting Use reflect to instance a new object with given value of key
useInstance(String, Class<T>, Interceptor[]) - 类 中的静态方法cn.com.fishin.tuz.plugin.ProxyPlugin
得到类被拦截器代理之后的实例 这里会根据 key 值获取 value,并且利用反射生成实例对象 注意这里的实例模式是根据 Tuz.getConfig().isSingleton() 中的设置来决定的 Get class instance after intercepting Use reflect to instance a new object with given value of key Notice that the mode creates the instance depends on Tuz.getConfig().isSingleton()
useInstance(String, String, Class<T>, boolean, Interceptor[]) - 类 中的静态方法cn.com.fishin.tuz.plugin.ProxyPlugin
得到类被拦截器代理之后的实例 这里会根据 key 值获取 value,并且利用反射生成实例对象 Get class instance after intercepting Use reflect to instance a new object with given value of key
useInstance(String, String, Class<T>, Interceptor[]) - 类 中的静态方法cn.com.fishin.tuz.plugin.ProxyPlugin
得到类被拦截器代理之后的实例 这里会根据 key 值获取 value,并且利用反射生成实例对象 注意这里的实例模式是根据 Tuz.getConfig().isSingleton() 中的设置来决定的 Get class instance after intercepting Use reflect to instance a new object with given value of key Notice that the mode creates the instance depends on Tuz.getConfig().isSingleton()

V

values() - 类 中的方法cn.com.fishin.tuz.loader.redis.RedisEntryMap
 

W

warn(String) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出警告信息 Output warn message
warn(String, Throwable) - 类 中的静态方法cn.com.fishin.tuz.helper.LogHelper
输出警告信息 Output warn message
wrap(Object, Interceptor[]) - 类 中的静态方法cn.com.fishin.tuz.factory.ProxyFactory
返回实际产生的动态代理类对象 这里会进行目标对象判断,如果是有接口的,就直接使用 JDK 内置的动态代理 如果没有实现接口,就是用 CGlib 进行动态代理 Return a dynamic proxy instance If target object has interface, then use JDK dynamic proxy, else use CGlib to proxy
wrapByCGlib(Object, InvocationHandler) - 类 中的静态方法cn.com.fishin.tuz.factory.ProxyFactory
返回实际产生的动态代理类对象 这里是使用 CGlib 进行动态代理,要求这个目标对象类必须是可继承的!
wrapByJDK(Object, InvocationHandler) - 类 中的静态方法cn.com.fishin.tuz.factory.ProxyFactory
返回实际产生的动态代理类对象 这里是使用 JDK 进行动态代理,要求这个目标对象类必须有实现接口!
A B C D E F G H I J K L M N P R S T U V W 
跳过导航链接

Copyright © 2019. All Rights Reserved.