- abbreviate(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Abbreviates a String using ellipses.
- abbreviate(String, int, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Abbreviates a String using ellipses.
- abbreviateMiddle(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Abbreviates a String to the length passed, replacing the middle characters with the supplied
replacement String.
- add(T[], T) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(boolean[], boolean) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(byte[], byte) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(char[], char) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(double[], double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(float[], float) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(int[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(long[], long) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(short[], short) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Copies the given array and adds the given element at the end of the new array.
- add(Object[], int, Object) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(boolean[], int, boolean) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(char[], int, char) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(byte[], int, byte) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(short[], int, short) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(int[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(long[], int, long) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(float[], int, float) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- add(double[], int, double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Inserts the specified element at the specified position in the array.
- addAll(Object[], Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(boolean[], boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(char[], char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(byte[], byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(short[], short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(int[], int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(long[], long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(float[], float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- addAll(double[], double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Adds all the elements of the given arrays into a new array.
- ArrayUtils - net.hasor.utils中的类
-
Operations on arrays, primitive arrays (like int[]) and
primitive wrapper arrays (like Integer[]).
- ArrayUtils() - 类 的构造器net.hasor.utils.ArrayUtils
-
ArrayUtils instances should NOT be constructed in standard programming.
- asEnumeration(Iterator<T>) - 类 中的静态方法net.hasor.utils.Iterators
-
转换为 Enumeration
- canReadProperty(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
测试是否支持readProperty方法。
- canReadPropertyOrField(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
测试是否支持readPropertyOrField方法。
- canWriteField(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
测试是否支持Field方法写。
- canWriteProperty(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
测试是否支持writeProperty方法。
- canWritePropertyOrField(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
测试是否支持writePropertyOrField方法。
- capitalize(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
- center(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Centers a String in a larger String of size size
using the space character (' ').
- center(String, int, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Centers a String in a larger String of size size.
- center(String, int, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Centers a String in a larger String of size size.
- CharUtils - net.hasor.utils中的类
-
Operations on char primitives and Character objects.
- CharUtils() - 类 的构造器net.hasor.utils.CharUtils
-
CharUtils instances should NOT be constructed in standard programming.
- checkEmpty(List<String>, String) - 类 中的静态方法net.hasor.utils.CheckUtils
-
- CheckUtils - net.hasor.utils中的类
-
- CheckUtils() - 类 的构造器net.hasor.utils.CheckUtils
-
- chomp(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes one newline from end of a String if it's there,
otherwise leave it alone.
- chomp(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes separator from the end of
str if it's there, otherwise leave it alone.
- chop(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Remove the last character from a String.
- ClassUtils - net.hasor.utils中的类
-
Operates on classes without using reflection.
- ClassUtils() - 类 的构造器net.hasor.utils.ClassUtils
-
ClassUtils instances should NOT be constructed in standard programming.
- clearNull(Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
删除数组中空元素
- clone(Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Shallow clones an array returning a typecast result and handling
null.
- clone(long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- clone(int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- clone(short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- clone(char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- clone(byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- clone(double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- clone(float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- clone(boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Clones an array returning a typecast result and handling
null.
- CommonCodeUtils - net.hasor.utils中的类
-
- CommonCodeUtils() - 类 的构造器net.hasor.utils.CommonCodeUtils
-
- CommonCodeUtils.Base64 - net.hasor.utils中的类
-
简单编码类,该类提供了Base64的编码,该编码器与配套的js编码器可以实现互相编码互相转化功能。
- CommonCodeUtils.HexConversion - net.hasor.utils中的类
-
基于十六进制的字符转换
- CommonCodeUtils.MD5 - net.hasor.utils中的类
-
MD5算法提供
- compare(double, double) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Compares two doubles for order.
- compare(float, float) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Compares two floats for order.
- compare(Comparable, Comparable) - 类 中的静态方法net.hasor.utils.ObjectUtils
-
Null safe comparison of Comparables.
- compare(Comparable, Comparable, boolean) - 类 中的静态方法net.hasor.utils.ObjectUtils
-
Null safe comparison of Comparables.
- contains(Object[], Object) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the object is in the given array.
- contains(long[], long) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(int[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(short[], short) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(char[], char) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(byte[], byte) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(double[], double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(double[], double, double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if a value falling within the given tolerance is in the
given array.
- contains(float[], float) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(boolean[], boolean) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if the value is in the given array.
- contains(String, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if String contains a search character, handling null.
- contains(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if String contains a search String, handling null.
- containsAny(String, char[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains any character in the given
set of characters.
- containsAny(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains any character in the given set of characters.
- containsIgnoreCase(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if String contains a search String irrespective of case,
handling null.
- containsNone(String, char[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks that the String does not contain certain characters.
- containsNone(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks that the String does not contain certain characters.
- containsOnly(String, char[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only certain characters.
- containsOnly(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only certain characters.
- ContextClassLoaderLocal<T> - net.hasor.utils中的类
-
An instance of this class represents a value that is provided per (thread)
context classloader.
- ContextClassLoaderLocal() - 类 的构造器net.hasor.utils.ContextClassLoaderLocal
-
Construct a context classloader instance
- ContextClassLoaderLocal(T) - 类 的构造器net.hasor.utils.ContextClassLoaderLocal
-
Construct a context classloader instance
- converIterator(Iterator<T>, Iterators.Converter<T, O>) - 类 中的静态方法net.hasor.utils.Iterators
-
迭代器类型转换
- convertClassesToClassNames(List<Class<?>>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Given a List of Class objects, this method converts
them into class names.
- convertClassNamesToClasses(List<String>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Given a List of class names, this method converts them into classes.
- converter(T) - 接口 中的方法net.hasor.utils.Iterators.Converter
-
- copyProperties(Object, Object) - 类 中的静态方法net.hasor.utils.BeanUtils
-
- copyProperty(Object, Object, String) - 类 中的静态方法net.hasor.utils.BeanUtils
-
- countMatches(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Counts how many times the substring appears in the larger String.
- CR - 类 中的静态变量net.hasor.utils.CharUtils
-
carriage return CR ('\r').
- createBigDecimal(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to a BigDecimal.
- createBigInteger(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to a BigInteger.
- createDouble(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to a Double.
- createFloat(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to a Float.
- createInteger(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to a Integer, handling
hex and octal notations.
- createLong(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to a Long.
- createNumber(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Turns a string value into a java.lang.Number.
- get() - 类 中的方法net.hasor.utils.ContextClassLoaderLocal
-
Gets the instance which provides the functionality for
BeanUtils.
- getAllInterfaces(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets a List of all interfaces implemented by the given
class and its superclasses.
- getAllSuperclasses(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets a List of superclasses for the given class.
- getClass(ClassLoader, String, boolean) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Returns the class represented by className using the
classLoader.
- getClass(ClassLoader, String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Returns the (initialized) class represented by className
using the classLoader.
- getClass(String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Returns the (initialized) class represented by className
using the current thread's context class loader.
- getClass(String, boolean) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Returns the class represented by className using the
current thread's context class loader.
- getClassLoader(ClassLoader) - 类 中的静态方法net.hasor.utils.ClassUtils
-
- getClassSet(String, Class<?>) - 类 中的静态方法net.hasor.utils.ScanClassPath
-
扫描jar包中凡是匹配compareType参数的类均被返回。
- getClassSet(String[], Class<?>) - 类 中的静态方法net.hasor.utils.ScanClassPath
-
扫描jar包中凡是匹配compareType参数的类均被返回。
- getClassSet(Class<?>) - 类 中的方法net.hasor.utils.ScanClassPath
-
扫描jar包中凡是匹配compareType参数的类均被返回。
- getCommonPrefix(String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Compares all Strings in an array and returns the initial sequence of
characters that is common to all of them.
- getDefaultValue(Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
获取指定类型的默认值。
- getDefaultValue(Class<?>[]) - 类 中的静态方法net.hasor.utils.BeanUtils
-
- getDescName(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
获取方法的标识代码,在不考虑其所属类的情况下。
- getDescName(Method) - 类 中的静态方法net.hasor.utils.ClassUtils
-
获取方法的标识代码,在不考虑其所属类的情况下。
- getDescNameWithOutModifiers(Method) - 类 中的静态方法net.hasor.utils.ClassUtils
-
获取方法的标识代码,在不考虑其所属类的情况下。
- getField(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
查找一个可操作的字段。
- getFields(Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
查找一个可操作的字段列表。
- getFieldType(Class<?>, String) - 类 中的静态方法net.hasor.utils.BeanUtils
-
- getLength(Object) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Returns the length of the specified array.
- getLevenshteinDistance(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Find the Levenshtein distance between two Strings.
- getMD5(String) - 类 中的静态方法net.hasor.utils.CommonCodeUtils.MD5
-
- getMD5(byte[]) - 类 中的静态方法net.hasor.utils.CommonCodeUtils.MD5
-
- getMethod(Class<?>, String, Class<?>[]) - 类 中的静态方法net.hasor.utils.BeanUtils
-
查找一个可操作的方法。
- getMethods(Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
查找一个可操作的方法列表。
- getName() - 类 中的方法net.hasor.utils.ResourcesUtils.ScanEvent
-
- getPackageCanonicalName(Object, String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the package name from the canonical name of an Object.
- getPackageCanonicalName(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the package name from the canonical name of a Class.
- getPackageCanonicalName(String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the package name from the canonical name.
- getPackageName(Object, String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the package name of an Object.
- getPackageName(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the package name of a Class.
- getPackageName(String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the package name from a String.
- getPropertyDescriptors(Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
获取属性名集合,被包含的属性可能有些只是只读属性,有些是只写属性。
- getPropertyOrFieldType(Class<?>, String) - 类 中的静态方法net.hasor.utils.BeanUtils
-
- getPropertys(Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
获取属性名集合,被包含的属性可能有些只是只读属性,有些是只写属性。
- getPropertys(String[]) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
- getPropertys(Iterator<String>) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
- getPropertys(String) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
- getPropertysAndFields(Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
- getPropertyType(Class<?>, String) - 类 中的静态方法net.hasor.utils.BeanUtils
-
- getPublicMethod(Class<?>, String, Class<?>[]) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Returns the desired Method much like Class.getMethod, however
it ensures that the returned Method is from a public class or interface and not
from an anonymous inner class.
- getReadMethod(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
获取一个属性的读取方法。
- getResource(String) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
获取classpath中可能存在的资源。
- getResourceAsStream(File) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
获取可能存在的资源,以流的形式返回。
- getResourceAsStream(URI) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
获取classpath中可能存在的资源,以流的形式返回。
- getResourceAsStream(URL) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
获取classpath中可能存在的资源,以流的形式返回。
- getResourceAsStream(String) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
获取classpath中可能存在的资源,以流的形式返回。
- getResources(String) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
获取classpath中可能存在的资源列表。
- getResourcesAsStream(String) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
获取classpath中可能存在的资源列表,以流的形式返回。
- getShortCanonicalName(Object, String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the canonical name minus the package name for an Object.
- getShortCanonicalName(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the canonical name minus the package name from a Class.
- getShortCanonicalName(String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the canonical name minus the package name from a String.
- getShortClassName(Object, String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the class name minus the package name for an Object.
- getShortClassName(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the class name minus the package name from a Class.
- getShortClassName(String) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Gets the class name minus the package name from a String.
- getStream() - 类 中的方法net.hasor.utils.ResourcesUtils.ScanEvent
-
- getSuperClassGenricType(Class<?>, int) - 类 中的静态方法net.hasor.utils.ClassUtils
-
获取泛型类型。
- getWriteMethod(String, Class<?>) - 类 中的静态方法net.hasor.utils.BeanUtils
-
获取一个属性的写入方法。
- identityToString(Object) - 类 中的静态方法net.hasor.utils.ObjectUtils
-
Gets the toString that would be produced by Object
if a class did not override toString itself.
- identityToString(StringBuffer, Object) - 类 中的静态方法net.hasor.utils.ObjectUtils
-
Appends the toString that would be produced by Object
if a class did not override toString itself.
- INDEX_NOT_FOUND - 类 中的静态变量net.hasor.utils.ArrayUtils
-
The index value when an element is not found in a list or array: -1.
- INDEX_NOT_FOUND - 类 中的静态变量net.hasor.utils.StringUtils
-
Represents a failed index search.
- indexOf(Object[], Object) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given object in the array.
- indexOf(Object[], Object, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given object in the array starting at the given index.
- indexOf(long[], long) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(long[], long, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(int[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(int[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(short[], short) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(short[], short, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(char[], char) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(char[], char, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(byte[], byte) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(byte[], byte, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(double[], double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(double[], double, double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value within a given tolerance in the array.
- indexOf(double[], double, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(double[], double, int, double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(float[], float) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(float[], float, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(boolean[], boolean) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array.
- indexOf(boolean[], boolean, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the index of the given value in the array starting at the given index.
- indexOf(String, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the first index within a String, handling null.
- indexOf(String, char, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the first index within a String from a start position,
handling null.
- indexOf(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the first index within a String, handling null.
- indexOf(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the first index within a String, handling null.
- indexOfAny(String, char[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Search a String to find the first index of any
character in the given set of characters.
- indexOfAny(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Search a String to find the first index of any
character in the given set of characters.
- indexOfAny(String, String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Find the first index of any of a set of potential substrings.
- indexOfAnyBut(String, char[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Search a String to find the first index of any
character not in the given set of characters.
- indexOfAnyBut(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Search a String to find the first index of any
character not in the given set of characters.
- indexOfDifference(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Compares two Strings, and returns the index at which the
Strings begin to differ.
- indexOfDifference(String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Compares all Strings in an array and returns the index at which the
Strings begin to differ.
- indexOfIgnoreCase(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Case in-sensitive find of the first index within a String.
- indexOfIgnoreCase(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Case in-sensitive find of the first index within a String
from the specified position.
- initialValue() - 类 中的方法net.hasor.utils.ContextClassLoaderLocal
-
Returns the initial value for this ContextClassLoaderLocal
variable.
- INNER_CLASS_SEPARATOR - 类 中的静态变量net.hasor.utils.ClassUtils
-
The inner class separator String: "$".
- INNER_CLASS_SEPARATOR_CHAR - 类 中的静态变量net.hasor.utils.ClassUtils
-
The inner class separator character: '$' == 36.
- invokeMethod(Object, String, Object...) - 类 中的静态方法net.hasor.utils.BeanUtils
-
该方法的作用是反射的形式调用目标的方法。
- isAllLowerCase(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only lowercase characters.
- isAllUpperCase(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only uppercase characters.
- isAlpha(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only unicode letters.
- isAlphanumeric(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only unicode letters or digits.
- isAlphanumericSpace(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only unicode letters, digits
or space (' ').
- isAlphaSpace(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only unicode letters and
space (' ').
- isAscii(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit.
- isAsciiAlpha(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit alphabetic.
- isAsciiAlphaLower(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit alphabetic lower case.
- isAsciiAlphanumeric(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit numeric.
- isAsciiAlphaUpper(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit alphabetic upper case.
- isAsciiControl(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit control.
- isAsciiNumeric(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit numeric.
- isAsciiPrintable(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Checks whether the character is ASCII 7 bit printable.
- isAsciiPrintable(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the string contains only ASCII printable characters.
- isAssignable(Class<?>[], Class<?>[]) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Checks if an array of Classes can be assigned to another array of Classes.
- isAssignable(Class<?>[], Class<?>[], boolean) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Checks if an array of Classes can be assigned to another array of Classes.
- isAssignable(Class<?>, Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Checks if one Class can be assigned to a variable of
another Class.
- isAssignable(Class<?>, Class<?>, boolean) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Checks if one Class can be assigned to a variable of
another Class.
- isBlank(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if a String is whitespace, empty ("") or null.
- isBooleanType(Class) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
- isByteType(Class) - 类 中的静态方法net.hasor.utils.ByteUtils
-
- isByteType(Class) - 类 中的静态方法net.hasor.utils.NumberUtils
-
- isCharType(Class) - 类 中的静态方法net.hasor.utils.CharUtils
-
- isDigits(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Checks whether the String contains only
digit characters.
- isDoubleType(Class) - 类 中的静态方法net.hasor.utils.NumberUtils
-
- isEmpty(Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of Objects is empty or null.
- isEmpty(long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive longs is empty or null.
- isEmpty(int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive ints is empty or null.
- isEmpty(short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive shorts is empty or null.
- isEmpty(char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive chars is empty or null.
- isEmpty(byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive bytes is empty or null.
- isEmpty(double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive doubles is empty or null.
- isEmpty(float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive floats is empty or null.
- isEmpty(boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive booleans is empty or null.
- isEmpty(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if a String is empty ("") or null.
- isFalse(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Checks if a Boolean value is false,
handling null by returning false.
- isFloatType(Class) - 类 中的静态方法net.hasor.utils.NumberUtils
-
- isInnerClass(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Is the specified class an inner class or static nested class.
- isIntType(Class) - 类 中的静态方法net.hasor.utils.NumberUtils
-
- isLangClass(Class<?>) - 类 中的静态方法net.hasor.utils.ClassUtils
-
判断某个类是否为一个lang包的类。
- isLongType(Class) - 类 中的静态方法net.hasor.utils.NumberUtils
-
- isNotBlank(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if a String is not empty (""), not null and not whitespace only.
- isNotEmpty(Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of Objects is not empty or not null.
- isNotEmpty(long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive longs is not empty or not null.
- isNotEmpty(int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive ints is not empty or not null.
- isNotEmpty(short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive shorts is not empty or not null.
- isNotEmpty(char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive chars is not empty or not null.
- isNotEmpty(byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive bytes is not empty or not null.
- isNotEmpty(double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive doubles is not empty or not null.
- isNotEmpty(float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive floats is not empty or not null.
- isNotEmpty(boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks if an array of primitive booleans is not empty or not null.
- isNotEmpty(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if a String is not empty ("") and not null.
- isNotFalse(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Checks if a Boolean value is not false,
handling null by returning true.
- isNotTrue(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Checks if a Boolean value is not true,
handling null by returning true.
- isNumber(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Checks whether the String a valid Java number.
- isNumeric(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only unicode digits.
- isNumericSpace(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only unicode digits or space
(' ').
- isRead() - 类 中的方法net.hasor.utils.ResourcesUtils.ScanEvent
-
- isSameLength(Object[], Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(long[], long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(int[], int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(short[], short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(char[], char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(byte[], byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(double[], double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(float[], float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameLength(boolean[], boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same length, treating
null arrays as length 0.
- isSameType(Object, Object) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Checks whether two arrays are the same type taking into account
multi-dimensional arrays.
- isShortType(Class) - 类 中的静态方法net.hasor.utils.NumberUtils
-
- isTrue(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Checks if a Boolean value is true,
handling null by returning false.
- isWhitespace(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Checks if the String contains only whitespace.
- isWrite() - 类 中的方法net.hasor.utils.ResourcesUtils.ScanEvent
-
- Iterators - net.hasor.utils中的类
-
- Iterators() - 类 的构造器net.hasor.utils.Iterators
-
- Iterators.Converter<T,O> - net.hasor.utils中的接口
-
用于迭代器类型转换
- lastIndexOf(Object[], Object) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given object within the array.
- lastIndexOf(Object[], Object, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given object in the array starting at the given index.
- lastIndexOf(long[], long) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(long[], long, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(int[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(int[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(short[], short) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(short[], short, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(char[], char) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(char[], char, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(byte[], byte) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(byte[], byte, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(double[], double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(double[], double, double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within a given tolerance in the array.
- lastIndexOf(double[], double, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(double[], double, int, double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(float[], float) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(float[], float, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(boolean[], boolean) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value within the array.
- lastIndexOf(boolean[], boolean, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Finds the last index of the given value in the array starting at the given index.
- lastIndexOf(String, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the last index within a String, handling null.
- lastIndexOf(String, char, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the last index within a String from a start position,
handling null.
- lastIndexOf(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the last index within a String, handling null.
- lastIndexOf(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the first index within a String, handling null.
- lastIndexOfAny(String, String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Find the latest index of any of a set of potential substrings.
- lastIndexOfIgnoreCase(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Case in-sensitive find of the last index within a String.
- lastIndexOfIgnoreCase(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Case in-sensitive find of the last index within a String
from the specified position.
- lastOrdinalIndexOf(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Finds the n-th last index within a String, handling null.
- left(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the leftmost len characters of a String.
- leftPad(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Left pad a String with spaces (' ').
- leftPad(String, int, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Left pad a String with a specified character.
- leftPad(String, int, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Left pad a String with a specified String.
- length(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets a String's length or 0 if the String is null.
- LF - 类 中的静态变量net.hasor.utils.CharUtils
-
linefeed LF ('\n').
- lowerCase(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
- lowerCase(String, Locale) - 类 中的静态方法net.hasor.utils.StringUtils
-
- NameThreadFactory - net.hasor.utils中的类
-
- NameThreadFactory(String, ClassLoader) - 类 的构造器net.hasor.utils.NameThreadFactory
-
- negate(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Negates the specified boolean.
- net.hasor.utils - 程序包 net.hasor.utils
-
- newInstance(String[]) - 类 中的静态方法net.hasor.utils.ScanClassPath
-
- newInstance(String) - 类 中的静态方法net.hasor.utils.ScanClassPath
-
- newThread(Runnable) - 类 中的方法net.hasor.utils.NameThreadFactory
-
- normalizeSpace(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
- notEqual(Object, Object) - 类 中的静态方法net.hasor.utils.ObjectUtils
-
Compares two objects for inequality, where either one or both
objects may be null.
- NULL - 类 中的静态变量net.hasor.utils.ObjectUtils
-
Singleton used as a null placeholder where
null has another meaning.
- nullToEmpty(Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(String[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Integer[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Character[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- nullToEmpty(Boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Defensive programming technique to change a null
reference to an empty one.
- NumberUtils - net.hasor.utils中的类
-
Provides extra functionality for Java Number classes.
- NumberUtils() - 类 的构造器net.hasor.utils.NumberUtils
-
NumberUtils instances should NOT be constructed in standard programming.
- readField(Object, String) - 类 中的静态方法net.hasor.utils.BeanUtils
-
执行字段读取。
- readProperty(Object, String) - 类 中的静态方法net.hasor.utils.BeanUtils
-
执行属性读取。
- readPropertyOrField(Object, String) - 类 中的静态方法net.hasor.utils.BeanUtils
-
执行注入,该方法首先会视图执行属性方法注入。
- remove(Object[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(boolean[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(byte[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(char[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(double[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(float[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(int[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(long[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(short[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the element at the specified position from the specified array.
- remove(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes all occurrences of a substring from within the source string.
- remove(String, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes all occurrences of a character from within the source string.
- removeElement(Object[], Object) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(boolean[], boolean) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(byte[], byte) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(char[], char) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(double[], double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(float[], float) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(int[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(long[], long) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeElement(short[], short) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Removes the first occurrence of the specified element from the
specified array.
- removeEnd(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes a substring only if it is at the end of a source string,
otherwise returns the source string.
- removeEndIgnoreCase(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Case insensitive removal of a substring if it is at the end of a source string,
otherwise returns the source string.
- removeStart(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes a substring only if it is at the begining of a source string,
otherwise returns the source string.
- removeStartIgnoreCase(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Case insensitive removal of a substring if it is at the begining of a source string,
otherwise returns the source string.
- repeat(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Repeat a String repeat times to form a
new String.
- repeat(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Repeat a String repeat times to form a
new String, with a String separator injected each time.
- replace(String, String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Replaces all occurrences of a String within another String.
- replace(String, String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Replaces a String with another String inside a larger String,
for the first max values of the search String.
- replaceChars(String, char, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Replaces all occurrences of a character in a String with another.
- replaceChars(String, String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Replaces multiple characters in a String in one go.
- replaceEach(String, String[], String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Replaces all occurrences of Strings within another String.
- replaceEachRepeatedly(String, String[], String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Replaces all occurrences of Strings within another String.
- replaceOnce(String, String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Replaces a String with another String inside a larger String, once.
- ResourcesUtils - net.hasor.utils中的类
-
资源加载工具类,所有方法均是程序级优先。
- ResourcesUtils() - 类 的构造器net.hasor.utils.ResourcesUtils
-
- ResourcesUtils.ScanEvent - net.hasor.utils中的类
-
发现事件
- ResourcesUtils.Scanner - net.hasor.utils中的接口
-
扫描classpath时找到资源的回调接口方法。
- reverse(Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Reverses the order of the given array.
- reverse(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
- reverseDelimited(String, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Reverses a String that is delimited by a specific character.
- right(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the rightmost len characters of a String.
- rightPad(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Right pad a String with spaces (' ').
- rightPad(String, int, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Right pad a String with a specified character.
- rightPad(String, int, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Right pad a String with a specified String.
- scan(String, ResourcesUtils.Scanner) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
扫描classpath目录中的资源,每当发现一个资源时都将产生对
Scanner接口的一次调用。
- ScanClassPath - net.hasor.utils中的类
-
- scanJar(JarFile, String, ResourcesUtils.Scanner) - 类 中的静态方法net.hasor.utils.ResourcesUtils
-
对某一个jar文件执行扫描。
- set(T) - 类 中的方法net.hasor.utils.ContextClassLoaderLocal
-
Sets the value - a value is provided per (thread) context classloader.
- split(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, using whitespace as the
separator.
- split(String, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separator specified.
- split(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separators specified.
- split(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array with a maximum length,
separators specified.
- splitByCharacterType(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits a String by Character type as returned by
java.lang.Character.getType(char).
- splitByCharacterTypeCamelCase(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits a String by Character type as returned by
java.lang.Character.getType(char).
- splitByWholeSeparator(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separator string specified.
- splitByWholeSeparator(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separator string specified.
- splitByWholeSeparatorPreserveAllTokens(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separator string specified.
- splitByWholeSeparatorPreserveAllTokens(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separator string specified.
- splitPreserveAllTokens(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, using whitespace as the
separator, preserving all tokens, including empty tokens created by
adjacent separators.
- splitPreserveAllTokens(String, char) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separator specified,
preserving all tokens, including empty tokens created by adjacent
separators.
- splitPreserveAllTokens(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array, separators specified,
preserving all tokens, including empty tokens created by adjacent
separators.
- splitPreserveAllTokens(String, String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Splits the provided text into an array with a maximum length,
separators specified, preserving all tokens, including empty tokens
created by adjacent separators.
- startsWith(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Check if a String starts with a specified prefix.
- startsWithAny(String, String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Check if a String starts with any of an array of specified strings.
- startsWithIgnoreCase(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Case insensitive check if a String starts with a specified prefix.
- str2HexStr(String) - 类 中的静态方法net.hasor.utils.CommonCodeUtils.HexConversion
-
字符串转换成十六进制字符串
- stringToInt(String) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to an int, returning
zero if the conversion fails.
- stringToInt(String, int) - 类 中的静态方法net.hasor.utils.NumberUtils
-
Convert a String to an int, returning a
default value if the conversion fails.
- stringToUnicode(String) - 类 中的静态方法net.hasor.utils.CommonCodeUtils.HexConversion
-
String的字符串转换成unicode的String
- StringUtils - net.hasor.utils中的类
-
Operations on
String that are
null safe.
- StringUtils() - 类 的构造器net.hasor.utils.StringUtils
-
StringUtils instances should NOT be constructed in
standard programming.
- strip(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips whitespace from the start and end of a String.
- strip(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips any of a set of characters from the start and end of a String.
- stripAll(String[]) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips whitespace from the start and end of every String in an array.
- stripAll(String[], String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips any of a set of characters from the start and end of every
String in an array.
- stripEnd(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips any of a set of characters from the end of a String.
- stripStart(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips any of a set of characters from the start of a String.
- stripToEmpty(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips whitespace from the start and end of a String returning
an empty String if null input.
- stripToNull(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Strips whitespace from the start and end of a String returning
null if the String is empty ("") after the strip.
- subarray(Object[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new array containing the elements between
the start and end indices.
- subarray(long[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new long array containing the elements
between the start and end indices.
- subarray(int[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new int array containing the elements
between the start and end indices.
- subarray(short[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new short array containing the elements
between the start and end indices.
- subarray(char[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new char array containing the elements
between the start and end indices.
- subarray(byte[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new byte array containing the elements
between the start and end indices.
- subarray(double[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new double array containing the elements
between the start and end indices.
- subarray(float[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new float array containing the elements
between the start and end indices.
- subarray(boolean[], int, int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Produces a new boolean array containing the elements
between the start and end indices.
- substring(String, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- substring(String, int, int) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- substringAfter(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the substring after the first occurrence of a separator.
- substringAfterLast(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the substring after the last occurrence of a separator.
- substringBefore(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the substring before the first occurrence of a separator.
- substringBeforeLast(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the substring before the last occurrence of a separator.
- substringBetween(String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the String that is nested in between two instances of the
same String.
- substringBetween(String, String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Gets the String that is nested in between two Strings.
- substringsBetween(String, String, String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Searches a String for substrings delimited by a start and end tag,
returning all matching substrings in an array.
- swapCase(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Swaps the case of a String changing upper and title case to
lower case, and lower case to upper case.
- toBoolean(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to a boolean handling null
by returning false.
- toBoolean(int) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts an int to a boolean using the convention that zero
is false.
- toBoolean(int, int, int) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts an int to a boolean specifying the conversion values.
- toBoolean(Integer, Integer, Integer) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts an Integer to a boolean specifying the conversion values.
- toBoolean(String) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a String to a boolean (optimised for performance).
- toBoolean(String, String, String) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a String to a Boolean throwing an exception if no match found.
- toBooleanDefaultIfNull(Boolean, boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to a boolean handling null.
- toBooleanObject(boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Boolean factory that avoids creating new Boolean objecs all the time.
- toBooleanObject(int) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts an int to a Boolean using the convention that zero
is false.
- toBooleanObject(Integer) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts an Integer to a Boolean using the convention that zero
is false.
- toBooleanObject(int, int, int, int) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts an int to a Boolean specifying the conversion values.
- toBooleanObject(Integer, Integer, Integer, Integer) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts an Integer to a Boolean specifying the conversion values.
- toBooleanObject(String) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a String to a Boolean.
- toBooleanObject(String, String, String, String) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a String to a Boolean throwing an exception if no match.
- toByteArray(int, int) - 类 中的静态方法net.hasor.utils.ByteUtils
-
- toChar(Character) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the Character to a char throwing an exception for null.
- toChar(Character, char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the Character to a char handling null.
- toChar(String) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the String to a char using the first character, throwing
an exception on empty Strings.
- toChar(String, char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the String to a char using the first character, defaulting
the value on empty Strings.
- toCharacterObject(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the character to a Character.
- toCharacterObject(String) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the String to a Character using the first character, returning
null for empty Strings.
- toClass(Object[]) - 类 中的静态方法net.hasor.utils.ClassUtils
-
Converts an array of Object in to an array of Class objects.
- toInteger(boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a boolean to an int using the convention that
zero is false.
- toInteger(boolean, int, int) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a boolean to an int specifying the conversion values.
- toInteger(Boolean, int, int, int) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to an int specifying the conversion values.
- toIntegerObject(boolean, Integer, Integer) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a boolean to an Integer specifying the conversion values.
- toIntegerObject(Boolean, Integer, Integer, Integer) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to an Integer specifying the conversion values.
- toIntValue(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toIntValue(char, int) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toIntValue(Character) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toIntValue(Character, int) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the character to the Integer it represents, throwing an
exception if the character is not numeric.
- toMap(Object[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts the given array into a
Map.
- toObject(char[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive chars to objects.
- toObject(long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive longs to objects.
- toObject(int[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive ints to objects.
- toObject(short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive shorts to objects.
- toObject(byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive bytes to objects.
- toObject(double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive doubles to objects.
- toObject(float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive floats to objects.
- toObject(boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of primitive booleans to objects.
- toPrimitive(Character[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Characters to primitives.
- toPrimitive(Character[], char) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Character to primitives handling null.
- toPrimitive(Long[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Longs to primitives.
- toPrimitive(Long[], long) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Long to primitives handling null.
- toPrimitive(Integer[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Integers to primitives.
- toPrimitive(Integer[], int) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Integer to primitives handling null.
- toPrimitive(Short[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Shorts to primitives.
- toPrimitive(Short[], short) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Short to primitives handling null.
- toPrimitive(Byte[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Bytes to primitives.
- toPrimitive(Byte[], byte) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Bytes to primitives handling null.
- toPrimitive(Double[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Doubles to primitives.
- toPrimitive(Double[], double) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Doubles to primitives handling null.
- toPrimitive(Float[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Floats to primitives.
- toPrimitive(Float[], float) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Floats to primitives handling null.
- toPrimitive(Boolean[]) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Booleans to primitives.
- toPrimitive(Boolean[], boolean) - 类 中的静态方法net.hasor.utils.ArrayUtils
-
Converts an array of object Booleans to primitives handling null.
- toRuntimeException(Throwable) - 类 中的静态方法net.hasor.utils.ExceptionUtils
-
- toRuntimeException(Throwable, Function<Throwable, RuntimeException>) - 类 中的静态方法net.hasor.utils.ExceptionUtils
-
- toRuntimeException(Throwable, Class<?>[]) - 类 中的静态方法net.hasor.utils.ExceptionUtils
-
- toString(Boolean, String, String, String) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to a String returning one of the input Strings.
- toString(boolean, String, String) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a boolean to a String returning one of the input Strings.
- toString(char) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the character to a String that contains the one character.
- toString(Character) - 类 中的静态方法net.hasor.utils.CharUtils
-
Converts the character to a String that contains the one character.
- toString(Object) - 类 中的静态方法net.hasor.utils.ObjectUtils
-
Gets the toString of an Object returning
an empty string ("") if null input.
- toString(Object, String) - 类 中的静态方法net.hasor.utils.ObjectUtils
-
Gets the toString of an Object returning
a specified text if null input.
- toStringOnOff(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to a String returning 'on',
'off', or null.
- toStringOnOff(boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a boolean to a String returning 'on'
or 'off'.
- toStringTrueFalse(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to a String returning 'true',
'false', or null.
- toStringTrueFalse(boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a boolean to a String returning 'true'
or 'false'.
- toStringYesNo(Boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a Boolean to a String returning 'yes',
'no', or null.
- toStringYesNo(boolean) - 类 中的静态方法net.hasor.utils.BooleanUtils
-
Converts a boolean to a String returning 'yes'
or 'no'.
- trim(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes control characters (char <= 32) from both
ends of this String, handling null by returning
null.
- trimToEmpty(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes control characters (char <= 32) from both
ends of this String returning an empty String ("") if the String
is empty ("") after the trim or if it is null.
- trimToNull(String) - 类 中的静态方法net.hasor.utils.StringUtils
-
Removes control characters (char <= 32) from both
ends of this String returning null if the String is
empty ("") after the trim or if it is null.