- CAUSED_BY - 类 中的静态变量org.jretty.util.support.NestedExceptionDelegate
-
- causeException(Throwable) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
Handle InvocationTargetException, ExceptionInInitializerError,
RuntimeErrorException, SAXException, MBeanException
,
get its nested cause exception in the wrap of NestedRuntimeException.
- changeEncode(String, String) - 类 中的静态方法org.jretty.util.StringUtils
-
字符串编码转换
- changeType(int[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Integer[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(long[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Long[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(double[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Double[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(float[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Float[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(short[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Short[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(byte[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Byte[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(char[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Character[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(boolean[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- changeType(Boolean[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- charEqualIgnoreCase(char, char) - 类 中的静态方法org.jretty.util.StringUtils
-
判断两个字符是否相等(忽略大小写)。
- checkDuplication(Object[]) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Check Array Element Duplication.
- checkDuplication(List<?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Check List Element Duplication
- checkLine(String) - 接口 中的方法org.jretty.util.ExceptionUtils.LineChecker
-
- CLASS_FILE_SUFFIX - 类 中的静态变量org.jretty.util.ClassUtils
-
The ".class" file suffix
- classPackageAsResourcePath(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Given an input class object, return a string which consists of the
class's package name as a pathname, i.e., all dots ('.') are replaced by
slashes ('/').
- CLASSPATH_ALL_URL_PREFIX - 接口 中的静态变量org.jretty.util.resource.support.ResourcePatternResolver
-
Pseudo URL prefix for all matching resources from the class path: "classpath*:"
This differs from ResourceLoader's classpath URL prefix in that it
retrieves all matching resources for a given name (e.g.
- CLASSPATH_ALL_URL_PREFIX - 类 中的静态变量org.jretty.util.ResourceUtils
-
Pseudo URL prefix for all matching resources from the class path: "classpath*:"
This differs from ResourceLoader's classpath URL prefix in that it retrieves all matching
resources for a given name (e.g.
- CLASSPATH_URL_PREFIX - 接口 中的静态变量org.jretty.util.resource.ResourceLoader
-
Pseudo URL prefix for loading from the class path: "classpath:"
- CLASSPATH_URL_PREFIX - 类 中的静态变量org.jretty.util.ResourceUtils
-
Pseudo URL prefix for loading from the class path: "classpath:"
- ClassPathResource - org.jretty.util.resource中的类
-
Resource
implementation for class path resources.
- ClassPathResource(String) - 类 的构造器org.jretty.util.resource.ClassPathResource
-
Create a new ClassPathResource
for ClassLoader
usage.
- ClassPathResource(String, ClassLoader) - 类 的构造器org.jretty.util.resource.ClassPathResource
-
Create a new ClassPathResource
for ClassLoader
usage.
- ClassPathResource(String, Class<?>) - 类 的构造器org.jretty.util.resource.ClassPathResource
-
Create a new ClassPathResource
for Class
usage.
- ClassPathResource(String, ClassLoader, Class<?>) - 类 的构造器org.jretty.util.resource.ClassPathResource
-
Create a new ClassPathResource
with optional ClassLoader
and Class
.
- ClassRelativeResourceLoader - org.jretty.util.resource中的类
-
ResourceLoader
implementation that interprets plain resource paths
as relative to a given
java.lang.Class
.
- ClassRelativeResourceLoader(Class<?>) - 类 的构造器org.jretty.util.resource.ClassRelativeResourceLoader
-
Create a new ClassRelativeResourceLoader for the given class.
- ClassUtils - org.jretty.util中的类
-
Miscellaneous class utility methods.
- ClassUtils() - 类 的构造器org.jretty.util.ClassUtils
-
- cleanPath(String) - 类 中的静态方法org.jretty.util.StringUtils
-
Normalize the path by suppressing sequences like "path/.." and
inner simple dots.
- clear() - 类 中的方法org.jretty.util.BeansSet
-
- clone(InputStream, OutputStream) - 类 中的静态方法org.jretty.util.IOUtils
-
- clone(Reader, Writer) - 类 中的静态方法org.jretty.util.IOUtils
-
Copy the contents of the given Reader to the given Writer.
- clone(InputStream, long, OutputStream) - 类 中的静态方法org.jretty.util.IOUtils
-
- clone() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns a copy of this entry.
- cloneFile(File, File) - 类 中的静态方法org.jretty.util.FileUtils
-
- cloneWithoutClose(InputStream, long, OutputStream) - 类 中的静态方法org.jretty.util.IOUtils
-
- close(Closeable...) - 类 中的静态方法org.jretty.util.IOUtils
-
- close() - 类 中的方法org.jretty.util.zip.DeflaterOutputStream
-
Writes remaining compressed data to the output stream and closes the
underlying stream.
- close() - 类 中的方法org.jretty.util.zip.InflaterInputStream
-
Closes this input stream and releases any system resources associated
with the stream.
- close() - 类 中的方法org.jretty.util.zip.ZipInputStream
-
Closes this input stream and releases any system resources associated
with the stream.
- close() - 类 中的方法org.jretty.util.zip.ZipOutputStream
-
Closes the ZIP output stream as well as the stream being filtered.
- closeEntry() - 类 中的方法org.jretty.util.zip.ZipInputStream
-
Closes the current ZIP entry and positions the stream for reading the
next entry.
- closeEntry() - 类 中的方法org.jretty.util.zip.ZipOutputStream
-
Closes the current ZIP entry and positions the stream for writing
the next entry.
- closeIO(OutputStream) - 类 中的静态方法org.jretty.util.IOUtils
-
静默关闭输出流
- closeIO(Writer) - 类 中的静态方法org.jretty.util.IOUtils
-
- closeIO(InputStream) - 类 中的静态方法org.jretty.util.IOUtils
-
静默关闭输入流
- closeIO(Reader) - 类 中的静态方法org.jretty.util.IOUtils
-
- closeIO(Reader, Writer) - 类 中的静态方法org.jretty.util.IOUtils
-
- closeIO(InputStream, OutputStream) - 类 中的静态方法org.jretty.util.IOUtils
-
- CollectionUtils - org.jretty.util中的类
-
集合工具类
- CollectionUtils() - 类 的构造器org.jretty.util.CollectionUtils
-
- combine(String, String) - 类 中的方法org.jretty.util.match.AntPathMatcher
-
Combines two patterns into a new pattern that is returned.
- combine(String, String) - 接口 中的方法org.jretty.util.match.PathMatcher
-
Combines two patterns into a new pattern that is returned.
- compare(File, File) - 类 中的方法org.jretty.util.FileUtils.FileModifiedTimeComparator
-
- compress(String, String) - 类 中的静态方法org.jretty.util.zip.ZipUtils
-
字符串的压缩
- Const - org.jretty.util中的类
-
常用字符串常量
- Const() - 类 的构造器org.jretty.util.Const
-
- contains(ObjectBean<?>) - 类 中的方法org.jretty.util.BeansSet
-
- contains(String) - 类 中的方法org.jretty.util.BeansSet
-
- containsIgnoreCase(String, String) - 类 中的静态方法org.jretty.util.StringUtils
-
Returns true if and only if this string contains the specified
sequence of char values.
- contentLength() - 类 中的方法org.jretty.util.resource.AbstractFileResolvingResource
-
- contentLength() - 类 中的方法org.jretty.util.resource.AbstractResource
-
This implementation reads the entire InputStream to calculate the
content length.
- contentLength() - 类 中的方法org.jretty.util.resource.ByteArrayResource
-
This implementation returns the length of the underlying byte array.
- contentLength() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation returns the underlying File's length.
- contentLength() - 接口 中的方法org.jretty.util.resource.Resource
-
Determine the content length for this resource.
- contentLength() - 类 中的方法org.jretty.util.resource.VfsResource
-
- CONTEXTPATH_URL_PREFIX - 类 中的静态变量org.jretty.util.ResourceUtils
-
Pseudo URL prefix for loading from the ServletContext relative file path,
e.g.
- ContextResource - org.jretty.util.resource中的接口
-
Extended interface for a resource that is loaded from an enclosing
'context', e.g. from a
javax.servlet.ServletContext
or a
javax.portlet.PortletContext
but also from plain classpath paths
or relative file system paths (specified without an explicit prefix,
hence applying relative to the local
ResourceLoader
's context).
- convertClassLoaderURL(URL) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Convert the given URL as returned from the ClassLoader into a Resource object.
- COPYABLE_FIELDS - 类 中的静态变量org.jretty.util.ReflectionUtils
-
Pre-built FieldFilter that matches all non-static, non-final fields.
- copyFolder(String, String) - 类 中的静态方法org.jretty.util.FileUtils
-
复制整个文件夹内容
- copyToString(Reader) - 类 中的静态方法org.jretty.util.IOUtils
-
Copy the contents of the given Reader into a String.
- countOccurrencesOf(String, String) - 类 中的静态方法org.jretty.util.StringUtils
-
Count the occurrences of the substring in string s.
- covertPropertiesToMap(Properties) - 类 中的静态方法org.jretty.util.CollectionUtils
-
将Properties资源转换成Map类型
- CR - 类 中的静态变量org.jretty.util.Const
-
回车(Carriage Return)
- createRelative(String) - 类 中的方法org.jretty.util.resource.AbstractResource
-
This implementation throws a FileNotFoundException, assuming
that relative resources cannot be created for this resource.
- createRelative(String) - 类 中的方法org.jretty.util.resource.ClassPathResource
-
This implementation creates a ClassPathResource, applying the given path
relative to the path of the underlying resource of this descriptor.
- createRelative(String) - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation creates a FileSystemResource, applying the given path
relative to the path of the underlying file of this resource descriptor.
- createRelative(String) - 接口 中的方法org.jretty.util.resource.Resource
-
Create a resource relative to this resource.
- createRelative(String) - 类 中的方法org.jretty.util.resource.UrlResource
-
This implementation creates a UrlResource, applying the given path
relative to the path of the underlying URL of this resource descriptor.
- createRelative(String) - 类 中的方法org.jretty.util.resource.VfsResource
-
- createZipEntry(String) - 类 中的方法org.jretty.util.zip.ZipInputStream
-
Creates a new ZipEntry
object for the specified entry name.
- CRLF - 类 中的静态变量org.jretty.util.Const
-
换行(Line Feed)+ 回车(Carriage Return)
- CURRENT_PATH - 类 中的静态变量org.jretty.util.Const
-
路径标识:当前目录
- customizeConnection(URLConnection) - 类 中的方法org.jretty.util.resource.AbstractFileResolvingResource
-
- customizeConnection(HttpURLConnection) - 类 中的方法org.jretty.util.resource.AbstractFileResolvingResource
-
- date - 类 中的变量org.jretty.util.DateFormatUtils.DateInfo
-
- DateFormatUtils - org.jretty.util中的类
-
日期格式化工具类(高效的、线程安全的)
1、可以直接用静态方法format,原生底层算法实现,参见
DateFormatUtils.format()
2、可以自己new一个,例如new DateFormatUtils(yyyy_MM_dd)并保存为static常量,
new的时候可指定格式,后面就可以随时调用format和parse方法,线程安全.
- DateFormatUtils(String) - 类 的构造器org.jretty.util.DateFormatUtils
-
自定义日期格式
- DateFormatUtils() - 类 的构造器org.jretty.util.DateFormatUtils
-
默认为:yyyy-MM-dd HH:mm:ss格式
- DateFormatUtils.DateInfo - org.jretty.util中的类
-
存放最原始、最详细的时间信息,可根据需要进行自由组合 例如 组合成 yyyyMMdd 格式: getYyyy()+getMM()+getDd()
- DateInfo() - 类 的构造器org.jretty.util.DateFormatUtils.DateInfo
-
- DateWriter - org.jretty.util.json.support中的类
-
默认为 yyyy-MM-dd HH:mm:ss 格式
- DateWriter() - 类 的构造器org.jretty.util.json.support.DateWriter
-
- DateWriter(String) - 类 的构造器org.jretty.util.json.support.DateWriter
-
- DateWriter(boolean) - 类 的构造器org.jretty.util.json.support.DateWriter
-
- day - 类 中的变量org.jretty.util.DateFormatUtils.DateInfo
-
- dd_MM_yy - 类 中的静态变量org.jretty.util.DateFormatUtils
-
- dd_MM_yyyy - 类 中的静态变量org.jretty.util.DateFormatUtils
-
- dd_MM_yyyy_HH_mm - 类 中的静态变量org.jretty.util.DateFormatUtils
-
- dd_MM_yyyy_HH_mm_ss - 类 中的静态变量org.jretty.util.DateFormatUtils
-
- dd_MM_yyyy_HH_mm_ss_SSS - 类 中的静态变量org.jretty.util.DateFormatUtils
-
- decideCharSet(String) - 类 中的静态方法org.jretty.util.StringUtils
-
- declaresException(Method, Class<?>) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Determine whether the given method explicitly declares the given
exception or one of its superclasses, which means that an exception of
that type can be propagated as-is within a reflective invocation.
- def - 类 中的变量org.jretty.util.zip.DeflaterOutputStream
-
Compressor for this stream.
- DEFAULT_CHARSET - 类 中的静态变量org.jretty.util.Const
-
全局默认编码
- DEFAULT_PATH_SEPARATOR - 类 中的静态变量org.jretty.util.match.AntPathMatcher
-
Default path separator: "/"
- DefaultResourceLoader - org.jretty.util.resource中的类
-
- DefaultResourceLoader() - 类 的构造器org.jretty.util.resource.DefaultResourceLoader
-
Create a new DefaultResourceLoader.
- DefaultResourceLoader(ClassLoader) - 类 的构造器org.jretty.util.resource.DefaultResourceLoader
-
Create a new DefaultResourceLoader.
- DefaultWriter - org.jretty.util.json中的接口
-
- deflate() - 类 中的方法org.jretty.util.zip.DeflaterOutputStream
-
Writes next block of compressed data to the output stream.
- DEFLATED - 类 中的静态变量org.jretty.util.zip.ZipEntry
-
Compression method for compressed (deflated) entries.
- DEFLATED - 类 中的静态变量org.jretty.util.zip.ZipOutputStream
-
Compression method for compressed (DEFLATED) entries.
- DeflaterOutputStream - org.jretty.util.zip中的类
-
This class implements an output stream filter for compressing data in
the "deflate" compression format.
- DeflaterOutputStream(OutputStream, Deflater, int) - 类 的构造器org.jretty.util.zip.DeflaterOutputStream
-
Creates a new output stream with the specified compressor and
buffer size.
- DeflaterOutputStream(OutputStream, Deflater) - 类 的构造器org.jretty.util.zip.DeflaterOutputStream
-
Creates a new output stream with the specified compressor and
a default buffer size.
- DeflaterOutputStream(OutputStream) - 类 的构造器org.jretty.util.zip.DeflaterOutputStream
-
Creates a new output stream with a default compressor and buffer size.
- deleteAll(File) - 类 中的静态方法org.jretty.util.FileUtils
-
deletes file or folder with all subfolders and subfiles.
- deleteEmptyDir(File) - 类 中的静态方法org.jretty.util.FileUtils
-
递归删除parent目录下面的所有空目录
- DescriptiveResource - org.jretty.util.resource中的类
-
Simple
Resource
implementation that holds a resource description
but does not point to an actually readable resource.
- DescriptiveResource(String) - 类 的构造器org.jretty.util.resource.DescriptiveResource
-
Create a new DescriptiveResource.
- determineRootDir(String) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Determine the root directory for the given location.
- doesNotContain(String, String, String) - 类 中的静态方法org.jretty.util.Assert
-
Assert that the given text does not contain the given substring.
- doesNotContain(String, String) - 类 中的静态方法org.jretty.util.Assert
-
Assert that the given text does not contain the given substring.
- doFindMatchingFileSystemResources(File, String) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Find all resources in the file system that match the given location pattern
via the Ant-style PathMatcher.
- doFindPathMatchingFileResources(Resource, String) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Find all resources in the file system that match the given location pattern
via the Ant-style PathMatcher.
- doFindPathMatchingJarResources(Resource, String) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Find all resources in jar files that match the given location pattern
via the Ant-style PathMatcher.
- doGetPath(Object) - 类 中的静态方法org.jretty.util.resource.VfsUtils
-
- doGetVisitorAttribute() - 类 中的静态方法org.jretty.util.resource.VfsUtils
-
- doInSecure(ExceptionUtils.SecureRun<T>) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
Run in try-catch Throwable, change Throwable to NestedCheckedException
{捕获所有异常和错误}
- doMatch(String, String, boolean, Map<String, String>) - 类 中的方法org.jretty.util.match.AntPathMatcher
-
Actually match the given path
against the given pattern
.
- doRetrieveMatchingFiles(String, File, Set<File>) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Recursively retrieve files that match the given pattern,
adding them to the given result list.
- doWith(Method) - 接口 中的方法org.jretty.util.ReflectionMethodUtils.MethodCallback
-
Perform an operation using the given method.
- doWith(Field) - 接口 中的方法org.jretty.util.ReflectionUtils.FieldCallback
-
Perform an operation using the given field.
- doWithFields(Class<?>, ReflectionUtils.FieldCallback) - 类 中的静态方法org.jretty.util.ReflectionUtils
-
Invoke the given callback on all fields in the target class, going up the
class hierarchy to get all declared fields.
- doWithFields(Class<?>, ReflectionUtils.FieldCallback, ReflectionUtils.FieldFilter) - 类 中的静态方法org.jretty.util.ReflectionUtils
-
Invoke the given callback on all fields in the target class, going up the
class hierarchy to get all declared fields.
- doWithMethods(Class<?>, ReflectionMethodUtils.MethodCallback) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- doWithMethods(Class<?>, ReflectionMethodUtils.MethodCallback, ReflectionMethodUtils.MethodFilter) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Perform the given callback operation on all matching methods of the given
class and superclasses (or given interface and super-interfaces).
- GB2312 - 类 中的静态变量org.jretty.util.Const
-
GB2312编码
- GBK - 类 中的静态变量org.jretty.util.Const
-
GBK编码
- genShortUniqueTimeMillis() - 类 中的静态方法org.jretty.util.DateFormatUtils
-
产生一个独一无二的long类型的TimeMillis,长度为13,按时间先后
- genUniqueDate_TimeMillis() - 类 中的静态方法org.jretty.util.DateFormatUtils
-
产生一个独一无二的long类型的TimeMillis,长度为13,按时间先后 依赖于系统时间的不可重复性(系统时间可以延后,但是不能提前)。
- get(String) - 类 中的方法org.jretty.util.BeansSet
-
获取指定id的bean对象
- getAllDeclaredMethods(Class<?>) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Get all declared methods on the leaf class and all superclasses.
- getAllFields(Class<?>) - 类 中的静态方法org.jretty.util.ReflectionUtils
-
Get all fields.
- getAllInterfaces(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
- getAllInterfaces(Class<?>, ClassLoader) - 类 中的静态方法org.jretty.util.ClassUtils
-
get all interfaces of the class. include all ancestors of all the interfaces of the class,
but not include interface from the parent or ancestors of the class.
- getAllInterfacesForClassAsSet(Class) - 类 中的静态方法org.jretty.util.ClassUtils
-
Return all interfaces that the given class implements as Set,
including ones implemented by superclasses.
- getAllInterfacesForClassAsSet(Class, ClassLoader) - 类 中的静态方法org.jretty.util.ClassUtils
-
Return all interfaces that the given class implements as Set,
including ones implemented by superclasses.
- getAllNonStaticFields(Class<?>) - 类 中的静态方法org.jretty.util.ReflectionUtils
-
- getAllSuperClass(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Get all super classes of the class.
- getBaseName() - 类 中的方法org.jretty.util.NamedThreadFactory
-
- getBeanNames() - 类 中的方法org.jretty.util.BeansSet
-
- getBufferedReader(String, String) - 类 中的静态方法org.jretty.util.IOUtils
-
get BufferedReader input stream
- getBufferedWriter(String, boolean, String) - 类 中的静态方法org.jretty.util.IOUtils
-
get BufferedWriter output stream
- getByte(String, Locale) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getByte(String, String) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getByte(String, String) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getByte(String, Locale) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getByte(String) - 接口 中的方法org.jretty.util.msg.KeyValueMsg
-
根据key获取value
- getByte(String) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getByteArray() - 类 中的方法org.jretty.util.resource.ByteArrayResource
-
Return the underlying byte array.
- getBytes(String) - 类 中的静态方法org.jretty.util.StringUtils
-
重新定义了String.getBytes()。
- getBytes(String, String) - 类 中的静态方法org.jretty.util.StringUtils
-
String.getBytes(),将CheckedException转换成了RuntimeException。
- getCause() - 异常错误 中的方法org.jretty.util.NestedCheckedException
-
获取最原始的那个异常对象
- getCause() - 异常错误 中的方法org.jretty.util.NestedIOException
-
获取最原始的那个异常对象
- getCause() - 异常错误 中的方法org.jretty.util.NestedRuntimeException
-
获取最原始的那个异常对象
- getCause() - 类 中的方法org.jretty.util.support.NestedExceptionDelegate
-
- getCause() - 异常错误 中的方法org.jretty.util.zip.NestedZipException
-
获取最原始的那个异常对象
- getClassFileName(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Determine the name of the class file, relative to the containing
package: e.g.
- getClassLoader() - 类 中的方法org.jretty.util.resource.ClassPathResource
-
Return the ClassLoader that this resource will be obtained from.
- getClassLoader() - 类 中的方法org.jretty.util.resource.DefaultResourceLoader
-
Return the ClassLoader to load class path resources with.
- getClassLoader() - 接口 中的方法org.jretty.util.resource.ResourceLoader
-
Expose the ClassLoader used by this ResourceLoader.
- getClassLoader() - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Return the ClassLoader that this pattern resolver works with
(never null
).
- getClassPathResource(String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getClassPathResource(String, ClassLoader) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getCollectionObj(Class<?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
根据类型自动返回一个集合
- getComment() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the comment string for the entry, or null if none.
- getCompressedSize() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the size of the compressed entry data, or -1 if not known.
- getConstructor(Class<T>, Class<?>...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Determine whether the given class has a public constructor with the given signature,
and return it if available (else return null
).
- getCrc() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the CRC-32 checksum of the uncompressed entry data, or -1 if
not known.
- getDd() - 类 中的方法org.jretty.util.DateFormatUtils.DateInfo
-
- getDeclaredConstructor(Class<T>, Class<?>...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- getDeclaredMethod(Class<?>, String, Class<?>...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- getDefaultClassLoader() - 类 中的静态方法org.jretty.util.ClassUtils
-
Return the default ClassLoader to use: typically the thread context
ClassLoader, if available; the ClassLoader that loaded the ClassUtils
class will be used as fallback.
- getDefaultFile() - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getDelegate() - 异常错误 中的方法org.jretty.util.NestedCheckedException
-
- getDelegate() - 异常错误 中的方法org.jretty.util.NestedIOException
-
- getDelegate() - 异常错误 中的方法org.jretty.util.NestedRuntimeException
-
- getDelegate() - 接口 中的方法org.jretty.util.support.ExceptionDelegateSupport
-
获取 Exception Delegate
- getDelegate() - 异常错误 中的方法org.jretty.util.zip.NestedZipException
-
- getDescription() - 类 中的方法org.jretty.util.resource.ByteArrayResource
-
This implementation returns the passed-in description, if any.
- getDescription() - 类 中的方法org.jretty.util.resource.ClassPathResource
-
This implementation returns a description that includes the class path location.
- getDescription() - 类 中的方法org.jretty.util.resource.DescriptiveResource
-
- getDescription() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation returns a description that includes the absolute
path of the file.
- getDescription() - 类 中的方法org.jretty.util.resource.InputStreamResource
-
This implementation returns the passed-in description, if any.
- getDescription() - 接口 中的方法org.jretty.util.resource.Resource
-
Return a description for this resource,
to be used for error output when working with the resource.
- getDescription() - 类 中的方法org.jretty.util.resource.UrlResource
-
This implementation returns a description that includes the URL.
- getDescription() - 类 中的方法org.jretty.util.resource.VfsResource
-
- getDescriptiveType(Object) - 类 中的静态方法org.jretty.util.ClassUtils
-
Return a descriptive name for the given object's type: usually simply
the class name, but component type class name + "[]" for arrays,
and an appended list of implemented interfaces for JDK proxies.
- getDouble(String, Locale) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getDouble(String, String) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getDouble(String, String) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getDouble(String, Locale) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getDouble(String) - 接口 中的方法org.jretty.util.msg.KeyValueMsg
-
根据key获取value
- getDouble(String) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getErrorCode() - 接口 中的方法org.jretty.util.I18nExceptionSupport
-
获得错误代码
- getExceptionName() - 类 中的方法org.jretty.util.support.NestedExceptionDelegate
-
- getExceptionPrefix() - 类 中的方法org.jretty.util.support.NestedExceptionDelegate
-
异常的前缀名 默认为"org.jretty.NestedException: " 子类可以重载此方法,自定义前缀
- getExceptionProfile(Throwable) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
获取精简过的错误信息,(错误类型+错误描述),默认截取440个字符(前320个+后120个)
- getExceptionProfile(Throwable, String) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
获取精简过的错误信息,(错误类型+错误描述),默认截取440个字符(前320个+后120个)
- getExceptionProfile(Throwable, int) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
获取精简过的错误信息,(错误类型+错误描述),默认截取440个字符(前320个+后120个)
- getExceptionProfile(Throwable, String, int) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
获取精简过的错误信息,(错误类型+错误描述),截取 errorLen 个字符。
- getExtra() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the extra field data for the entry, or null if none.
- getField(Field, Object) - 类 中的静态方法org.jretty.util.ReflectionUtils
-
- getFile() - 类 中的方法org.jretty.util.resource.AbstractFileResolvingResource
-
This implementation returns a File reference for the underlying class path
resource, provided that it refers to a file in the file system.
- getFile(URI) - 类 中的方法org.jretty.util.resource.AbstractFileResolvingResource
-
This implementation returns a File reference for the underlying class path
resource, provided that it refers to a file in the file system.
- getFile() - 类 中的方法org.jretty.util.resource.AbstractResource
-
This implementation throws a FileNotFoundException, assuming
that the resource cannot be resolved to an absolute file path.
- getFile() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation returns the underlying File reference.
- getFile() - 接口 中的方法org.jretty.util.resource.Resource
-
Return a File handle for this resource.
- getFile() - 类 中的方法org.jretty.util.resource.UrlResource
-
This implementation returns a File reference for the underlying URL/URI,
provided that it refers to a file in the file system.
- getFile() - 类 中的方法org.jretty.util.resource.VfsResource
-
- getFile(URL) - 类 中的静态方法org.jretty.util.UrlUtils
-
Resolve the given resource URL to a java.io.File
,
i.e. to a file in the file system.
- getFile(URL, String) - 类 中的静态方法org.jretty.util.UrlUtils
-
Resolve the given resource URL to a java.io.File
,
i.e. to a file in the file system.
- getFile(URI) - 类 中的静态方法org.jretty.util.UrlUtils
-
Resolve the given resource URI to a java.io.File
,
i.e. to a file in the file system.
- getFile(URI, String) - 类 中的静态方法org.jretty.util.UrlUtils
-
Resolve the given resource URI to a java.io.File
,
i.e. to a file in the file system.
- getFileForLastModifiedCheck() - 类 中的方法org.jretty.util.resource.AbstractFileResolvingResource
-
This implementation determines the underlying File
(or jar file, in case of a resource in a jar/zip).
- getFileForLastModifiedCheck() - 类 中的方法org.jretty.util.resource.AbstractResource
-
Determine the File to use for timestamp checking.
- getFilename() - 类 中的方法org.jretty.util.resource.AbstractResource
-
This implementation always returns null
,
assuming that this resource type does not have a filename.
- getFilename() - 类 中的方法org.jretty.util.resource.ClassPathResource
-
This implementation returns the name of the file that this class path
resource refers to.
- getFilename() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation returns the name of the file.
- getFilename() - 接口 中的方法org.jretty.util.resource.Resource
-
Determine a filename for this resource, i.e. typically the last
part of the path: for example, "myfile.txt".
- getFilename() - 类 中的方法org.jretty.util.resource.UrlResource
-
This implementation returns the name of the file that this URL refers to.
- getFilename() - 类 中的方法org.jretty.util.resource.VfsResource
-
- getFilenameExtension(String) - 类 中的静态方法org.jretty.util.StringUtils
-
从路径(url或者目录都可以)中获取文件后缀(比如 txt)
Extract the filename extension from the given path, e.g.
- getFilenameFromPath(String) - 类 中的静态方法org.jretty.util.StringUtils
-
从路径(url或者目录都可以)中获取文件名称(带后缀,形如 abc.txt)
Extract the filename from the given path, e.g.
- getFilenameWithoutExtension(String) - 类 中的静态方法org.jretty.util.StringUtils
-
从路径(url或者目录都可以)中获取文件名称(不带后缀,形如 abc)
Extract the filename without it's extension from the given path, e.g.
- getFileSystemResource(String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getFloat(String, Locale) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getFloat(String, String) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getFloat(String, String) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getFloat(String, Locale) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getFloat(String) - 接口 中的方法org.jretty.util.msg.KeyValueMsg
-
根据key获取value
- getFloat(String) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getFormat() - 类 中的方法org.jretty.util.DateFormatUtils
-
获取线程安全的DateFormat对象
- getFsResource(String) - 类 中的静态方法org.jretty.util.resource.FileSystemResourceLoader
-
- getHH() - 类 中的方法org.jretty.util.DateFormatUtils.DateInfo
-
- getId() - 接口 中的方法org.jretty.util.FactoryBean
-
- getId() - 类 中的方法org.jretty.util.ObjectBean
-
- getInputStream() - 类 中的方法org.jretty.util.resource.ByteArrayResource
-
This implementation returns a ByteArrayInputStream for the
underlying byte array.
- getInputStream() - 类 中的方法org.jretty.util.resource.ClassPathResource
-
This implementation opens an InputStream for the given class path resource.
- getInputStream() - 类 中的方法org.jretty.util.resource.DescriptiveResource
-
- getInputStream() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation opens a FileInputStream for the underlying file.
- getInputStream() - 类 中的方法org.jretty.util.resource.InputStreamResource
-
This implementation throws IllegalStateException if attempting to
read the underlying stream multiple times.
- getInputStream() - 接口 中的方法org.jretty.util.resource.InputStreamSource
-
- getInputStream() - 类 中的方法org.jretty.util.resource.UrlResource
-
This implementation opens an InputStream for the given URL.
- getInputStream() - 类 中的方法org.jretty.util.resource.VfsResource
-
- getInputStreamFromClassPath(ClassLoader, String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
取得clazz.getClassLoader()所在 ClassPath下的资源(非url.openStream()模式,支持动态更新)
- getInputStreamFromJar(Class<?>, String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
取得class所在 jar包 中的资源 {注意jar必须在文件目录下,不能在war或ear包中}
- getInputStreamFromString(String, String) - 类 中的静态方法org.jretty.util.IOUtils
-
将字符串转换为 InputStream 输入流
- getInstance() - 类 中的静态方法org.jretty.util.json.SimpleJSON
-
- getInteger(String, Locale) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getInteger(String, String) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getInteger(String, String) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getInteger(String, Locale) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getInteger(String) - 接口 中的方法org.jretty.util.msg.KeyValueMsg
-
根据key获取value
- getInteger(String) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getJarFile(String) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Resolve the given jar file URL into a JarFile object.
- getJavaRuntime() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getJavaVersion() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getJDKVernder() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getJSONParser(String) - 类 中的静态方法org.jretty.util.json.JSONUtils
-
- getJSONWriter() - 类 中的静态方法org.jretty.util.json.JSONUtils
-
- getJSONWriter(boolean) - 类 中的静态方法org.jretty.util.json.JSONUtils
-
- getJSONWriter(ObjectWriter...) - 类 中的静态方法org.jretty.util.json.JSONUtils
-
- getJSONWriter(Map<Class, ObjectWriter>) - 类 中的静态方法org.jretty.util.json.JSONUtils
-
- getJvmEncoding() - 类 中的静态方法org.jretty.util.StringUtils
-
当前环境的默认编码(即file.encoding)
- getJVMFreeMemory() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getJVMMaxMemory() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getJVMTotalMemory() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getLong(String, Locale) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getLong(String, String) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getLong(String, String) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getLong(String, Locale) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getLong(String) - 接口 中的方法org.jretty.util.msg.KeyValueMsg
-
根据key获取value
- getLong(String) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getMap() - 类 中的方法org.jretty.util.json.SimpleJSON
-
- getMapObj(Class<?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
根据类型自动返回一个Map
- getMessage() - 异常错误 中的方法org.jretty.util.NestedCheckedException
-
- getMessage() - 异常错误 中的方法org.jretty.util.NestedIOException
-
- getMessage() - 异常错误 中的方法org.jretty.util.NestedRuntimeException
-
- getMessage() - 类 中的方法org.jretty.util.support.NestedExceptionDelegate
-
- getMessage() - 异常错误 中的方法org.jretty.util.zip.NestedZipException
-
- getMethod(Class<?>, String, Class<?>...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Determine whether the given class has a method with the given signature,
and return it if available (else return null
).
- getMethod() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the compression method of the entry, or -1 if not specified.
- getMM() - 类 中的方法org.jretty.util.DateFormatUtils.DateInfo
-
- getMm() - 类 中的方法org.jretty.util.DateFormatUtils.DateInfo
-
- getModulePath() - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getModulePath() - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getMonth(int) - 类 中的静态方法org.jretty.util.DateFormatUtils
-
- getName() - 接口 中的方法org.jretty.util.NamedRunnable
-
线程名称(前缀)
- getName() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the name of the entry.
- getNextEntry() - 类 中的方法org.jretty.util.zip.ZipInputStream
-
Reads the next ZIP file entry and positions the stream at the
beginning of the entry data.
- getObject() - 接口 中的方法org.jretty.util.FactoryBean
-
- getObject() - 类 中的方法org.jretty.util.ObjectBean
-
- getOrigException() - 异常错误 中的方法org.jretty.util.NestedIOException
-
重造一个原始的、包含堆栈信息的IOException
- getOSFileSeparator() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getOSPathSeparator() - 类 中的静态方法org.jretty.util.JvmUtils
-
- getOutputStream() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation opens a FileOutputStream for the underlying file.
- getOutputStream() - 接口 中的方法org.jretty.util.resource.WritableResource
-
Return an
OutputStream
for the underlying resource,
allowing to (over-)write its content.
- getPackageName(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Determine the name of the package of the given class:
e.g.
- getParams() - 接口 中的方法org.jretty.util.I18nExceptionSupport
-
获得错误信息参数(用以替换错误信息中的{}记号)
- getPath() - 类 中的方法org.jretty.util.resource.ClassPathResource
-
Return the path for this resource (as resource path within the class path).
- getPath() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
Return the file path for this resource.
- getPathMatcher() - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Return the PathMatcher that this resource pattern resolver uses.
- getPathWithinContext() - 接口 中的方法org.jretty.util.resource.ContextResource
-
Return the path within the enclosing 'context'.
- getPathWithinContext() - 类 中的方法org.jretty.util.resource.FileSystemContextResource
-
- getPattern() - 类 中的方法org.jretty.util.match.ZolltyPathMatcher
-
- getPatternComparator(String) - 类 中的方法org.jretty.util.match.AntPathMatcher
-
Given a full path, returns a
Comparator
suitable for sorting patterns in order of explicitness.
- getPatternComparator(String) - 接口 中的方法org.jretty.util.match.PathMatcher
-
Given a full path, returns a
Comparator
suitable for sorting patterns
in order of explicitness for that path.
- getProperties(InputStream) - 类 中的静态方法org.jretty.util.ResourceUtils
-
通过输入流获取Properties实例
- getProps(String) - 类 中的静态方法org.jretty.util.msg.I18nMsgProperties
-
获取 "classpath*:" + fileName 下面的所有Properties
- getQualifiedMethodName(Method) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Return the qualified name of the given method, consisting of
fully qualified interface/class name + "." + method name.
- getQualifiedName(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Return the qualified name of the given class: usually simply
the class name, but component type class name + "[]" for arrays.
- getRadomStr(int, int, int) - 类 中的静态方法org.jretty.util.RandomUtils
-
Generate radom number string 生成随机数字符串
the param (start, end) must in region [0,9] or ['A','Z'] or ['a', 'z']
e.g. (2,8) or ('A','K')
- getRadomStr09(int) - 类 中的静态方法org.jretty.util.RandomUtils
-
- getRadomStr09AZ(int) - 类 中的静态方法org.jretty.util.RandomUtils
-
- getRadomStr09az(int) - 类 中的静态方法org.jretty.util.RandomUtils
-
- getRadomStr09AZaz(int) - 类 中的静态方法org.jretty.util.RandomUtils
-
获取长度为{len}的随机字符串(0_9A_Za_z组成)
- getRadomStrAZ(int) - 类 中的静态方法org.jretty.util.RandomUtils
-
获取长度为len的,范围为 'A'到'Z'的随机字母字符串
- getRadomStrAZaz(int) - 类 中的静态方法org.jretty.util.RandomUtils
-
获取长度为{len}的随机字符串(A_Za_z组成)
- getReaderFromString(String) - 类 中的静态方法org.jretty.util.IOUtils
-
将字符串转换为 Reader 输入流
- getResource(String) - 类 中的方法org.jretty.util.resource.DefaultResourceLoader
-
DefaultResourceLoader取resource的顺序:
判断是否为 classpath URL,例如 classpath:test.dat
判断是否为 标准URL 路径,例如 file:C:/test.dat,http://www.math.com/test.html
交给子类的 getResourceByPath(location) 方法进一步去判断。
- getResource(String) - 接口 中的方法org.jretty.util.resource.ResourceLoader
-
Return a Resource handle for the specified resource.
- getResource(String) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
- getResource(String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getResource(ClassLoader, String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getResource(ResourceLoader, String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getResourceByPath(String) - 类 中的方法org.jretty.util.resource.ClassRelativeResourceLoader
-
- getResourceByPath(String) - 类 中的方法org.jretty.util.resource.DefaultResourceLoader
-
Return a Resource handle for the resource at the given path.
- getResourceByPath(String) - 类 中的方法org.jretty.util.resource.FileSystemResourceLoader
-
Resolve resource paths as file system paths.
- getResourceFromJar(Class<?>, String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
取得class所在 jar包 中的资源
- getResourceLoader() - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Return the ResourceLoader that this pattern resolver works with.
- getResources(String) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
- getResources(String) - 接口 中的方法org.jretty.util.resource.support.ResourcePatternResolver
-
Resolve the given location pattern into Resource objects.
- getResources(String, ResourcePatternResolver) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getResourcesByPathMatchingResolver(String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getResourcesByPathMatchingResolver(String, ClassLoader) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getResourcesByPathMatchingResolver(String, ResourceLoader) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getRoot(URL) - 类 中的静态方法org.jretty.util.resource.VfsUtils
-
- getShortName(String) - 类 中的静态方法org.jretty.util.ClassUtils
-
Get the class name without the qualified package name.
- getShortName(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Get the class name without the qualified package name.
- getShortNameAsProperty(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Return the short string name of a Java class in uncapitalized JavaBeans
property format.
- getShortUniqueDate_TimeMillis() - 类 中的静态方法org.jretty.util.DateFormatUtils
-
生成一个独一无二的字符串(适用于单服务器),格式为MMddHHmmssSS,长度为12,按时间先后.
- getSize() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the uncompressed size of the entry data, or -1 if not known.
- getSs() - 类 中的方法org.jretty.util.DateFormatUtils.DateInfo
-
- getSss() - 类 中的方法org.jretty.util.DateFormatUtils.DateInfo
-
- getStackTrace() - 异常错误 中的方法org.jretty.util.NestedCheckedException
-
- getStackTrace() - 异常错误 中的方法org.jretty.util.NestedIOException
-
- getStackTrace() - 异常错误 中的方法org.jretty.util.NestedRuntimeException
-
- getStackTrace() - 异常错误 中的方法org.jretty.util.zip.NestedZipException
-
- getStackTraceStr(ExceptionUtils.LineChecker, Throwable) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
智能将StackTrace堆栈信息转换成字符串
- getStackTraceStr(ExceptionUtils.LineChecker, Throwable, String) - 类 中的静态方法org.jretty.util.ExceptionUtils
-
智能将StackTrace堆栈信息转换成字符串
- getStackTraceStr() - 异常错误 中的方法org.jretty.util.NestedCheckedException
-
- getStackTraceStr() - 接口 中的方法org.jretty.util.NestedException
-
- getStackTraceStr() - 异常错误 中的方法org.jretty.util.NestedIOException
-
- getStackTraceStr() - 异常错误 中的方法org.jretty.util.NestedRuntimeException
-
- getStackTraceStr() - 类 中的方法org.jretty.util.support.NestedExceptionDelegate
-
- getStackTraceStr(String) - 类 中的方法org.jretty.util.support.NestedExceptionDelegate
-
- getStackTraceStr() - 异常错误 中的方法org.jretty.util.zip.NestedZipException
-
- getStaticMethod(Class<?>, String, Class<?>...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Return a public static method of a class.
- getString(String, Locale) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getString(String, String) - 接口 中的方法org.jretty.util.msg.I18nMsg
-
根据key和Locale(语言_国家_地区),获取国际化的消息内容
- getString(String, Locale) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getString(String, String) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getString(String) - 接口 中的方法org.jretty.util.msg.KeyValueMsg
-
根据key获取value
- getString(String) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
- getStringFromModule(String, Locale) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- getTextContent(InputStream) - 类 中的静态方法org.jretty.util.FileUtils
-
解析文本内容
- getTextContent(InputStream, String) - 类 中的静态方法org.jretty.util.FileUtils
-
解析文本内容
- getTextFileContent(InputStream) - 类 中的静态方法org.jretty.util.FileUtils
-
按行解析文本文件
- getTextFileContent(InputStream, String) - 类 中的静态方法org.jretty.util.FileUtils
-
按行解析文本文件
- getTime() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns the modification time of the entry, or -1 if not specified.
- getType() - 接口 中的方法org.jretty.util.FactoryBean
-
- getType() - 类 中的方法org.jretty.util.ObjectBean
-
- getTypedObj() - 类 中的方法org.jretty.util.ObjectBean
-
- getUniqueDatePattern_TimeMillis() - 类 中的静态方法org.jretty.util.DateFormatUtils
-
生成一个独一无二的字符串(适用于单服务器),格式为yyMMdd_HHmmssSSS,长度为16,按时间先后.
- getUniqueDatePattern_TimeMillis_noSplit() - 类 中的静态方法org.jretty.util.DateFormatUtils
-
生成一个独一无二的字符串(适用于单服务器),格式为yyMMddHHmmssSSS,长度为15,按时间先后.
- getUniqueDeclaredMethods(Class<?>) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Get the unique set of declared methods on the leaf class and all superclasses.
- getURI() - 类 中的方法org.jretty.util.resource.AbstractResource
-
- getURI() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation returns a URI for the underlying file.
- getURI() - 接口 中的方法org.jretty.util.resource.Resource
-
Return a URI handle for this resource.
- getURI() - 类 中的方法org.jretty.util.resource.UrlResource
-
This implementation returns the underlying URI directly,
if possible.
- getURI() - 类 中的方法org.jretty.util.resource.VfsResource
-
- getURL() - 类 中的方法org.jretty.util.resource.AbstractResource
-
This implementation throws a FileNotFoundException, assuming
that the resource cannot be resolved to a URL.
- getURL() - 类 中的方法org.jretty.util.resource.ClassPathResource
-
This implementation returns a URL for the underlying class path resource,
if available.
- getURL() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation returns a URL for the underlying file.
- getURL() - 接口 中的方法org.jretty.util.resource.Resource
-
Return a URL handle for this resource.
- getURL() - 类 中的方法org.jretty.util.resource.UrlResource
-
This implementation returns the underlying URL reference.
- getURL() - 类 中的方法org.jretty.util.resource.VfsResource
-
- getUrlResource(String) - 类 中的静态方法org.jretty.util.ResourceUtils
-
- getUseTimeValue() - 类 中的方法org.jretty.util.json.support.DateWriter
-
- getYyyy() - 类 中的方法org.jretty.util.DateFormatUtils.DateInfo
-
- I18nExceptionSupport - org.jretty.util中的接口
-
- I18nMsg - org.jretty.util.msg中的接口
-
根据key和
Locale
(语言_国家_地区),获取国际化的消息内容
- I18nMsgProperties - org.jretty.util.msg中的类
-
基于Properties文件的I18nMsg的实现。
- I18nMsgProperties() - 类 的构造器org.jretty.util.msg.I18nMsgProperties
-
- I18nMsgProperties(String) - 类 的构造器org.jretty.util.msg.I18nMsgProperties
-
- IETF_SEPARATOR - 类 中的静态变量org.jretty.util.LocaleUtils
-
- indexIgnoreCase(String, String) - 类 中的静态方法org.jretty.util.StringUtils
-
Case in-sensitive find of the first index within a String.
- indexIgnoreCase(String, String, int) - 类 中的静态方法org.jretty.util.StringUtils
-
- inf - 类 中的变量org.jretty.util.zip.InflaterInputStream
-
Decompressor for this stream.
- InflaterInputStream - org.jretty.util.zip中的类
-
This class implements a stream filter for uncompressing data in the
"deflate" compression format.
- InflaterInputStream(InputStream, Inflater, int) - 类 的构造器org.jretty.util.zip.InflaterInputStream
-
Creates a new input stream with the specified decompressor and
buffer size.
- InflaterInputStream(InputStream, Inflater) - 类 的构造器org.jretty.util.zip.InflaterInputStream
-
Creates a new input stream with the specified decompressor and a
default buffer size.
- InflaterInputStream(InputStream) - 类 的构造器org.jretty.util.zip.InflaterInputStream
-
Creates a new input stream with a default decompressor and buffer size.
- initValue(Object) - 类 中的静态方法org.jretty.util.ObjectUtils
-
给对象赋初始值
(该方法等价于initValue(Object, true, false)
,也就是说会覆盖旧值,而且bean要是标准的、属性能完全被setter方法赋值)
- initValue(Object, boolean) - 类 中的静态方法org.jretty.util.ObjectUtils
-
给对象赋初始值
(该方法等价于initValue(Object, boolean, false)
)
- initValue(Object, boolean, boolean) - 类 中的静态方法org.jretty.util.ObjectUtils
-
给对象赋初始值
- InputStreamResource - org.jretty.util.resource中的类
-
Resource
implementation for a given InputStream.
- InputStreamResource(InputStream) - 类 的构造器org.jretty.util.resource.InputStreamResource
-
Create a new InputStreamResource.
- InputStreamResource(InputStream, String) - 类 的构造器org.jretty.util.resource.InputStreamResource
-
Create a new InputStreamResource.
- InputStreamSource - org.jretty.util.resource中的接口
-
Simple interface for objects that are sources for an
InputStream
.
- invokeConstructor(Constructor<?>, Object...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- invokeConstructor(Class<?>, Class<?>[], Object...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- invokeMethod(Method, Object, Object...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Invoke the specified
Method
against the supplied target object with the
supplied arguments.
- invokeMethod(String, Object, Object...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- invokeMethod(String, Class<?>[], Object, Object...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- invokeStaticMethod(String, Class<?>, Object...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- invokeStaticMethod(String, Class<?>[], Class<?>, Object...) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
- invokeVfsMethod(Method, Object, Object...) - 类 中的静态方法org.jretty.util.resource.VfsUtils
-
- IOUtils - org.jretty.util中的类
-
IO utils best practice
{高效的IO工具类}
- IOUtils() - 类 的构造器org.jretty.util.IOUtils
-
- isAssignable(Class, Class) - 类 中的静态方法org.jretty.util.Assert
-
Assert that superType.isAssignableFrom(subType)
is true
.
- isAssignable(Class, Class, String) - 类 中的静态方法org.jretty.util.Assert
-
Assert that superType.isAssignableFrom(subType)
is true
.
- isAssignable(Class<?>, Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Check if the right-hand side type may be assigned to the left-hand side
type, assuming setting by reflection.
- isAssignableValue(Class<?>, Object) - 类 中的静态方法org.jretty.util.ClassUtils
-
Determine if the given type is assignable from the given value,
assuming setting by reflection.
- isAssignableWithNum(Class<?>, Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
- isBlank(CharSequence) - 类 中的静态方法org.jretty.util.StringUtils
-
Checks if a String is empty (""), null or whitespace(e.g. " ", "\t", "\n").
- isCacheSafe(Class<?>, ClassLoader) - 类 中的静态方法org.jretty.util.ClassUtils
-
Check whether the given class is cache-safe in the given context,
i.e. whether it is loaded by the given ClassLoader or a parent of it.
- isDirectory() - 类 中的方法org.jretty.util.zip.ZipEntry
-
Returns true if this is a directory entry.
- isEmpty() - 类 中的方法org.jretty.util.BeansSet
-
- isEmpty(CharSequence) - 类 中的静态方法org.jretty.util.StringUtils
-
Checks if a String is null or empty ("").
- isEquals(Object, Object) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isEquals() - 类 中的方法org.jretty.util.EqualsBuilder
-
- isEqualsMethod(Method) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Determine whether the given method is an "equals" method.
- isFileURL(URL) - 类 中的静态方法org.jretty.util.UrlUtils
-
Determine whether the given URL points to a resource in the file system,
that is, has protocol "file" or "vfs".
- isHashCodeMethod(Method) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Determine whether the given method is a "hashCode" method.
- isHtmlSafe() - 类 中的方法org.jretty.util.json.support.StringWriter
-
- isInstanceOf(Class, Object) - 类 中的静态方法org.jretty.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isInstanceOf(Class, Object, String) - 类 中的静态方法org.jretty.util.Assert
-
Assert that the provided object is an instance of the provided class.
- isJarResource(Resource) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Return whether the given resource handle indicates a jar resource
that the doFindPathMatchingJarResources
method can handle.
- isJarURL(URL) - 类 中的静态方法org.jretty.util.UrlUtils
-
Determine whether the given URL points to a resource in a jar file,
that is, has protocol "jar", "zip", "wsjar" or "code-source".
- isMatch(String) - 类 中的方法org.jretty.util.match.ZolltyPathMatcher
-
Match the given path
against the given pattern
, test whether it matched.
- isNotBlank(CharSequence) - 类 中的静态方法org.jretty.util.StringUtils
-
Checks if a String is empty (""), null or whitespace(e.g. " ", "\t", "\n").
- isNotEmpty(Object[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
Checks if the array is null or empty (size==0).
- isNotEmpty(int[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(byte[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(long[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(double[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(float[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(short[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(char[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(boolean[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNotEmpty(Collection<?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Checks if the collection is null or empty (size==0).
- isNotEmpty(Enumeration<?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Checks if the collection is null or empty (size==0).
- isNotEmpty(Map<?, ?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Checks if the map is null or empty (size==0).
- isNotEmpty(CharSequence) - 类 中的静态方法org.jretty.util.StringUtils
-
Checks if a String is null or empty ("").
- isNull(Object, String) - 类 中的静态方法org.jretty.util.Assert
-
Assert that an object is null
.
- isNull(Object) - 类 中的静态方法org.jretty.util.Assert
-
Assert that an object is null
.
- isNullOrEmpty(Object[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
Checks if the array is null or empty (size==0).
- isNullOrEmpty(int[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(byte[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(long[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(double[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(float[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(short[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(char[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(boolean[]) - 类 中的静态方法org.jretty.util.ArrayUtils
-
- isNullOrEmpty(Collection<?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Checks if the collection is null or empty (size==0).
- isNullOrEmpty(Enumeration<?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Checks if the collection is null or empty (size==0).
- isNullOrEmpty(Map<?, ?>) - 类 中的静态方法org.jretty.util.CollectionUtils
-
Checks if the map is null or empty (size==0).
- isNullOrEmpty(CharSequence) - 类 中的静态方法org.jretty.util.StringUtils
-
Checks if a String is null or empty ("").
- isNumAssignableFrom(Class<?>, Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
判断 数值类型source 是否能赋值给 数值类型target, 赋值顺序: byte -> short -> int -> long -> float -> double
- isNumber(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
- ISO_8859_1 - 类 中的静态变量org.jretty.util.Const
-
ISO-8859-1编码(ISO-LATIN-1),通常用于网络数据传输的默认编码 range 0000-00FF (0-255)
- isObjectMethod(Method) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Determine whether the given method is originally declared by
Object
.
- isOpen() - 类 中的方法org.jretty.util.resource.AbstractResource
-
This implementation always returns false
.
- isOpen() - 类 中的方法org.jretty.util.resource.InputStreamResource
-
This implementation always returns true
.
- isOpen() - 接口 中的方法org.jretty.util.resource.Resource
-
Return whether this resource represents a handle with an open
stream.
- isPattern(String) - 类 中的方法org.jretty.util.match.AntPathMatcher
-
- isPattern(String) - 接口 中的方法org.jretty.util.match.PathMatcher
-
Does the given path
represent a pattern that can be matched
by an implementation of this interface?
- isPattern(String) - 类 中的静态方法org.jretty.util.match.ZolltyPathMatcher
-
判断pattern
是否为通配Pattern格式
- isPresent(String, ClassLoader) - 类 中的静态方法org.jretty.util.ClassUtils
-
Determine whether the
Class
identified by the supplied name is present
and can be loaded.
- isPrimitiveArray(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Check if the given class represents an array of primitives,
i.e. boolean, byte, char, short, int, long, float, or double.
- isPrimitiveOrWrapper(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Check if the given class represents a primitive (i.e. boolean, byte,
char, short, int, long, float, or double) or a primitive wrapper
(i.e.
- isPrimitiveWrapper(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Check if the given class represents a primitive wrapper,
i.e.
- isPrimitiveWrapperArray(Class<?>) - 类 中的静态方法org.jretty.util.ClassUtils
-
Check if the given class represents an array of primitive wrappers,
i.e.
- isPublicStaticFinal(Field) - 类 中的静态方法org.jretty.util.ReflectionUtils
-
Determine whether the given field is a "public static final" constant.
- isReadable() - 类 中的方法org.jretty.util.resource.AbstractFileResolvingResource
-
- isReadable() - 类 中的方法org.jretty.util.resource.AbstractResource
-
This implementation always returns true
.
- isReadable() - 类 中的方法org.jretty.util.resource.DescriptiveResource
-
- isReadable() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation checks whether the underlying file is marked as readable
(and corresponds to an actual file with content, not to a directory).
- isReadable() - 接口 中的方法org.jretty.util.resource.Resource
-
- isReadable() - 类 中的方法org.jretty.util.resource.VfsResource
-
- isSingleton() - 接口 中的方法org.jretty.util.FactoryBean
-
- isSingleton() - 类 中的方法org.jretty.util.ObjectBean
-
- isToStringMethod(Method) - 类 中的静态方法org.jretty.util.ReflectionMethodUtils
-
Determine whether the given method is a "toString" method.
- isTrue(boolean, String) - 类 中的静态方法org.jretty.util.Assert
-
Assert a boolean expression, throwing IllegalArgumentException
if the test result is false
.
- isTrue(boolean) - 类 中的静态方法org.jretty.util.Assert
-
Assert a boolean expression, throwing IllegalArgumentException
if the test result is false
.
- isTwoPatternSimilar(String, String) - 类 中的静态方法org.jretty.util.match.ZolltyPathMatcher
-
判断两个URL Pattern 是否有包含或重叠。
- isTwoPatternSimilar(ZolltyPathMatcher, ZolltyPathMatcher) - 类 中的静态方法org.jretty.util.match.ZolltyPathMatcher
-
判断两个URL Pattern 是否有包含或重叠。
- isVisible(Class<?>, ClassLoader) - 类 中的静态方法org.jretty.util.ClassUtils
-
Check whether the given class is visible in the given ClassLoader.
- isWritable() - 类 中的方法org.jretty.util.resource.FileSystemResource
-
This implementation checks whether the underlying file is marked as writable
(and corresponds to an actual file with content, not to a directory).
- isWritable() - 接口 中的方法org.jretty.util.resource.WritableResource
-
- iterator() - 类 中的方法org.jretty.util.BeansSet
-
支持迭代
- safeEqual(Object, Object) - 类 中的静态方法org.jretty.util.ObjectUtils
-
- secs - 类 中的变量org.jretty.util.DateFormatUtils.DateInfo
-
- SEPARATOR - 类 中的静态变量org.jretty.util.FileUtils
-
- SEPARATOR - 类 中的静态变量org.jretty.util.LocaleUtils
-
- setAddTimestamps(boolean) - 类 中的方法org.jretty.util.NamedThreadFactory
-
- setBaseName(String) - 类 中的方法org.jretty.util.NamedThreadFactory
-
- setClassLoader(ClassLoader) - 类 中的方法org.jretty.util.resource.DefaultResourceLoader
-
Specify the ClassLoader to load class path resources with, or null
for using the thread context class loader at the time of actual resource access.
- setComment(String) - 类 中的方法org.jretty.util.zip.ZipEntry
-
Sets the optional comment string for the entry.
- setComment(String) - 类 中的方法org.jretty.util.zip.ZipOutputStream
-
Sets the ZIP file comment.
- setCompressedSize(long) - 类 中的方法org.jretty.util.zip.ZipEntry
-
Sets the size of the compressed entry data.
- setCrc(long) - 类 中的方法org.jretty.util.zip.ZipEntry
-
Sets the CRC-32 checksum of the uncompressed entry data.
- setDaemonFlag(Boolean) - 类 中的方法org.jretty.util.NamedThreadFactory
-
- setDefaultFile(List<String>) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
设置defaultFile(即默认引入的properties的文件名),
会按顺序把配置加载到队列的前面。
- setEquals(boolean) - 类 中的方法org.jretty.util.EqualsBuilder
-
- setExceptionPrefix(String) - 类 中的方法org.jretty.util.support.NestedExceptionDelegate
-
- setExtra(byte[]) - 类 中的方法org.jretty.util.zip.ZipEntry
-
Sets the optional extra field data for the entry.
- setField(Field, Object, Object) - 类 中的静态方法org.jretty.util.ReflectionUtils
-
- setHtmlSafe(boolean) - 类 中的方法org.jretty.util.json.support.StringWriter
-
- setLevel(int) - 类 中的方法org.jretty.util.zip.ZipOutputStream
-
Sets the compression level for subsequent entries which are DEFLATED.
- setMethod(int) - 类 中的方法org.jretty.util.zip.ZipEntry
-
Sets the compression method for the entry.
- setMethod(int) - 类 中的方法org.jretty.util.zip.ZipOutputStream
-
Sets the default compression method for subsequent entries.
- setModulePath(String) - 类 中的方法org.jretty.util.msg.I18nMsgProperties
-
- setModulePath(String) - 类 中的方法org.jretty.util.msg.KeyValueMsgProperties
-
设置modulePath(即文件名去掉properties后缀),配置不会立即加载,第一次用到时获取
- setPathMatcher(PathMatcher) - 类 中的方法org.jretty.util.resource.support.PathMatchingResourcePatternResolver
-
Set the PathMatcher implementation to use for this
resource pattern resolver.
- setPathSeparator(String) - 类 中的方法org.jretty.util.match.AntPathMatcher
-
Set the path separator to use for pattern parsing.
- setPriority(Integer) - 类 中的方法org.jretty.util.NamedThreadFactory
-
- setSize(long) - 类 中的方法org.jretty.util.zip.ZipEntry
-
Sets the uncompressed size of the entry data.
- setTime(long) - 类 中的方法org.jretty.util.zip.ZipEntry
-
Sets the modification time of the entry.
- setType(Class<?>) - 类 中的方法org.jretty.util.ObjectBean
-
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - 类 中的方法org.jretty.util.NamedThreadFactory
-
- setUseTimeValue(boolean) - 类 中的方法org.jretty.util.json.support.DateWriter
-
- shortMsg(String) - 类 中的静态方法org.jretty.util.AlgorithmUtils
-
Short URL Algorithm,
e.g. http://url.cn/WgGTqt,
short string "WgGTqt" can use this method to generate.
- shutdown() - 接口 中的方法org.jretty.util.JvmUtils.ShutdownHook
-
- simpleHtmlEscape(String) - 类 中的静态方法org.jretty.util.StringUtils
-
转换html里面的5个特殊字符:&, <, >, ', and "
,
- simpleHtmlUnEscape(String) - 类 中的静态方法org.jretty.util.StringUtils
-
- SimpleJSON - org.jretty.util.json中的类
-
- SimpleJSON() - 类 的构造器org.jretty.util.json.SimpleJSON
-
- SimpleJSONArray - org.jretty.util.json中的类
-
- SimpleJSONArray(String) - 类 的构造器org.jretty.util.json.SimpleJSONArray
-
- SimpleStringWriter - org.jretty.util.json.support中的类
-
- SimpleStringWriter() - 类 的构造器org.jretty.util.json.support.SimpleStringWriter
-
- size() - 类 中的方法org.jretty.util.BeansSet
-
- skip(long) - 类 中的方法org.jretty.util.zip.InflaterInputStream
-
Skips specified number of bytes of uncompressed data.
- skip(long) - 类 中的方法org.jretty.util.zip.ZipInputStream
-
Skips specified number of bytes in the current ZIP entry.
- sleepThread(long) - 类 中的静态方法org.jretty.util.ThreadUtils
-
线程休眠
- sortMapByKey(Properties, boolean) - 类 中的静态方法org.jretty.util.CollectionUtils
-
使用 Map按key进行排序
- sortMapByKey(Map<String, T>, boolean) - 类 中的静态方法org.jretty.util.CollectionUtils
-
使用 Map按key进行排序
- split(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- split(String, char) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- split(String, String, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
显示空值,且包含末尾的空值,例如 src = "/opt//was/" sep=/ result = [, opt, , was, ]
- split(String, char, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
显示空值,且包含末尾的空值,例如 src = "/opt//was/" sep=/ result = [, opt, , was, ]
- splitByWholeIgnoreEmpty(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitByWholeIgnoreEmpty(String, String, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
不显示空值,例如 src = "/opt//was/" sep=/ result = [opt, was]
- splitByWholeNolastEmpty(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitByWholeNolastEmpty(String, String, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
显示空值,但不包含末尾的空值,例如 src = "/opt//was/" sep=/ result = [, opt, , was]
- splitByWholeSeparator(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitByWholeSeparator(String, String, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
显示空值,且包含末尾的空值,例如 src = "/opt//was/" sep=/ result = [, opt, , was, ]
- splitByWholeSeparatorIgnoreEmpty(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitByWholeSeparatorNolastEmpty(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitByWholeSeparatorWorker(String, String, boolean, boolean, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
Performs the logic for the splitByWholeSeparatorPreserveAllTokens
methods.
- splitIgnoreEmpty(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitIgnoreEmpty(String, char) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitIgnoreEmpty(String, String, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
不显示空值,例如 src = "/opt//was/" sep=/ result = [opt, was]
- splitIgnoreEmpty(String, char, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
不显示空值,例如 src = "/opt//was/" sep=/ result = [opt, was]
- splitNolastEmpty(String, String) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitNolastEmpty(String, char) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
- splitNolastEmpty(String, String, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
显示空值,但不包含末尾的空值,例如 src = "/opt//was/" sep=/ result = [, opt, , was]
- splitNolastEmpty(String, char, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
显示空值,但不包含末尾的空值,例如 src = "/opt//was/" sep=/ result = [, opt, , was]
- splitWorker(String, String, boolean, boolean, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
Performs the logic for the split
and
splitPreserveAllTokens
methods that return a maximum array
length.
- splitWorker(String, char, boolean, boolean, boolean) - 类 中的静态方法org.jretty.util.StringSplitUtils
-
Performs the logic for the split
and
splitPreserveAllTokens
methods that do not return a maximum
array length.
- state(boolean, String) - 类 中的静态方法org.jretty.util.Assert
-
Assert a boolean expression, throwing IllegalStateException
if the test result is false
.
- state(boolean) - 类 中的静态方法org.jretty.util.Assert
-
- stopThread(Thread) - 类 中的静态方法org.jretty.util.ThreadUtils
-
强行杀死线程的方法
- STORED - 类 中的静态变量org.jretty.util.zip.ZipEntry
-
Compression method for uncompressed entries.
- STORED - 类 中的静态变量org.jretty.util.zip.ZipOutputStream
-
Compression method for uncompressed (STORED) entries.
- STRING_LEN0 - 类 中的静态变量org.jretty.util.Const
-
字符串:""
- STRING_NULL - 类 中的静态变量org.jretty.util.Const
-
字符串:"null"
- StringSplitUtils - org.jretty.util中的类
-
高效的字符串split工具,非正则表达式,与java.lang.String#split的实现截然不同
Split 终极用法
一、整个字符串作为分隔符:(保留分割出来的空白字符)
---使用 splitByWholeSeparator (等价于org.springframework.util.StringUtils.delimitedListToStringArray[])
二、单个字符、或者字符串的所有字符都 作为分隔符:(保留分割出来的空白字符)
---使用 split
再考虑一下特殊情况:
三、不保留 分割出来的空白字符:
---使用
splitIgnoreEmpty (等价于java.util.StringTokenizer,性能上差不多)
splitByWholeIgnoreEmpty
四、保留非末尾的所有空白字符:
---使用
splitNolastEmpty
splitByWholeNolastEmpty (等价于java.lang.String.split[])
五、可以将取出来的值,每一个都进行trim
---使用 split???
- StringSplitUtils() - 类 的构造器org.jretty.util.StringSplitUtils
-
- StringUtils - org.jretty.util中的类
-
通用字符串工具类
- StringUtils() - 类 的构造器org.jretty.util.StringUtils
-
- StringWriter - org.jretty.util.json.support中的类
-
- StringWriter() - 类 的构造器org.jretty.util.json.support.StringWriter
-
- StringWriter(boolean) - 类 的构造器org.jretty.util.json.support.StringWriter
-
- stripFilenameFromPath(String) - 类 中的静态方法org.jretty.util.StringUtils
-
从路径(url或者目录都可以)中剥去文件名,获得文件所在的目录。
- stripIndex(String, String) - 类 中的静态方法org.jretty.util.StringUtils
-