- 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
-
- 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
-
- 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
-
- 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.
- 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.
- 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.
- 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
-