A B C D E F G H I J K L M N O P R S T U V W X 

A

allIs(Object, Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns true if given array equals given condition or all given array element equals given condition; false otherwise.
allIs(Object[], Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given array element is equals condition.
If array is not null and empty return true.
allIs(Collection<?>, Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given collection element is equals condition.
If collection is not null and empty return true.
allIsFalse(Boolean, Boolean...) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given condition is false.
allIsNot(Object[], Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given array element is not equals given condition.
If array is not null and empty return true.
allIsNot(Object, Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns true if given array is not an array and not equals condition or given array is an array and all given array element is not equals given condition; false otherwise.
allIsNot(Collection<?>, Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given collection element is not equals given condition.
If array is not null and empty return true.
allIsNotNull(Object, Object...) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given object is not null and objects is not empty.
allIsNull(Object, Object...) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given object is null.
If only given an array, judge if all given array element is null.
If only given a collection, judge if all given collection element is null.
If only given an array or collection is not null and empty return true.
allIsTrue(Boolean, Boolean...) - Static method in class org.codelogger.utils.JudgeUtils
Returns if all given condition is true.
Alphabet - Enum in org.codelogger.utils.lang
字母数值
append(T[], T) - Static method in class org.codelogger.utils.ArrayUtils
添加指定元素到给定数组的末尾,并返回这个新的数组。
Append the given element to the end of given array.
append(T[], T[]) - Static method in class org.codelogger.utils.ArrayUtils
添加指定数组到给定数组的末尾,并返回这个新的数组。Append the given array1 to the end of given array0.
append(T, T[]) - Static method in class org.codelogger.utils.ArrayUtils
添加指定元素到给定数组的头位置,并返回这个新的数组。Append the given element to the start of the given array.
APRIL - Static variable in class org.codelogger.utils.DateUtils
 
ArrayUtils - Class in org.codelogger.utils
一个用来处理Array的工具类。
A useful tools to handle array.
ArrayUtils() - Constructor for class org.codelogger.utils.ArrayUtils
 
asc(T[]) - Static method in class org.codelogger.utils.SortUtils
Return a new ordered array has all element of given comparable array by ascending.
asc(T) - Static method in class org.codelogger.utils.SortUtils
Orders given comparable array by ascending.
ascClone(T) - Static method in class org.codelogger.utils.SortUtils
Return a new ordered array has all element of given comparable array by ascending.
ascDeep(T[]) - Static method in class org.codelogger.utils.SortUtils
Orders given comparable array by ascending.
AUGUST - Static variable in class org.codelogger.utils.DateUtils
 

B

Base64Util - Class in org.codelogger.utils
 
Base64Util.InputStream - Class in org.codelogger.utils
A .InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from org.codelogger.utils.Base64Util notation on the fly.
Base64Util.InputStream(InputStream) - Constructor for class org.codelogger.utils.Base64Util.InputStream
Constructs a .InputStream in DECODE mode.
Base64Util.InputStream(InputStream, int) - Constructor for class org.codelogger.utils.Base64Util.InputStream
Constructs a .InputStream in either ENCODE or DECODE mode.
Base64Util.OutputStream - Class in org.codelogger.utils
A .OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from org.codelogger.utils.Base64Util notation on the fly.
Base64Util.OutputStream(OutputStream) - Constructor for class org.codelogger.utils.Base64Util.OutputStream
Constructs a .OutputStream in ENCODE mode.
Base64Util.OutputStream(OutputStream, int) - Constructor for class org.codelogger.utils.Base64Util.OutputStream
Constructs a .OutputStream in either ENCODE or DECODE mode.
BeanInstantiationException - Exception in org.codelogger.utils.exceptions
 
BeanInstantiationException(Class<?>, String) - Constructor for exception org.codelogger.utils.exceptions.BeanInstantiationException
 
BeanInstantiationException(Class<?>, String, Exception) - Constructor for exception org.codelogger.utils.exceptions.BeanInstantiationException
 
BeanUtils - Class in org.codelogger.utils
处理JavaBean的工具类。 A useful tool to handle beans.
BeanUtils() - Constructor for class org.codelogger.utils.BeanUtils
 
buildArray(Class<T>, int, T) - Static method in class org.codelogger.utils.ArrayUtils
新建数组。Returns a new given size length array instance by given type's wrapper type use default value.
BuildDate(long) - Static method in class org.codelogger.utils.DateUtils
Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.

C

classIs(Object, Class<?>) - Static method in class org.codelogger.utils.ClassUtils
 
ClassUtils - Class in org.codelogger.utils
处理对象类型的工具类。 A useful tools to handle class.
clone(T) - Static method in class org.codelogger.utils.BeanUtils
浅克隆。Return a shadow cloned object.
close() - Method in class org.codelogger.utils.Base64Util.OutputStream
Flushes and closes (I think, in the superclass) the stream.
CollectionUtils - Class in org.codelogger.utils
A useful tools to handle collection, likes judge empty, not empty, get first or null, to list, to set, to array and so on...
compareTo(Range<T>) - Method in class org.codelogger.utils.beans.Range
 
componentClassIs(Object, Class<?>) - Static method in class org.codelogger.utils.ClassUtils
 
componentSize() - Method in class org.codelogger.utils.beans.StorageComponent
Returns the number of key-value mappings in this StorageComponent Component.
contains(T[], T) - Static method in class org.codelogger.utils.ArrayUtils
判定指定的数组是否包含指定的元素。 Returns true if this array contains the given element; false otherwise.
containsIgnoreCase(String, String) - Static method in class org.codelogger.utils.StringUtils
Returns true if given string contains given target string ignore case, false otherwise.
containsWhitespace(String) - Static method in class org.codelogger.utils.StringUtils
Returns true if given string have white span, false otherwise.
containsWord(String, String) - Static method in class org.codelogger.utils.StringUtils
Returns true if given text contains given word; false otherwise.
containsWordIgnoreCase(String, String) - Static method in class org.codelogger.utils.StringUtils
Returns true if given text contains given word ignore case; false otherwise.
copy(T, T) - Static method in class org.codelogger.utils.ArrayUtils
复制源数组的数数据到指定数组。如果给定的数组有为空的存在,则不执行任何操作。否则按给定数组中长度最小的长度来复制数据。
copy(T, T, int, int, int) - Static method in class org.codelogger.utils.ArrayUtils
按指定的起始位置来复制源数组的数数据到指定数组。
copy(File, File) - Static method in class org.codelogger.utils.FileUtils
Copy source file or directory into destination file or directory.
copyProperties(Object, Object) - Static method in class org.codelogger.utils.BeanUtils
把相同名称和类型的字段从源对象中复制到目标对象中去(目标对象中final字段除外)。 Copy same name and type field value from source to target(except target final field).
count(T[], T) - Static method in class org.codelogger.utils.ArrayUtils
统计数组中包含指定元素的个数。Count how many given target in given array.
count(String, String) - Static method in class org.codelogger.utils.StringUtils
Count how much target in souce string.
统计target在source中出现的次数。
countIgnoreCase(String, String) - Static method in class org.codelogger.utils.StringUtils
Count how much target in souce string.
统计target在source中出现的次数。
createDirectory(File) - Static method in class org.codelogger.utils.FileUtils
Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories.
createDirectory(String) - Static method in class org.codelogger.utils.FileUtils
Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories.
createExceptionMessage(String, Object...) - Method in class org.codelogger.utils.ExceptionThrower
Create a string message by string format.
createNestedMessagesFromThrowable(Throwable) - Static method in class org.codelogger.utils.ExceptionUtils
 

D

DateException - Exception in org.codelogger.utils.exceptions
 
DateException(String) - Constructor for exception org.codelogger.utils.exceptions.DateException
 
DateException(String, Throwable) - Constructor for exception org.codelogger.utils.exceptions.DateException
 
DatePeriod - Class in org.codelogger.utils.lang
 
DatePeriod() - Constructor for class org.codelogger.utils.lang.DatePeriod
 
DateUtils - Class in org.codelogger.utils
A useful tools to handle dates, likes get date from string, date format, get date back, calculate date between, get first/last day of month, get year/month/week/day/hour/minute/second and so on...
DAY - Static variable in class org.codelogger.utils.lang.DatePeriod
milliseconds of one day.
DECEMBER - Static variable in class org.codelogger.utils.DateUtils
 
DECODE - Static variable in class org.codelogger.utils.Base64Util
Specify decoding.
decode(byte[], int, int) - Static method in class org.codelogger.utils.Base64Util
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.codelogger.utils.Base64Util
Decodes data from org.codelogger.utils.Base64Util notation, automatically detecting gzip-compressed data and decompressing it.
decodeFromFile(String) - Static method in class org.codelogger.utils.Base64Util
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.codelogger.utils.Base64Util
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.codelogger.utils.Base64Util
Attempts to decode org.codelogger.utils.Base64Util data and deserialize a Java Object within.
decodeUrl(String) - Static method in class org.codelogger.utils.Base64Util
 
delete(String) - Static method in class org.codelogger.utils.FileUtils
Deletes the file or directory denoted by this abstract pathname.
delete(File) - Static method in class org.codelogger.utils.FileUtils
Deletes the file or directory denoted by this abstract file.
deleteIgnoreCase(String, String) - Static method in class org.codelogger.utils.StringUtils
Returns a new string which source string delete destination chars ignore case sensitive.
desc(T[]) - Static method in class org.codelogger.utils.SortUtils
Return a new ordered array has all element of given comparable array by descending.
desc(T) - Static method in class org.codelogger.utils.SortUtils
Orders given comparable array by descending.
descClone(T) - Static method in class org.codelogger.utils.SortUtils
Return a new ordered array has all element of given comparable array by descending.
descDeep(T[]) - Static method in class org.codelogger.utils.SortUtils
Orders given comparable array by descending.
disorder(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
将给定的集合打乱,并全部添加到一个新的List,此操作不会影响传入的对象.
divide(T, T) - Static method in class org.codelogger.utils.MathUtils
Returns a double average number by given dividend and divisor.
Returns 0 if dividend == null or divisor == null.
Returns 1 if dividend == divisor or divisor == 0.
divideRoundDown(T, T) - Static method in class org.codelogger.utils.MathUtils
Returns a long average number by round down with specify dividend and divisor.
Returns 0 if dividend == null or divisor == null.
Returns 1 if dividend == divisor or divisor == 0.
e.g: average is 3.5, then return 3.
divideRoundUp(T, T) - Static method in class org.codelogger.utils.MathUtils
Returns a long average number by round up with specify dividend and divisor.
Returns 0 if dividend == null or divisor == null.
Returns 1 if dividend == divisor or divisor == 0.
e.g: average is 3.5, then return 4.
doGet(String) - Static method in class org.codelogger.utils.HttpUtils
access given url by get request without retry when exception.
doGet(String, int) - Static method in class org.codelogger.utils.HttpUtils
access given url by get request, if get exception, will retry by given retryTimes.
DONT_BREAK_LINES - Static variable in class org.codelogger.utils.Base64Util
Don't break lines when encoding (violates strict org.codelogger.utils.Base64Util specification)
doPost(String, Map<String, String>) - Static method in class org.codelogger.utils.HttpUtils
access given action with given parameters(default encoding by "UTF-8") by post request without retry when exception.
doPost(String, Map<String, String>, int) - Static method in class org.codelogger.utils.HttpUtils
access given action with given parameters by post, if get exception, will retry by given retryTimes.
DownloadUtils - Class in org.codelogger.utils
 

E

EMPTY_PARAMETER_CLASSTYPES - Static variable in class org.codelogger.utils.MethodUtils
 
EMPTY_PARAMETER_VALUES - Static variable in class org.codelogger.utils.MethodUtils
 
ENCODE - Static variable in class org.codelogger.utils.Base64Util
Specify encoding.
encodeBytes(byte[]) - Static method in class org.codelogger.utils.Base64Util
Encodes a byte array into org.codelogger.utils.Base64Util notation.
encodeBytes(byte[], int) - Static method in class org.codelogger.utils.Base64Util
Encodes a byte array into org.codelogger.utils.Base64Util notation.
encodeBytes(byte[], int, int) - Static method in class org.codelogger.utils.Base64Util
Encodes a byte array into org.codelogger.utils.Base64Util notation.
encodeBytes(byte[], int, int, int) - Static method in class org.codelogger.utils.Base64Util
Encodes a byte array into org.codelogger.utils.Base64Util notation.
encodeBytesNoBreaks(byte[]) - Static method in class org.codelogger.utils.Base64Util
Encodes a byte array into org.codelogger.utils.Base64Util notation.
encodeFromFile(String) - Static method in class org.codelogger.utils.Base64Util
Convenience method for reading a binary file and base64-encoding it.
encodeFromInputStream(InputStream, long) - Static method in class org.codelogger.utils.Base64Util
 
encodeObject(Serializable) - Static method in class org.codelogger.utils.Base64Util
Serializes an object and returns the org.codelogger.utils.Base64Util -encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.codelogger.utils.Base64Util
Serializes an object and returns the org.codelogger.utils.Base64Util -encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.codelogger.utils.Base64Util
Convenience method for encoding data to a file.
encoding(String, String, String) - Static method in class org.codelogger.utils.StringUtils
Return encoded string by given charset.
endsWithIgnoreCase(String, String) - Static method in class org.codelogger.utils.StringUtils
Returns true if given source string end with target string ignore case sensitive; false otherwise.
equals(Object) - Method in class org.codelogger.utils.beans.Range
 
equals(T, T) - Static method in class org.codelogger.utils.JudgeUtils
Returns if source equals target.
equals(Object, Object) - Static method in class org.codelogger.utils.ObjectUtils
Returns if source equals target.
ExceptionThrower - Class in org.codelogger.utils
 
ExceptionThrower() - Constructor for class org.codelogger.utils.ExceptionThrower
 
ExceptionThrowerFactory - Class in org.codelogger.utils
 
ExceptionThrowerFactory() - Constructor for class org.codelogger.utils.ExceptionThrowerFactory
 
ExceptionUtils - Class in org.codelogger.utils
 

F

FatalBeanException - Exception in org.codelogger.utils.exceptions
 
FatalBeanException(String) - Constructor for exception org.codelogger.utils.exceptions.FatalBeanException
 
FatalBeanException(String, Throwable) - Constructor for exception org.codelogger.utils.exceptions.FatalBeanException
 
FEBRUARY - Static variable in class org.codelogger.utils.DateUtils
 
FileUtils - Class in org.codelogger.utils
A useful tools to handle files, likes judge exist\folder, get file, get file bytes, writ file, copy files, and so on...
FileUtils() - Constructor for class org.codelogger.utils.FileUtils
 
findMethod(Class<?>, String, Class<?>[]) - Static method in class org.codelogger.utils.MethodUtils
Returns a Method object that reflects the specified declared method of the class or interface represented by given class.
Returns null if not find.
findPublicMethod(Class<?>, String, Class<?>[]) - Static method in class org.codelogger.utils.MethodUtils
Returns a public Method object that reflects the specified public member method of the class or interface represented by given class.
Returns null if not find.
firstCharToLowerCase(String) - Static method in class org.codelogger.utils.StringUtils
Convert first character in given string to lower case.
If given source string is blank or first character is lower case, return it's self.
firstCharToUpperCase(String) - Static method in class org.codelogger.utils.StringUtils
Convert first character in given string to upper case.
If given source string is blank or first character is upper case, return it's self.
flushBase64() - Method in class org.codelogger.utils.Base64Util.OutputStream
Method added by PHIL.
formatToStartOfDay(Date) - Static method in class org.codelogger.utils.DateUtils
Returns the beginning of the given day.
FRIDAY - Static variable in class org.codelogger.utils.DateUtils
 

G

get(KeyType...) - Method in class org.codelogger.utils.beans.StorageComponent
Returns value of keys reference.
get(KeyType) - Method in class org.codelogger.utils.beans.StorageComponent
Returns value of key reference.
getAllFilesOfFolder(String) - Static method in class org.codelogger.utils.FileUtils
Return all files in given folder.
返回给定目录下的所有文件,不包括基子目录下的文件。
getBytes(File) - Static method in class org.codelogger.utils.FileUtils
Get bytes from given source file.
getBytes(String) - Static method in class org.codelogger.utils.FileUtils
Get bytes from given source file path.
getBytes(InputStream) - Static method in class org.codelogger.utils.IOUtils
Get bytes from given input stream.
getBytesFromHttp(String) - Static method in class org.codelogger.utils.DownloadUtils
Get destination web file bytes.
getBytesFromNetwork(String) - Static method in class org.codelogger.utils.IOUtils
 
getClass(T) - Static method in class org.codelogger.utils.ClassUtils
返回给定对象的类型。
如果给定对象为 null 则返回 null.
Returns given object class type.
if given object is null return null.
getClassName(Object) - Static method in class org.codelogger.utils.ClassUtils
Returns given object's full class name.
e.g: org.codelogger.utils.ClassUtils
If given object is null return empty string.
getComponentClass(Object) - Static method in class org.codelogger.utils.ClassUtils
返回给定对象的组件类型,如List<Long>的组件类型为Long
如果给定对象不是集合或数组,则返回null。 Returns the given object component type.
If given object does not represent an array ,this method returns null.
getCount(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
 
getCurrentDate() - Static method in class org.codelogger.utils.DateUtils
Return current system date.
getDateFormat(Date, String) - Static method in class org.codelogger.utils.DateUtils
Format date by given pattern.
getDateFormat(String, String, String) - Static method in class org.codelogger.utils.DateUtils
Format date from given date string and date pattern by format pattern.
getDateFromString(String) - Static method in class org.codelogger.utils.DateUtils
The date format pattern is "yyyy-MM-dd HH:mm:ss", so you must put data like this: '2012-12-21 00:00:00'
getDateFromString(String, String) - Static method in class org.codelogger.utils.DateUtils
Get data from data string using the given pattern and the default date format symbols for the default locale.
getDateOfDaysBack(int, Date) - Static method in class org.codelogger.utils.DateUtils
Get specify days back from given date.
getDateOfHoursBack(int, Date) - Static method in class org.codelogger.utils.DateUtils
Get specify hours back form given date.
getDateOfMinutesBack(int, Date) - Static method in class org.codelogger.utils.DateUtils
Get specify minutes back form given date.
getDateOfMonthsBack(int, Date) - Static method in class org.codelogger.utils.DateUtils
Get specify months back from given date.
getDateOfSecondsBack(int, Date) - Static method in class org.codelogger.utils.DateUtils
Get specify seconds back form given date.
getDateOfWeeksBack(int, Date) - Static method in class org.codelogger.utils.DateUtils
Get specify weeks back from given date.
getDateOfYearsBack(int, Date) - Static method in class org.codelogger.utils.DateUtils
Get specify years back from given date.
getDatePeriod(Date, Period) - Static method in class org.codelogger.utils.RangeUtils
Return Range<Date> by given date and period.
getDateRanges(Date, Date, Period) - Static method in class org.codelogger.utils.RangeUtils
Returns Range<Date> list between given date from and date to by period granulation.
getDayOfMonth(Date) - Static method in class org.codelogger.utils.DateUtils
Get the day of the month by given date.
getDayOfWeek(Date) - Static method in class org.codelogger.utils.DateUtils
Get the day of the week by given date.
getDayOfYear(Date) - Static method in class org.codelogger.utils.DateUtils
Get the day number within the year by given date.
getDisplayString(Object) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given object.
eg: int[] array = {1,2,3} ==> "[1,2,3]".
eg: "example" ==> "example".
eg: object ==> "java.lang.Object@1314520".
getFirstNotNullValue(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
Returns the first not null element if the collection is not null and have not null value, else return null.
getFirstOrNull(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
Return either the first element when the collection is not null and empty or null.
getFormatName(Object) - Static method in class org.codelogger.utils.ImageUtils
Returns a String identifying the format of the input source.
e.g: image source is "example.png" then return "png".
getFormatNameFromHttpImage(String) - Static method in class org.codelogger.utils.ImageUtils
Returns a String identifying the format of given web image.
e.g: image source is "example.png" then return "png".
getHeight(ImageReader) - Static method in class org.codelogger.utils.ImageUtils.ImageReaderUtils
Get image height.
getHourOfDay(Date) - Static method in class org.codelogger.utils.DateUtils
Get the hour of the day by given date.
getIdentityHexString(Object) - Static method in class org.codelogger.utils.ObjectUtils
Returns given object string identity hash code.
eg: 36d251a3
getImageReader(Object) - Static method in class org.codelogger.utils.ImageUtils
Get image reader from given source image.
getImageReaderFromHttpImage(String) - Static method in class org.codelogger.utils.ImageUtils
Get image reader from given web image.
getInputStreamFromHttp(String) - Static method in class org.codelogger.utils.DownloadUtils
Get destination web file input stream.
getInputStreamFromNetwork(String) - Static method in class org.codelogger.utils.IOUtils
 
getInstance(Comparable<T>, Comparable<T>) - Static method in class org.codelogger.utils.beans.Range
 
getInstance() - Static method in class org.codelogger.utils.IllegalArgumentExceptionThrower
Return the IllegalargumentExceptionThrower singleton instance.
getInstance(Object, String) - Static method in class org.codelogger.utils.Monitor
 
getKey() - Method in enum org.codelogger.utils.lang.Alphabet
 
getLastElement(T[]) - Static method in class org.codelogger.utils.ArrayUtils
返回数组最后一个元素。如果数组为空,返回null.
getLastElement(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
 
getLongRanges(Long, Long, int) - Static method in class org.codelogger.utils.RangeUtils
Returns Range<Long> list between given from and to by step.The minimum step is 1.
e.g:
    [from:0,to:3,step:1] => [[0-0],[1-1],[2-2],[3-3]]
    [from:0,to:7,step:2] => [[0-1],[2-3],[4-5],[6-7]]
    [from:0,to:7,step:3] => [[0-2],[3-5],[6-7]]
getLowerBound() - Method in class org.codelogger.utils.beans.Range
 
getMapValuesOrderByKey(Map<KT, VT>, List<KT>, VT) - Static method in class org.codelogger.utils.MapUtils
 
getMD5(File) - Static method in class org.codelogger.utils.MD5Utils
 
getMD5(String) - Static method in class org.codelogger.utils.MD5Utils
 
getMD5(byte[]) - Static method in class org.codelogger.utils.MD5Utils
 
getMinuteOfHour(Date) - Static method in class org.codelogger.utils.DateUtils
Get the minute within the hour by given date.
E.g.: at 10:04:15.250 PM the MINUTE is 4.
getMonitor(String, String) - Static method in class org.codelogger.utils.MonitorUtils
 
getMonthOfYear(Date) - Static method in class org.codelogger.utils.DateUtils
Get the month of year by given date.
getPeriod(int) - Static method in enum org.codelogger.utils.lang.Period
 
getPrimitiveClass(Object) - Static method in class org.codelogger.utils.ClassUtils
Returns given object class primitive class or self class.
if given object class is 8 wrapper class then return primitive class.
if given object class is null return null.
getPrimitiveClass(Class<?>) - Static method in class org.codelogger.utils.ClassUtils
Returns given class primitive class or self class.
if given class is 8 wrapper class then return primitive class.
if given class is null return null.
getProperties(String) - Static method in class org.codelogger.utils.PropertiesUtils
Returns properties by given path.
getPropertiesFromCache(String) - Static method in class org.codelogger.utils.PropertiesUtils
Returns properties by given path.
If this properties already been put in the cache, we will returns this properties from cache.
getRandomAlphabetic() - Static method in class org.codelogger.utils.StringUtils
Returns a random alphabetic: a-zA-Z.
getRandomLowerCaseAlphabetic() - Static method in class org.codelogger.utils.StringUtils
Returns a random alphabetic: a-zA-Z.
getRandomPasswordChar() - Static method in class org.codelogger.utils.StringUtils
Returns a random passowrd char: a-zA-Z0-9.
getRandomPasswordString(int) - Static method in class org.codelogger.utils.StringUtils
Returns a random given length size passowrd string([a-zA-Z0-9]+).
getRandomString(int) - Static method in class org.codelogger.utils.StringUtils
Returns a random given length size alphabetic string.
getRandomUpperCaseAlphabetic() - Static method in class org.codelogger.utils.StringUtils
Returns a random alphabetic: a-zA-Z.
getReloadPropertiesInToCache(String) - Static method in class org.codelogger.utils.PropertiesUtils
Returns properties by given path, and put this properties into cache, you can called getProperties method to get this properties from cache next.
getSecondOfMinute(Date) - Static method in class org.codelogger.utils.DateUtils
Get the second within the minute by given date.
E.g.: at 10:04:15.250 PM the SECOND is 15.
getSimpleClassName(Object) - Static method in class org.codelogger.utils.ClassUtils
Returns given class simple class name.
e.g: given class is:java.lang.Object, then return:Object
getStorageComponent(KeyType) - Method in class org.codelogger.utils.beans.StorageComponent
Returns child StorageComponent by given key.
getStringsByRegex(String, String) - Static method in class org.codelogger.utils.StringUtils
根据正则表达式提取字符串
getUpperBound() - Method in class org.codelogger.utils.beans.Range
 
getValue() - Method in enum org.codelogger.utils.lang.Alphabet
 
getValue(Date) - Method in enum org.codelogger.utils.lang.Period
 
getValue(Long) - Static method in class org.codelogger.utils.ValueUtils
Returns 0 if given value is null; else returns it self.
getValue(Integer) - Static method in class org.codelogger.utils.ValueUtils
Returns 0 if given value is null; else returns it self.
getValue(Double) - Static method in class org.codelogger.utils.ValueUtils
Returns 0 if given value is null; else returns it self.
getValue(Float) - Static method in class org.codelogger.utils.ValueUtils
Returns 0 if given value is null; else returns it self.
getValue(Number) - Static method in class org.codelogger.utils.ValueUtils
Returns 0 if given value is null; else returns it self.
getValue(Boolean) - Static method in class org.codelogger.utils.ValueUtils
Return true if booleanValue is not null and is true.
getWebProjectPath(Object) - Static method in class org.codelogger.utils.PathUtils
The parameter currentObject recommend to user 'this', because of can not be a object which build by manually with 'new';
getWeekOfMonth(Date) - Static method in class org.codelogger.utils.DateUtils
Get the week of the month by given date.
getWeekOfYear(Date) - Static method in class org.codelogger.utils.DateUtils
Get the week number within the year by given date.
getWidth(ImageReader) - Static method in class org.codelogger.utils.ImageUtils.ImageReaderUtils
Get image width.
getWords(String, int) - Static method in class org.codelogger.utils.StringUtils
Returns words in given text by given word minimum length.
getWrapperClass(Object) - Static method in class org.codelogger.utils.ClassUtils
返回给定对象的封装类型或自身类型.
如果给定对象是基本数据类型,则返回其封装类型。
如果给定对象为 null 则返回 null.
getWrapperClass(Class<?>) - Static method in class org.codelogger.utils.ClassUtils
Returns given class wrapper class or self class.
if given class is primitive class then return wrapper class.
if given class is null return null.
getXML(String) - Static method in class org.codelogger.utils.XMLUtils
 
getXMLData(String) - Static method in class org.codelogger.utils.XMLUtils
 
getYear(Date) - Static method in class org.codelogger.utils.DateUtils
Get the year by given date.
greaterThan(T, T) - Static method in class org.codelogger.utils.JudgeUtils
Returns true if object greater than other; false otherwise.
greaterThan(T, T) - Static method in class org.codelogger.utils.SortUtils
Returns true if object greater than other; false otherwise.
greaterThanOrEquals(T, T) - Static method in class org.codelogger.utils.JudgeUtils
Returns true if object equals other or object greater than other; false otherwise.
greaterThanOrEquals(T, T) - Static method in class org.codelogger.utils.SortUtils
Returns true if object equals other or object greater than other; false otherwise.
GZIP - Static variable in class org.codelogger.utils.Base64Util
Specify that data should be gzip-compressed.

H

hashCode() - Method in class org.codelogger.utils.beans.Range
 
hashCode(Object) - Static method in class org.codelogger.utils.ObjectUtils
Returns given object's hash code.
hashCode(Object[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(boolean[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(byte[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(char[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(double[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(float[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(int[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(long[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(short[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns given array hash code.
hashCode(boolean) - Static method in class org.codelogger.utils.ObjectUtils
Returns given boolean value hash code.
hashCode(double) - Static method in class org.codelogger.utils.ObjectUtils
Returns given double value hash code.
hashCode(float) - Static method in class org.codelogger.utils.ObjectUtils
Returns given float value hash code.
hashCode(long) - Static method in class org.codelogger.utils.ObjectUtils
Returns given long value hash code.
hasNull(Object, Object...) - Static method in class org.codelogger.utils.JudgeUtils
Returns true if at least one given object is null; false otherwise.
hexDigits - Static variable in class org.codelogger.utils.MD5Utils
 
HOUR - Static variable in class org.codelogger.utils.lang.DatePeriod
milliseconds of one hour.
HtmlUtils - Class in org.codelogger.utils
 
HtmlUtils() - Constructor for class org.codelogger.utils.HtmlUtils
 
HttpException - Exception in org.codelogger.utils.exceptions
 
HttpException(String) - Constructor for exception org.codelogger.utils.exceptions.HttpException
 
HttpException(Throwable) - Constructor for exception org.codelogger.utils.exceptions.HttpException
 
HttpException(String, Throwable) - Constructor for exception org.codelogger.utils.exceptions.HttpException
 
HttpUtils - Class in org.codelogger.utils
 

I

iae - Static variable in class org.codelogger.utils.ExceptionUtils
 
identityToString(Object) - Static method in class org.codelogger.utils.ObjectUtils
Returns given object class name and string identity hash code.
eg: java.lang.Object@36d251a3
IllegalArgumentExceptionThrower - Class in org.codelogger.utils
 
ImageUtils - Class in org.codelogger.utils
A useful tools to handle images, likes get imageReader from file or web URL, get image format name, and so on...
ImageUtils.ImageReaderUtils - Class in org.codelogger.utils
A tool to handle image reader.
includes(Comparable<T>) - Method in class org.codelogger.utils.beans.Range
判断给定的值是否在当前范围内。
INDEX_OF_NOT_FOUND - Static variable in class org.codelogger.utils.ArrayUtils
未找到要检索的值
INDEX_OF_NOT_FOUND - Static variable in class org.codelogger.utils.StringUtils
 
indexOf(T[], T) - Static method in class org.codelogger.utils.ArrayUtils
查找指定元素在给定数组中的索引。
Returns the index within given array of the first occurrence of the specified element.
If not found any array element equals specified, return -1.
indexOfIgnoreCase(String, String) - Static method in class org.codelogger.utils.StringUtils
Returns the index within given source string of the first occurrence of the specified target string with ignore case sensitive.
indexOfIgnoreCase(String, String, int) - Static method in class org.codelogger.utils.StringUtils
Returns the index within given source string of the first occurrence of the specified target string with ignore case sensitive, starting at the specify index.
instance(Class<? extends RuntimeException>) - Static method in class org.codelogger.utils.ExceptionThrowerFactory
Return specify exception type singleton exceptionThrower.
instantiateClass(Class<T>) - Static method in class org.codelogger.utils.ClassUtils
Create and initialize a new instance of the given class by default constructor.
instantiateClass(Class<T>, Class<?>[], Object[]) - Static method in class org.codelogger.utils.ClassUtils
Create and initialize a new instance of the given class by given parameterTypes and parameterValues.
InvalidRangeException - Exception in org.codelogger.utils.exceptions
 
InvalidRangeException(String) - Constructor for exception org.codelogger.utils.exceptions.InvalidRangeException
 
InvalidRangeException(String, Throwable) - Constructor for exception org.codelogger.utils.exceptions.InvalidRangeException
 
invoke(Object, String, Class<?>[], Object[]) - Static method in class org.codelogger.utils.MethodUtils
Invokes method which name equals given method name and parameter types equals given parameter types on the given source with the given parameters.
invoke(Object, Method, Object[]) - Static method in class org.codelogger.utils.MethodUtils
Invokes given method on the given source object with the specified parameters.
IOUtils - Class in org.codelogger.utils
 
IOUtils() - Constructor for class org.codelogger.utils.IOUtils
 
isAliquot(T, T) - Static method in class org.codelogger.utils.MathUtils
Judge divisor is an aliquot part of dividend.
判断被除数是否能被除数整除。
isArray(Object) - Static method in class org.codelogger.utils.ArrayUtils
判定是否为数组。Returns true if given object is an not null array; false otherwise.
isBlank(String) - Static method in class org.codelogger.utils.StringUtils
Returns true if the source string is null or all characters in this string is space; false otherwise.
isCollection(Object) - Static method in class org.codelogger.utils.CollectionUtils
Returns true if the collection is implements Collection; false otherwise.
isDataClass(Class<?>) - Static method in class org.codelogger.utils.ClassUtils
Returns true if the given class is 8 primitive class or their wrapper class,or String class,or null.
isDataObject(Object) - Static method in class org.codelogger.utils.ClassUtils
Returns true if the given object class is 8 primitive class or their wrapper class,or String class,or null.
isDirectory(File) - Static method in class org.codelogger.utils.FileUtils
Tests whether the file denoted by this abstract pathname is a directory.
isDirectory(String) - Static method in class org.codelogger.utils.FileUtils
Tests whether the file denoted by this abstract pathname is a directory.
isEmail(String) - Static method in class org.codelogger.utils.VerifyUtils
Return true if given number is an email address; false otherwise.
isEmpty(Object[]) - Static method in class org.codelogger.utils.ArrayUtils
判定给定的数组是否为空。
Returns true if the array is null or empty; false otherwise.
isEmpty(Object) - Static method in class org.codelogger.utils.ArrayUtils
判定给定的数组是否为空。
Returns true if given object is an not null array and it is length == 0; false otherwise.
isEmpty(Collection<?>) - Static method in class org.codelogger.utils.CollectionUtils
Returns true if the collection is null or empty; false otherwise.
isEmpty(Map<?, ?>) - Static method in class org.codelogger.utils.MapUtils
Returns true if given map is null or empty; false otherwise.
isEmpty(String) - Static method in class org.codelogger.utils.StringUtils
Returns true if the source string is null or length = 0; false otherwise.
isExist(File) - Static method in class org.codelogger.utils.FileUtils
Tests whether the file or directory denoted by this abstract pathname exists.
isExist(String) - Static method in class org.codelogger.utils.FileUtils
Tests whether the file or directory denoted by this abstract pathname exists.
isFirstDayOfTheMonth(Date) - Static method in class org.codelogger.utils.DateUtils
Return true when if the given date is the first day of the month; false otherwise.
isIPAddress(String) - Static method in class org.codelogger.utils.VerifyUtils
Return true if given number is a IP address; false otherwise.
isLastDayOfTheMonth(Date) - Static method in class org.codelogger.utils.DateUtils
Return true if the given date is the last day of the month; false otherwise.
isMobileNumber(String) - Static method in class org.codelogger.utils.VerifyUtils
Return true if given number is a mobile phone number; false otherwise.
isNotBlank(String) - Static method in class org.codelogger.utils.StringUtils
Returns true if the source string is not null and at least one character in this string is not space; false otherwise.
isNotEmpty(Object[]) - Static method in class org.codelogger.utils.ArrayUtils
判定给定的数组是否不为空。
Return true if given array is both not null and not empty;false otherwise.
isNotEmpty(Object) - Static method in class org.codelogger.utils.ArrayUtils
判定给定的数组是否不为空。
Returns true if given object is an array,and not null and length > 0; false otherwise.
isNotEmpty(Collection<?>) - Static method in class org.codelogger.utils.CollectionUtils
Returns true if the collection is both not null and not empty; false otherwise.
isNotEmpty(Map<?, ?>) - Static method in class org.codelogger.utils.MapUtils
Returns true if the map is both not null and not empty; false otherwise.
isNotNull(Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns if object is not null.
isNull(Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns if object is null.

J

JANUARY - Static variable in class org.codelogger.utils.DateUtils
 
join(Object[], String) - Static method in class org.codelogger.utils.ArrayUtils
按指定的分割符拼接数组里的元素。
join(Object, String) - Static method in class org.codelogger.utils.ArrayUtils
按指定的分割符拼接数组里的元素。
join(Collection<T>, String) - Static method in class org.codelogger.utils.CollectionUtils
按指定的分割符拼接集合里的元素。
join(Object, String) - Static method in class org.codelogger.utils.CollectionUtils
按指定的分割符拼接集合里的元素。
JudgeUtils - Class in org.codelogger.utils
A useful tools to judge like equal, not same, is null, is not null, all is null, all is not null, greater or less and so on...
JULY - Static variable in class org.codelogger.utils.DateUtils
 
JUNE - Static variable in class org.codelogger.utils.DateUtils
 

K

keySet() - Method in class org.codelogger.utils.beans.StorageComponent
Returns a Set view of the keys contained in this StorageComponent.

L

lessThan(T, T) - Static method in class org.codelogger.utils.JudgeUtils
Returns true if object less than other; false otherwise.
lessThan(T, T) - Static method in class org.codelogger.utils.SortUtils
Returns true if object less than other; false otherwise.
lessThanOrEquals(T, T) - Static method in class org.codelogger.utils.JudgeUtils
Returns true if object equals other or object less than other; false otherwise.
lessThanOrEquals(T, T) - Static method in class org.codelogger.utils.SortUtils
Returns true if object equals other or object less than other; false otherwise.

M

MapUtils - Class in org.codelogger.utils
 
MapUtils() - Constructor for class org.codelogger.utils.MapUtils
 
MARCH - Static variable in class org.codelogger.utils.DateUtils
 
MathUtils - Class in org.codelogger.utils
A useful to handle math, likes get random value, number to string, and so on.
MAY - Static variable in class org.codelogger.utils.DateUtils
 
MD5Utils - Class in org.codelogger.utils
 
MD5Utils() - Constructor for class org.codelogger.utils.MD5Utils
 
messagedigest - Static variable in class org.codelogger.utils.MD5Utils
 
MethodException - Exception in org.codelogger.utils.exceptions
 
MethodException(String) - Constructor for exception org.codelogger.utils.exceptions.MethodException
 
MethodException(String, Throwable) - Constructor for exception org.codelogger.utils.exceptions.MethodException
 
MethodUtils - Class in org.codelogger.utils
A useful tools to handle methods, like find public/all method, invoke methods and so on...
MINUTE - Static variable in class org.codelogger.utils.lang.DatePeriod
milliseconds of one minute.
MONDAY - Static variable in class org.codelogger.utils.DateUtils
 
Monitor - Class in org.codelogger.utils
 
MonitorUtils - Class in org.codelogger.utils
 

N

newInstance(Class<T>) - Static method in class org.codelogger.utils.BeanUtils
返回一个给定类型的新实例。 Returns a newly allocated instance of the class represented by this class.
newInstance(Class<T>, Class<?>, Object) - Static method in class org.codelogger.utils.BeanUtils
根据给定实例化参数类型和数据实例化指定类型的对象。 Returns a newly allocated instance of the class represented by this class use given constructor parameters class type and constructor parameters value.
newInstance(Class<T>, Class<?>[], Object[]) - Static method in class org.codelogger.utils.BeanUtils
根据给定的多个实例化参数类型和对应数据实例化指定类型的对象。Returns a newly allocated instance of the class represented by this class use given constructor parameters class type and constructor parameters value.
NO_OPTIONS - Static variable in class org.codelogger.utils.Base64Util
No options specified.
noHTML(String, int) - Static method in class org.codelogger.utils.HtmlUtils
 
notSame(Object, Object) - Static method in class org.codelogger.utils.JudgeUtils
Returns if source not equals target.
NOVEMBER - Static variable in class org.codelogger.utils.DateUtils
 

O

ObjectUtils - Class in org.codelogger.utils
A useful tools to handle object, likes to string, get hash code, compare objects, get class name and so on.
OCTOBER - Static variable in class org.codelogger.utils.DateUtils
 
org.codelogger.utils - package org.codelogger.utils
 
org.codelogger.utils.beans - package org.codelogger.utils.beans
 
org.codelogger.utils.exceptions - package org.codelogger.utils.exceptions
 
org.codelogger.utils.lang - package org.codelogger.utils.lang
 

P

PathUtils - Class in org.codelogger.utils
 
PathUtils() - Constructor for class org.codelogger.utils.PathUtils
 
Period - Enum in org.codelogger.utils.lang
粒度周期
print(boolean[]) - Static method in class org.codelogger.utils.PrintUtils
For boolean.
print(byte[]) - Static method in class org.codelogger.utils.PrintUtils
For byte.
print(short[]) - Static method in class org.codelogger.utils.PrintUtils
For short.
print(char[]) - Static method in class org.codelogger.utils.PrintUtils
For char.
print(int[]) - Static method in class org.codelogger.utils.PrintUtils
For int.
print(float[]) - Static method in class org.codelogger.utils.PrintUtils
For float.
print(long[]) - Static method in class org.codelogger.utils.PrintUtils
For long.
print(double[]) - Static method in class org.codelogger.utils.PrintUtils
For double.
print(String, Object...) - Static method in class org.codelogger.utils.PrintUtils
for Object *
print(Object[]) - Static method in class org.codelogger.utils.PrintUtils
 
print(Object) - Static method in class org.codelogger.utils.PrintUtils
format *
println(boolean[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(byte[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(short[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(char[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(int[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(float[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(long[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(double[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(String, Object...) - Static method in class org.codelogger.utils.PrintUtils
 
println(Object[]) - Static method in class org.codelogger.utils.PrintUtils
 
println(Object) - Static method in class org.codelogger.utils.PrintUtils
 
println() - Static method in class org.codelogger.utils.PrintUtils
 
PrintUtils - Class in org.codelogger.utils
 
PropertiesException - Exception in org.codelogger.utils.exceptions
 
PropertiesException(String) - Constructor for exception org.codelogger.utils.exceptions.PropertiesException
 
PropertiesException(Throwable) - Constructor for exception org.codelogger.utils.exceptions.PropertiesException
 
PropertiesException(String, Throwable) - Constructor for exception org.codelogger.utils.exceptions.PropertiesException
 
PropertiesUtils - Class in org.codelogger.utils
 
put(ValueType, KeyType...) - Method in class org.codelogger.utils.beans.StorageComponent
Storages the value by keys.
put(ValueType, KeyType) - Method in class org.codelogger.utils.beans.StorageComponent
Storages the value by key.

R

randomDouble() - Static method in class org.codelogger.utils.MathUtils
Returns a double value between 0.0 and 1.0 from this random number.
randomFloat() - Static method in class org.codelogger.utils.MathUtils
Returns a float value between 0.0 and 1.0 from this random number.
randomInt() - Static method in class org.codelogger.utils.MathUtils
Returns a natural integer value between 0 and integer max value.
randomInt(int) - Static method in class org.codelogger.utils.MathUtils
Returns a natural integer value between 0 and given max value.
randomInt(int, int) - Static method in class org.codelogger.utils.MathUtils
Returns a natural integer number between given minimum value and max value.
randomLong() - Static method in class org.codelogger.utils.MathUtils
Returns a random long value.
randomLong(long) - Static method in class org.codelogger.utils.MathUtils
Returns a natural long value between 0 and given max value.
randomLong(long, long) - Static method in class org.codelogger.utils.MathUtils
Returns a natural long value between given minimum value and max value.
Range<T> - Class in org.codelogger.utils.beans
用来存储区间范围,如:
Range(Comparable<T>, Comparable<T>) - Constructor for class org.codelogger.utils.beans.Range
 
RangeTrendData<T extends Comparable<T>> - Class in org.codelogger.utils.beans
按区间范围增涨存储数据
RangeTrendData() - Constructor for class org.codelogger.utils.beans.RangeTrendData
 
RangeUtils - Class in org.codelogger.utils
 
read() - Method in class org.codelogger.utils.Base64Util.InputStream
Reads enough of the input stream to convert to/from org.codelogger.utils.Base64Util and returns the next byte.
read(byte[], int, int) - Method in class org.codelogger.utils.Base64Util.InputStream
Calls Base64Util.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
remove(T[], T) - Static method in class org.codelogger.utils.ArrayUtils
移出给定数组中的所有指定元素。Remove all given target element from given array.
replacIgnoreCase(String, String, String) - Static method in class org.codelogger.utils.StringUtils
Replaces each substring of given source string that matches the given regular expression ignore case sensitive with the given replacement.
resumeEncoding() - Method in class org.codelogger.utils.Base64Util.OutputStream
Resumes encoding of the stream.
reverse(T) - Static method in class org.codelogger.utils.SortUtils
Sort the array in reverse order.
reverse(String) - Static method in class org.codelogger.utils.StringUtils
Sort the array in reverse order.
反转字符串。
RoundDown(T) - Static method in class org.codelogger.utils.MathUtils
Returns a long number by round down with specify number.
Returns 0 if number == null.
e.g: average is 3.5, then return 3.
RoundUp(T) - Static method in class org.codelogger.utils.MathUtils
Returns a long number by round up with specify number.
Returns 0 if number == null.
e.g: average is 3.5, then return 4.

S

SATURDAY - Static variable in class org.codelogger.utils.DateUtils
 
SECOND - Static variable in class org.codelogger.utils.lang.DatePeriod
milliseconds of one second.
SEPTEMBER - Static variable in class org.codelogger.utils.DateUtils
 
size() - Method in class org.codelogger.utils.beans.StorageComponent
Returns the number of key-value mappings in this StorageComponent.
snapshot(byte[], Color) - Static method in class org.codelogger.utils.ImageUtils
 
SortUtils - Class in org.codelogger.utils
A useful tools to handle comparable array or collection.
start() - Method in class org.codelogger.utils.Monitor
 
startsWithIgnoreCase(String, String) - Static method in class org.codelogger.utils.StringUtils
Returns true if given source string start with target string ignore case sensitive; false otherwise.
stopAndgetMonitorMessage() - Method in class org.codelogger.utils.Monitor
 
stopAndGetSpendTimeMillis() - Method in class org.codelogger.utils.Monitor
 
stopAndprintResult() - Method in class org.codelogger.utils.Monitor
 
stopAndprintResult(String, Object...) - Method in class org.codelogger.utils.Monitor
 
StorageComponent<KeyType,ValueType> - Class in org.codelogger.utils.beans
StorageComponent is a raw type, support variable keys.
StorageComponent() - Constructor for class org.codelogger.utils.beans.StorageComponent
 
StorageComponent(ValueType, KeyType...) - Constructor for class org.codelogger.utils.beans.StorageComponent
Instantiation a StorageComponent instance, and story given value by given keys.
StringUtils - Class in org.codelogger.utils
A useful tools to handle string, likes judge blank or not blank, first character to upper or lower case, index with, judge contains, encoding, replace, delete and so on...
subArray(T[], int) - Static method in class org.codelogger.utils.ArrayUtils
裁剪数组。Returns a new array if array is not empty and start greater or equals 0 and less than array length; array self otherwise;
subArray(T, int, int) - Static method in class org.codelogger.utils.ArrayUtils
裁剪数组。
subArray(T[], int, int) - Static method in class org.codelogger.utils.ArrayUtils
裁剪数组。 Returns a new array if array is not empty and start greater or equals 0 and less than end and end less than array length; array self otherwise;
subDays(String, String) - Static method in class org.codelogger.utils.DateUtils
Get how many days between two date, the date pattern is 'yyyy-MM-dd'.
subDays(Date, Date) - Static method in class org.codelogger.utils.DateUtils
Get how many days between two date.
subHours(Date, Date) - Static method in class org.codelogger.utils.DateUtils
Get how many hours between two date.
subMinutes(Date, Date) - Static method in class org.codelogger.utils.DateUtils
Get how many minutes between two date.
subMonths(String, String) - Static method in class org.codelogger.utils.DateUtils
Get how many months between two date, the date pattern is 'yyyy-MM-dd'.
subMonths(Date, Date) - Static method in class org.codelogger.utils.DateUtils
Get how many months between two date.
subSeconds(Date, Date) - Static method in class org.codelogger.utils.DateUtils
Get how many seconds between two date.
subYears(String, String) - Static method in class org.codelogger.utils.DateUtils
Get how many years between two date, the date pattern is 'yyyy-MM-dd'.
subYears(Date, Date) - Static method in class org.codelogger.utils.DateUtils
Get how many years between two date.
SUNDAY - Static variable in class org.codelogger.utils.DateUtils
 
suspendEncoding() - Method in class org.codelogger.utils.Base64Util.OutputStream
Suspends encoding of the stream.

T

targetInElements(T, T...) - Static method in class org.codelogger.utils.JudgeUtils
 
throwIfEmptyOrNull(Collection<?>, String, Object...) - Method in class org.codelogger.utils.ExceptionThrower
If parameter collection is empty or null, throw a RuntimeException.
throwIfEmptyOrNull(Map<?, ?>, String, Object...) - Method in class org.codelogger.utils.ExceptionThrower
If parameter map is empty or null, throw a RuntimeException.
throwIfEmptyOrNull(Object[], String, Object...) - Method in class org.codelogger.utils.ExceptionThrower
If parameter array is empty or null, throw a RuntimeException.
throwIfEmptyOrNull(Collection<?>, String, Object...) - Method in class org.codelogger.utils.IllegalArgumentExceptionThrower
If parameter collection is empty or null, throw a RuntimeException.
throwIfEmptyOrNull(Map<?, ?>, String, Object...) - Method in class org.codelogger.utils.IllegalArgumentExceptionThrower
If parameter map is empty or null, throw a RuntimeException.
throwIfEmptyOrNull(Object[], String, Object...) - Method in class org.codelogger.utils.IllegalArgumentExceptionThrower
If parameter array is empty or null, throw a RuntimeException.
throwIfNull(Object, String, Object...) - Method in class org.codelogger.utils.ExceptionThrower
If parameter obj is null, throw a RuntimeException.
throwIfNull(Object, String, Object...) - Method in class org.codelogger.utils.IllegalArgumentExceptionThrower
If parameter obj is null, throw a RuntimeException.
throwIfTrue(boolean, String, Object...) - Method in class org.codelogger.utils.ExceptionThrower
If condition is true, throw a RuntimeException.
throwIfTrue(boolean, String, Object...) - Method in class org.codelogger.utils.IllegalArgumentExceptionThrower
If condition is true, throw a RuntimeException.
THURSDAY - Static variable in class org.codelogger.utils.DateUtils
 
toArray(Collection<T>) - Static method in class org.codelogger.utils.ArrayUtils
将集合类型转换为数组。
toArray(Object, Class<T>) - Static method in class org.codelogger.utils.ArrayUtils
将基本数据类型的数组转换成给定封装类型的数组。Convert primitive array to given wrapper type array.
toArray(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
Convert given collection to an array.
toList(T[]) - Static method in class org.codelogger.utils.ArrayUtils
将给定数组转换成List。Convert given array to a list.
toList(Object, Class<T>) - Static method in class org.codelogger.utils.ArrayUtils
将给定的基本数据数组转换为给定的封装类型的数组。Convert primitive array to given wrapper type list.
toList(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
Convert given collection to a list.
toSet(T[]) - Static method in class org.codelogger.utils.ArrayUtils
将给定数组转换成Set。注意:相同hashCode的元素将只保留一个。Convert given array to a set.
toSet(Object, Class<T>) - Static method in class org.codelogger.utils.ArrayUtils
将给定的基本数据类型的数组转换成给定封装数组类型的Set。注意:相同hashCode的元素将只保留一个。Convert primitive array to given wrapper type set.
toSet(Collection<T>) - Static method in class org.codelogger.utils.CollectionUtils
Convert given collection to a set.
toString() - Method in class org.codelogger.utils.beans.Range
 
toString() - Method in class org.codelogger.utils.beans.StorageComponent
 
toString(Object) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given object.
eg: int[] array = {1,2,3} ==> "[1,2,3]".
eg: "example" ==> "example".
eg: object ==> "java.lang.Object@1314520".
toString(Object[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given array.
eg: int[] array = {1,2,3} ==> "[1,2,3]".
toString(boolean[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given boolean array.
eg: boolean[] array = {true,false,true} ==> "[true,false,true]".
toString(byte[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given byte array.
eg: byte[] array = {'a','b','c'} ==> "[97,98,99]".
toString(char[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given char array.
eg: char[] array = {'a','b','c'} ==> "['a','b','c']".
toString(double[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given double array.
eg: double[] array = {1.1d,2.1d,3.1d} ==> "[1.1,2.1,3.1]".
toString(float[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given float array.
eg: float[] array = {1.1f,2.1f,3.1f} ==> "[1.1,2.1,3.1]".
toString(int[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given int array.
eg: int[] array = {1,2,3} ==> "[1,2,3]".
toString(long[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given long array.
eg: long[] array = {1L,2L,3L} ==> "[1,2,3]".
toString(short[]) - Static method in class org.codelogger.utils.ObjectUtils
Returns display string of given short array.
eg: short[] array = {'a','b','c'} ==> "[97,98,99]".
toString(long, int) - Static method in class org.codelogger.utils.ValueUtils
Returns a string by given value.
Fill "0" in the head of given source if given source value length below given size; string of given source value otherwise.
trimAllWhitespace(String) - Static method in class org.codelogger.utils.StringUtils
Trim all white space in the given string.
If given source string self if it's null or length == 0 or not have white space.
TUESDAY - Static variable in class org.codelogger.utils.DateUtils
 

U

URL - Static variable in class org.codelogger.utils.Base64Util
url encode the result of the normal encoding

V

value - Variable in enum org.codelogger.utils.lang.Period
 
valueOf(String) - Static method in enum org.codelogger.utils.lang.Alphabet
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.codelogger.utils.lang.Period
Returns the enum constant of this type with the specified name.
values() - Method in class org.codelogger.utils.beans.StorageComponent
Returns a Collection view of the values contained in this StorageComponent.
values() - Static method in enum org.codelogger.utils.lang.Alphabet
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.codelogger.utils.lang.Period
Returns an array containing the constants of this enum type, in the order they are declared.
ValueUtils - Class in org.codelogger.utils
A useful tools to handle numbers.
VerifyUtils - Class in org.codelogger.utils
 
VerifyUtils() - Constructor for class org.codelogger.utils.VerifyUtils
 

W

WEDNESDAY - Static variable in class org.codelogger.utils.DateUtils
 
WEEK - Static variable in class org.codelogger.utils.lang.DatePeriod
milliseconds of one week.
write(int) - Method in class org.codelogger.utils.Base64Util.OutputStream
Writes the byte to the output stream after converting to/from org.codelogger.utils.Base64Util notation.
write(byte[], int, int) - Method in class org.codelogger.utils.Base64Util.OutputStream
Calls Base64Util.OutputStream.write(int) repeatedly until len bytes are written.
write(InputStream, File) - Static method in class org.codelogger.utils.FileUtils
Write source input stream bytes into destination file.
write(InputStream, String) - Static method in class org.codelogger.utils.FileUtils
Write source input stream bytes into a file which file path is destinationPath.
write(File, OutputStream) - Static method in class org.codelogger.utils.FileUtils
Write source file bytes into destination output stream.
write(File, File) - Static method in class org.codelogger.utils.FileUtils
Write source file bytes into a file which file path is destinationPath.
write(File, String) - Static method in class org.codelogger.utils.FileUtils
Write source file bytes into a file which file path is destinationPath.
write(Object, String) - Static method in class org.codelogger.utils.FileUtils
Write source input stream into a file which file path is destinationPath(The source input stream must have a method called read and return bytes).
write(byte[], File) - Static method in class org.codelogger.utils.FileUtils
Write source bytes into destination file.
write(byte[], String) - Static method in class org.codelogger.utils.FileUtils
Write source bytes into a file which file path is destination.
write(InputStream, OutputStream) - Static method in class org.codelogger.utils.IOUtils
Write source input stream bytes into destination output stream.
write(byte[], OutputStream) - Static method in class org.codelogger.utils.IOUtils
Write source bytes into destination output stream.

X

XMLUtils - Class in org.codelogger.utils
 
XMLUtils() - Constructor for class org.codelogger.utils.XMLUtils
 
A B C D E F G H I J K L M N O P R S T U V W X 

Copyright © 2014. All rights reserved.