diff --git a/CASA-auth-token/server-java/Svc/external/Makefile.am b/CASA-auth-token/server-java/Svc/external/Makefile.am index 3d11153b..a451d7cb 100644 --- a/CASA-auth-token/server-java/Svc/external/Makefile.am +++ b/CASA-auth-token/server-java/Svc/external/Makefile.am @@ -22,7 +22,7 @@ SUBDIRS = -DIST_SUBDIRS = xmlsec log4j jakarta-commons-lang +DIST_SUBDIRS = xmlsec log4j CFILES = diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/Makefile.am b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/Makefile.am deleted file mode 100644 index 680c7c7d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# Author: Juan Carlos Luciani -# -####################################################################### - -SUBDIRS = - -DIST_SUBDIRS = commons-lang-2.3 - -CFILES = - -EXTRA_DIST = README - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/README b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/README deleted file mode 100644 index 39dabe6b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/README +++ /dev/null @@ -1,8 +0,0 @@ -The files in this folder were downloaded from: http://jakarta.apache.org/site/downloads/downloads_commons-lang.cgi - -Only the files necessary to satisfy the dependencies of this project were extracted from the -downloaded files. - -The downloaded files are included in the project to improve maintenability. Use of these files -for any other purpose is discouraged, instead they should be obtained from apache.org. - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3-src.zip b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3-src.zip deleted file mode 100644 index e9fde786..00000000 Binary files a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3-src.zip and /dev/null differ diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3-src.zip.asc.txt b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3-src.zip.asc.txt deleted file mode 100644 index 8be7e879..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3-src.zip.asc.txt +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (Darwin) - -iD8DBQBFzU1sEkG8hyxeTsARArCkAJ45enqdPs/RDs4BF83Nd/3YgyvZ8ACfdTIg -CMId9Ko485Q2n9sET7Yc+bA= -=u2pL ------END PGP SIGNATURE----- - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3.zip b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3.zip deleted file mode 100644 index 3565758f..00000000 Binary files a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3.zip and /dev/null differ diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3.zip.asc b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3.zip.asc deleted file mode 100644 index 72d91111..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3.zip.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (Darwin) - -iD8DBQBFzU1sEkG8hyxeTsARAnbZAJ0eAOC7gyzTuJC1R/mLKH6ASh/3KgCgn0vb -uDkML+UWYOX+lbJ4Sf00EIs= -=zBIu ------END PGP SIGNATURE----- \ No newline at end of file diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/LICENSE.txt b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/LICENSE.txt deleted file mode 100644 index 75b52484..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/Makefile.am b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/Makefile.am deleted file mode 100644 index fc5bfa80..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# Author: Juan Carlos Luciani -# -####################################################################### - -SUBDIRS = - -DIST_SUBDIRS = - -CFILES = - -EXTRA_DIST = LICENSE.txt NOTICE.txt commons-lang-2.3.jar - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/NOTICE.txt b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/NOTICE.txt deleted file mode 100644 index 0d8b5c39..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/NOTICE.txt +++ /dev/null @@ -1,5 +0,0 @@ -Apache Jakarta Commons Lang -Copyright 2001-2007 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/RELEASE-NOTES.txt b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/RELEASE-NOTES.txt deleted file mode 100644 index ea30c61d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/RELEASE-NOTES.txt +++ /dev/null @@ -1,90 +0,0 @@ -$Id: RELEASE-NOTES.txt 504353 2007-02-06 22:52:29Z bayard $ - - Commons Lang Package - Version 2.3 - Release Notes - - -INTRODUCTION: - -This document contains the release notes for the 2.3 version of Apache -Jakarta Commons Lang. -Commons Lang is a set of utility functions and reusable components that -should be of use in any Java environment. - -INCOMPATIBLE CHANGES WITH VERSION 2.2: - -- Calling stop on a suspended StopWatch will no longer change the underlying time. - It's very unlikely anyone was relying on that bug as a feature. - -ADDITIONAL INCOMPATIBLE CHANGES WITH VERSION 2.0: - -- The Nestable interface defines the method indexOfThrowable(Class). -Previously the implementations checked only for a specific Class. -Now they check for subclasses of that Class as well. -For most situations this will be the expected behaviour (ie. its a bug fix). -If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead. -Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed. -(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate. -However, we don't recommend that as a long-term solution.) - -- The StopWatch class has had much extra validation added. -If your code previously relied on unusual aspects, it may no longer work. - -- Starting with version 2.1, Ant version 1.6.x is required to build. Copy -junit.jar to ANT_HOME/lib. You can get JUnit from http://www.junit.org. See the developer's guide -for more details. - -DEPRECATIONS FROM 2.2 to 2.3: - -- None - -DEPRECATIONS FROM 2.1 to 2.2: - -- None - -DEPRECATIONS FROM 2.0 to 2.1: - -- The enum package has been renamed to enums for JDK1.5 compilance. -All functionality is identical, just the package has changed. -This package will be removed in v3.0. - -- NumberUtils.stringToInt - renamed to toInt - -- DateUtils - four constants, MILLIS_IN_* have been deprecated as they were defined -as int not long. The replacements are MILLIS_PER_*. - - -BUG FIXES IN 2.3: - - * [LANG-69 ] - ToStringBuilder throws StackOverflowError when an Object cycle exists - * [LANG-102] - Refactor Entities methods - * [LANG-153] - Can't XMLDecode an Enum - * [LANG-262] - Use of enum prevents a classloader from being garbage collected resuling in out of memory exceptions. - * [LANG-279] - HashCodeBuilder throws java.lang.StackOverflowError when an object contains a cycle. - * [LANG-281] - DurationFormatUtils returns wrong result - * [LANG-286] - Serialization - not backwards compatible - * [LANG-292] - unescapeXml("&12345678;") should be "&12345678;" - * [LANG-294] - StrBuilder.replaceAll and StrBuilder.deleteAll can throw ArrayIndexOutOfBoundsException. - * [LANG-295] - StrBuilder contains usages of thisBuf.length when they should use size - * [LANG-299] - Bug in method appendFixedWidthPadRight of class StrBuilder causes an ArrayIndexOutOfBoundsException - * [LANG-300] - NumberUtils.createNumber throws NumberFormatException for one digit long - * [LANG-303] - FastDateFormat.mRules is not transient or serializable - * [LANG-304] - NullPointerException in isAvailableLocale(Locale) - * [LANG-313] - Wrong behavior of Entities.unescape - * [LANG-315] - StopWatch: suspend() acts as split(), if followed by stop() - -IMPROVEMENTS IN 2.3: - - * [LANG-258] - Enum JavaDoc - * [LANG-266] - Wish for StringUtils.join(Collection, *) - * [LANG-268] - StringUtils.join should allow you to pass a range for it (so it only joins a part of the array) - * [LANG-275] - StringUtils substringsBetween - * [LANG-282] - Create more tests to test out the +=31 replacement code in DurationFormatUtils. - * [LANG-287] - Optimize StringEscapeUtils.unescapeXml(String) - * [LANG-289] - NumberUtils.max(byte[]) and NumberUtils.min(byte[]) are missing - * [LANG-291] - Null-safe comparison methods for finding most recent / least recent dates. - * [LANG-306] - StrBuilder appendln/appendAll/appendSeparator - * [LANG-310] - BooleanUtils isNotTrue/isNotFalse - * [LANG-314] - Tests fail to pass when building with Maven 2 - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3-javadoc.jar b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3-javadoc.jar deleted file mode 100644 index 50fb8dce..00000000 Binary files a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3-javadoc.jar and /dev/null differ diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3-sources.jar b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3-sources.jar deleted file mode 100644 index ffaab20e..00000000 Binary files a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3-sources.jar and /dev/null differ diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3.jar b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3.jar deleted file mode 100644 index c33b3537..00000000 Binary files a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/commons-lang-2.3.jar and /dev/null differ diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/allclasses-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/allclasses-frame.html deleted file mode 100644 index 7a80c266..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/allclasses-frame.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -All Classes - - - - - -All Classes -
- - - - - -
ArrayUtils -
-BitField -
-BooleanUtils -
-CharEncoding -
-CharRange -
-CharSet -
-CharSetUtils -
-CharUtils -
-ClassUtils -
-CompareToBuilder -
-CompositeFormat -
-DateFormatUtils -
-DateUtils -
-DoubleRange -
-DurationFormatUtils -
-Enum -
-Enum -
-EnumUtils -
-EnumUtils -
-EqualsBuilder -
-ExceptionUtils -
-FastDateFormat -
-FloatRange -
-Fraction -
-HashCodeBuilder -
-IllegalClassException -
-IncompleteArgumentException -
-IntRange -
-JVMRandom -
-LocaleUtils -
-LongRange -
-Mutable -
-MutableBoolean -
-MutableByte -
-MutableDouble -
-MutableFloat -
-MutableInt -
-MutableLong -
-MutableObject -
-MutableShort -
-Nestable -
-NestableDelegate -
-NestableError -
-NestableException -
-NestableRuntimeException -
-NotImplementedException -
-NullArgumentException -
-NumberRange -
-NumberRange -
-NumberUtils -
-NumberUtils -
-ObjectUtils -
-ObjectUtils.Null -
-RandomStringUtils -
-RandomUtils -
-Range -
-ReflectionToStringBuilder -
-SerializationException -
-SerializationUtils -
-StandardToStringStyle -
-StopWatch -
-StrBuilder -
-StringEscapeUtils -
-StringUtils -
-StrLookup -
-StrMatcher -
-StrSubstitutor -
-StrTokenizer -
-SystemUtils -
-ToStringBuilder -
-ToStringStyle -
-UnhandledException -
-Validate -
-ValuedEnum -
-ValuedEnum -
-WordUtils -
-
- - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/deprecated-list.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/deprecated-list.html deleted file mode 100644 index 0855688c..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/deprecated-list.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Deprecated List - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Deprecated API

-
- - - - - - - - - - - - - - - - - - - - -
-Deprecated Classes
org.apache.commons.lang.enum.Enum -
-          Replaced by org.apache.commons.lang.enums.Enum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword. 
org.apache.commons.lang.enum.EnumUtils -
-          Replaced by org.apache.commons.lang.enums.EnumUtils - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword. 
org.apache.commons.lang.NumberRange -
-          Use one of the Range classes in org.apache.commons.lang.math. - Class will be removed in Commons Lang 3.0. 
org.apache.commons.lang.NumberUtils -
-          Moved to org.apache.commons.lang.math. - Class will be removed in Commons Lang 3.0. 
org.apache.commons.lang.enum.ValuedEnum -
-          Replaced by org.apache.commons.lang.enums.ValuedEnum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword. 
-  -

- - - - - - - - - - - - - - - - - -
-Deprecated Fields
org.apache.commons.lang.time.DateUtils.MILLIS_IN_DAY -
-          Use MILLIS_PER_DAY. This will be removed in Commons Lang 3.0. 
org.apache.commons.lang.time.DateUtils.MILLIS_IN_HOUR -
-          Use MILLIS_PER_HOUR. This will be removed in Commons Lang 3.0. 
org.apache.commons.lang.time.DateUtils.MILLIS_IN_MINUTE -
-          Use MILLIS_PER_MINUTE. This will be removed in Commons Lang 3.0. 
org.apache.commons.lang.time.DateUtils.MILLIS_IN_SECOND -
-          Use MILLIS_PER_SECOND. This will be removed in Commons Lang 3.0. 
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Deprecated Methods
org.apache.commons.lang.StringUtils.capitalise(String) -
-          Use the standardly named StringUtils.capitalize(String). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.capitaliseAllWords(String) -
-          Use the relocated WordUtils.capitalize(String). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.chompLast(String) -
-          Use StringUtils.chomp(String) instead. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.chompLast(String, String) -
-          Use StringUtils.chomp(String,String) instead. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.chopNewline(String) -
-          Use StringUtils.chomp(String) instead. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.clean(String) -
-          Use the clearer named StringUtils.trimToEmpty(String). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.concatenate(Object[]) -
-          Use the better named StringUtils.join(Object[]) instead. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.deleteSpaces(String) -
-          Use the better localized StringUtils.deleteWhitespace(String). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.escape(String) -
-          Use StringEscapeUtils.escapeJava(String) - This method will be removed in Commons Lang 3.0 
org.apache.commons.lang.CharSetUtils.evaluateSet(String[]) -
-          Use CharSet.getInstance(String). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.getChomp(String, String) -
-          Use StringUtils.substringAfterLast(String, String) instead - (although this doesn't include the separator) - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.SystemUtils.getJavaVersion() -
-          Use SystemUtils.JAVA_VERSION_FLOAT instead. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.getNestedString(String, String) -
-          Use the better named StringUtils.substringBetween(String, String). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.getNestedString(String, String, String) -
-          Use the better named StringUtils.substringBetween(String, String, String). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.getPrechomp(String, String) -
-          Use StringUtils.substringBefore(String,String) instead - (although this doesn't include the separator). - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.builder.ToStringStyle.isShortClassName() -
-          Use ToStringStyle.isUseShortClassName() - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.builder.StandardToStringStyle.isShortClassName() -
-          Use StandardToStringStyle.isUseShortClassName() - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.overlayString(String, String, int, int) -
-          Use better named StringUtils.overlay(String, String, int, int) instead. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.prechomp(String, String) -
-          Use StringUtils.substringAfter(String,String) instead. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.StringUtils.reverseDelimitedString(String, String) -
-          Use StringUtils.reverseDelimited(String, char) instead. - This method is broken as the join doesn't know which char to use. - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.builder.ToStringStyle.setShortClassName(boolean) -
-          Use ToStringStyle.setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.builder.StandardToStringStyle.setShortClassName(boolean) -
-          Use StandardToStringStyle.setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0. 
org.apache.commons.lang.math.NumberUtils.stringToInt(String) -
-          Use NumberUtils.toInt(String) - This method will be removed in Commons Lang 3.0 
org.apache.commons.lang.math.NumberUtils.stringToInt(String, int) -
-          Use NumberUtils.toInt(String, int) - This method will be removed in Commons Lang 3.0 
org.apache.commons.lang.builder.ReflectionToStringBuilder.toString(Object, ToStringStyle, boolean, Class) -
-          Use ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean,boolean,Class) 
org.apache.commons.lang.CharSetUtils.translate(String, String, String) -
-          Use StringUtils.replaceChars(String, String, String). - Method will be removed in Commons Lang 3.0. - NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer - than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement - string whereas StringUtils#replaceChars will delete 
org.apache.commons.lang.StringUtils.uncapitalise(String) -
-          Use the standardly named StringUtils.uncapitalize(String). - Method will be removed in Commons Lang 3.0. 
-  -

- - - - - - - - -
-Deprecated Constructors
org.apache.commons.lang.builder.ReflectionToStringBuilder(Object, ToStringStyle, StringBuffer, Class, boolean) -
-          Use ReflectionToStringBuilder.ReflectionToStringBuilder(Object,ToStringStyle,StringBuffer,Class,boolean,boolean). 
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/help-doc.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/help-doc.html deleted file mode 100644 index a0c8a79e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/help-doc.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): API Help - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Exceptions
  • Errors
-
-

-Class/Interface

-
- -

-Each class, interface, inner class and inner interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Inner Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-

-Use

-
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/index-all.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/index-all.html deleted file mode 100644 index c1010014..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/index-all.html +++ /dev/null @@ -1,6924 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Index - - - - - - - - - - - - - - - - - -
- -
- - -A B C D E F G H I J K L M N O P Q R S T U V W X Z
-

-A

-
-
abbreviate(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Abbreviates a String using ellipses. -
abbreviate(String, int, int) - -Static method in class org.apache.commons.lang.StringUtils -
Abbreviates a String using ellipses. -
abs() - -Method in class org.apache.commons.lang.math.Fraction -
Gets a fraction that is the positive equivalent of this one. -
accept(Field) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Returns whether or not to append the given Field. -
add(boolean[], boolean) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(boolean[], int, boolean) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(byte) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Adds a value. -
add(byte[], byte) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(byte[], int, byte) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(char[], char) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(char[], int, char) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(Date, int, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds to a date returning a new object. -
add(double) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Adds a value. -
add(double[], double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(double[], int, double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(float) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Adds a value. -
add(float[], float) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(float[], int, float) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(Fraction) - -Method in class org.apache.commons.lang.math.Fraction -
Adds the value of this fraction to another, returning the result in reduced form. -
add(int) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Adds a value. -
add(int[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(int[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(long) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Adds a value. -
add(long[], int, long) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(long[], long) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(Number) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Adds a value. -
add(Number) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Adds a value. -
add(Number) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Adds a value. -
add(Number) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Adds a value. -
add(Number) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Adds a value. -
add(Number) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Adds a value. -
add(Object) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Unsupported ListIterator operation. -
add(Object[], int, Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(Object[], Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(short) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Adds a value. -
add(short[], int, short) - -Static method in class org.apache.commons.lang.ArrayUtils -
Inserts the specified element at the specified position in the array. -
add(short[], short) - -Static method in class org.apache.commons.lang.ArrayUtils -
Copies the given array and adds the given element at the end of the new array. -
add(String) - -Method in class org.apache.commons.lang.CharSet -
Add a set definition string to the CharSet. -
addAll(boolean[], boolean[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(byte[], byte[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(char[], char[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(double[], double[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(float[], float[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(int[], int[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(long[], long[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(Object[], Object[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addAll(short[], short[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Adds all the elements of the given arrays into a new array. -
addCauseMethodName(String) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Adds to the list of method names used in the search for Throwable - objects. -
addDays(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of days to a date returning a new object. -
addHours(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of hours to a date returning a new object. -
addMilliseconds(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of milliseconds to a date returning a new object. -
addMinutes(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of minutes to a date returning a new object. -
addMonths(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of months to a date returning a new object. -
addSeconds(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of seconds to a date returning a new object. -
addWeeks(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of weeks to a date returning a new object. -
addYears(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Adds a number of years to a date returning a new object. -
allElementsOfType(Collection, Class) - -Static method in class org.apache.commons.lang.Validate -
- Validate an argument, throwing IllegalArgumentException if the argument collection is - null or has elements that are not of type clazz or a subclass. -
allElementsOfType(Collection, Class, String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument collection is null or has elements that - are not of type clazz or a subclass. -
append(boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a boolean - value. -
append(boolean) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a boolean. -
append(boolean) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a boolean value to the string builder. -
append(boolean[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a boolean - array. -
append(boolean[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a boolean array. -
append(boolean[], boolean[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of boolean. -
append(boolean[], boolean[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two boolean arrays. -
append(boolean, boolean) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two booleanss are equal. -
append(boolean, boolean) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two booleanss. -
append(byte) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a byte - value. -
append(byte) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a byte. -
append(byte[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a byte - array. -
append(byte[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a byte array. -
append(byte[], byte[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of byte. -
append(byte[], byte[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two byte arrays. -
append(byte, byte) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two bytes are equal. -
append(byte, byte) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two bytes. -
append(char) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a char - value. -
append(char) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a char. -
append(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a char value to the string builder. -
append(char[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a char - array. -
append(char[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a char array. -
append(char[]) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a char array to the string builder. -
append(char[], char[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of char. -
append(char[], char[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two char arrays. -
append(char[], int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a char array to the string builder. -
append(char, char) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two chars are equal. -
append(char, char) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two chars. -
append(double) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a double - value. -
append(double) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a double. -
append(double) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a double value to the string builder using String.valueOf. -
append(double[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a double - array. -
append(double[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a double array. -
append(double[], double[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of double. -
append(double[], double[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two double arrays. -
append(double, double) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two doubles are equal by testing that the - pattern of bits returned by doubleToLong are equal. -
append(double, double) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two doubles. -
append(float) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a float - value. -
append(float) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a float. -
append(float) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a float value to the string builder using String.valueOf. -
append(float[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a float - array. -
append(float[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a float array. -
append(float[], float[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of float. -
append(float[], float[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two float arrays. -
append(float, float) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two floats are equal byt testing that the - pattern of bits returned by doubleToLong are equal. -
append(float, float) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two floats. -
append(int) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an int - value. -
append(int) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for an int. -
append(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an int value to the string builder using String.valueOf. -
append(int[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an int - array. -
append(int[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for an int array. -
append(int[], int[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of int. -
append(int[], int[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two int arrays. -
append(int, int) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two ints are equal. -
append(int, int) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two ints. -
append(long) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a long - value. -
append(long) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a long. -
append(long) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a long value to the string builder using String.valueOf. -
append(long[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a long - array. -
append(long[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a long array. -
append(long[], long[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of long. -
append(long[], long[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two long arrays. -
append(long, long) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
- Test if two long s are equal. -
append(long, long) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two longs. -
append(Object) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an Object - value. -
append(Object) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for an Object. -
append(Object) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an object to this string builder. -
append(Object[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an Object - array. -
append(Object[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for an Object array. -
append(Object[], Object[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Performs a deep comparison of two Object arrays. -
append(Object[], Object[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two Object arrays. -
append(Object[], Object[], Comparator) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two Object arrays. -
append(Object, Object) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two Objects are equal using their - equals method. -
append(Object, Object) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two Objects. -
append(Object, Object, Comparator) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two Objects. -
append(short) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a short - value. -
append(short) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a short. -
append(short[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a short - array. -
append(short[]) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Append a hashCode for a short array. -
append(short[], short[]) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Deep comparison of array of short. -
append(short[], short[]) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the deep comparison of - two short arrays. -
append(short, short) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Test if two shorts are equal. -
append(short, short) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the comparison of - two shorts. -
append(StrBuilder) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends another string builder to this string builder. -
append(StrBuilder, int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends part of a string builder to this string builder. -
append(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a string to this string builder. -
append(String, boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a boolean - value. -
append(String, boolean[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a boolean - array. -
append(String, boolean[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a boolean - array. -
append(StringBuffer) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a string buffer to this string builder. -
append(StringBuffer, int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends part of a string buffer to this string builder. -
append(StringBuffer, String, boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a boolean - value. -
append(StringBuffer, String, boolean[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a boolean - array. -
append(StringBuffer, String, byte) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a byte - value. -
append(StringBuffer, String, byte[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a byte - array. -
append(StringBuffer, String, char) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a char - value. -
append(StringBuffer, String, char[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a char - array. -
append(StringBuffer, String, double) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a double - value. -
append(StringBuffer, String, double[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a double - array. -
append(StringBuffer, String, float) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a float - value. -
append(StringBuffer, String, float[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a float - array. -
append(StringBuffer, String, int) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an int - value. -
append(StringBuffer, String, int[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an int - array. -
append(StringBuffer, String, long) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a long - value. -
append(StringBuffer, String, long[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a long - array. -
append(StringBuffer, String, Object[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an Object - array. -
append(StringBuffer, String, Object, Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an Object - value, printing the full toString of the - Object passed in. -
append(StringBuffer, String, short) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a short - value. -
append(StringBuffer, String, short[], Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a short - array. -
append(String, byte) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an byte - value. -
append(String, byte[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a byte array. -
append(String, byte[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a byte - array. -
append(String, char) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a char - value. -
append(String, char[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a char - array. -
append(String, char[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a char - array. -
append(String, double) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a double - value. -
append(String, double[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a double - array. -
append(String, double[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a double - array. -
append(String, float) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an float - value. -
append(String, float[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a float - array. -
append(String, float[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a float - array. -
append(String, int) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an int - value. -
append(String, int[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an int - array. -
append(String, int[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an int - array. -
append(String, int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends part of a string to this string builder. -
append(String, long) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a long - value. -
append(String, long[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a long - array. -
append(String, long[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a long - array. -
append(String, Object) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an Object - value. -
append(String, Object[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an Object - array. -
append(String, Object[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an Object - array. -
append(String, Object, boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an Object - value. -
append(String, short) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString an short - value. -
append(String, short[]) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a short - array. -
append(String, short[], boolean) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append to the toString a short - array. -
appendAll(Collection) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends each item in a collection to the builder without any separators. -
appendAll(Iterator) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends each item in an iterator to the builder without any separators. -
appendAll(Object[]) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends each item in an array to the builder without any separators. -
appendAsObjectToString(Object) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Appends with the same format as the default Object toString() - method. -
appendClassName(StringBuffer, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the class name. -
appendContentEnd(StringBuffer) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the content end. -
appendContentStart(StringBuffer) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the content start. -
appendCyclicObject(StringBuffer, String, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an Object - value that has been detected to participate in a cycle. -
appendDetail(StringBuffer, String, boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a boolean - value. -
appendDetail(StringBuffer, String, boolean[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of a - boolean array. -
appendDetail(StringBuffer, String, byte) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a byte - value. -
appendDetail(StringBuffer, String, byte[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of a - byte array. -
appendDetail(StringBuffer, String, char) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a char - value. -
appendDetail(StringBuffer, String, char[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of a - char array. -
appendDetail(StringBuffer, String, Collection) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a Collection. -
appendDetail(StringBuffer, String, double) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a double - value. -
appendDetail(StringBuffer, String, double[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of a - double array. -
appendDetail(StringBuffer, String, float) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a float - value. -
appendDetail(StringBuffer, String, float[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of a - float array. -
appendDetail(StringBuffer, String, int) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an int - value. -
appendDetail(StringBuffer, String, int[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of an - int array. -
appendDetail(StringBuffer, String, long) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a long - value. -
appendDetail(StringBuffer, String, long[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of a - long array. -
appendDetail(StringBuffer, String, Map) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a Map. -
appendDetail(StringBuffer, String, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an Object - value, printing the full detail of the Object. -
appendDetail(StringBuffer, String, Object[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of an - Object array. -
appendDetail(StringBuffer, String, short) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a short - value. -
appendDetail(StringBuffer, String, short[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of a - short array. -
appendEnd(StringBuffer, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the end of data indicator. -
appendFieldEnd(StringBuffer, String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the field end. -
appendFieldSeparator(StringBuffer) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the field separator. -
appendFieldsIn(Class) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Appends the fields and values defined by the given object of the given Class. -
appendFieldStart(StringBuffer, String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the field start. -
appendFixedWidthPadLeft(int, int, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an object to the builder padding on the left to a fixed width. -
appendFixedWidthPadLeft(Object, int, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an object to the builder padding on the left to a fixed width. -
appendFixedWidthPadRight(int, int, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an object to the builder padding on the right to a fixed length. -
appendFixedWidthPadRight(Object, int, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an object to the builder padding on the right to a fixed length. -
appendIdentityHashCode(StringBuffer, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append the System#identityHashCode(java.lang.Object). -
appendIdentityToString(StringBuffer, Object) - -Static method in class org.apache.commons.lang.ObjectUtils -
Appends the toString that would be produced by Object - if a class did not override toString itself. -
appendInternal(StringBuffer, String, Object, boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an Object, - correctly interpreting its type. -
appendln(boolean) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a boolean value followed by a new line to the string builder. -
appendln(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a char value followed by a new line to the string builder. -
appendln(char[]) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a char array followed by a new line to the string builder. -
appendln(char[], int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a char array followed by a new line to the string builder. -
appendln(double) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a double value followed by a new line to the string builder using String.valueOf. -
appendln(float) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a float value followed by a new line to the string builder using String.valueOf. -
appendln(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an int value followed by a new line to the string builder using String.valueOf. -
appendln(long) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a long value followed by a new line to the string builder using String.valueOf. -
appendln(Object) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an object followed by a new line to this string builder. -
appendln(StrBuilder) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends another string builder followed by a new line to this string builder. -
appendln(StrBuilder, int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends part of a string builder followed by a new line to this string builder. -
appendln(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a string followed by a new line to this string builder. -
appendln(StringBuffer) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a string buffer followed by a new line to this string builder. -
appendln(StringBuffer, int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends part of a string buffer followed by a new line to this string builder. -
appendln(String, int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends part of a string followed by a new line to this string builder. -
appendNewLine() - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends the new line string to this string builder. -
appendNull() - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends the text representing null to this string builder. -
appendNullText(StringBuffer, String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an indicator for null. -
appendPadding(int, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends the pad character to the builder the specified number of times. -
appendSeparator(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a separator if the builder is currently non-empty. -
appendSeparator(char, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a separator to the builder if the loop index is greater than zero. -
appendSeparator(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a separator if the builder is currently non-empty. -
appendSeparator(String, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a separator to the builder if the loop index is greater than zero. -
appendStart(StringBuffer, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the start of data indicator. -
appendSummary(StringBuffer, String, boolean[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of a - boolean array. -
appendSummary(StringBuffer, String, byte[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of a - byte array. -
appendSummary(StringBuffer, String, char[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of a - char array. -
appendSummary(StringBuffer, String, double[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of a - double array. -
appendSummary(StringBuffer, String, float[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of a - float array. -
appendSummary(StringBuffer, String, int[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of an - int array. -
appendSummary(StringBuffer, String, long[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of a - long array. -
appendSummary(StringBuffer, String, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString an Object - value, printing a summary of the Object. -
appendSummary(StringBuffer, String, Object[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of an - Object array. -
appendSummary(StringBuffer, String, short[]) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a summary of a - short array. -
appendSummarySize(StringBuffer, String, int) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString a size summary. -
appendSuper(boolean) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Adds the result of super.equals() to this builder. -
appendSuper(int) - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Adds the result of super.hashCode() to this builder. -
appendSuper(int) - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Appends to the builder the compareTo(Object) - result of the superclass. -
appendSuper(String) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append the toString from the superclass. -
appendSuper(StringBuffer, String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the superclass toString. -
appendToString(String) - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Append the toString from another object. -
appendToString(StringBuffer, String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString another toString. -
appendWithSeparators(Collection, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends a collection placing separators between each value, but - not before the first or after the last. -
appendWithSeparators(Iterator, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an iterator placing separators between each value, but - not before the first or after the last. -
appendWithSeparators(Object[], String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Appends an array placing separators between each value, but - not before the first or after the last. -
applyRules(Calendar, StringBuffer) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Performs the formatting by applying the rules to the - specified calendar. -
ArrayUtils - class org.apache.commons.lang.ArrayUtils.
Operations on arrays, primitive arrays (like int[]) and - primitive wrapper arrays (like Integer[]).
ArrayUtils() - -Constructor for class org.apache.commons.lang.ArrayUtils -
ArrayUtils instances should NOT be constructed in standard programming. -
ASCII_ALPHA - -Static variable in class org.apache.commons.lang.CharSet -
A CharSet defining ASCII alphabetic characters "a-zA-Z". -
ASCII_ALPHA_LOWER - -Static variable in class org.apache.commons.lang.CharSet -
A CharSet defining ASCII alphabetic characters "a-z". -
ASCII_ALPHA_UPPER - -Static variable in class org.apache.commons.lang.CharSet -
A CharSet defining ASCII alphabetic characters "A-Z". -
ASCII_NUMERIC - -Static variable in class org.apache.commons.lang.CharSet -
A CharSet defining ASCII alphabetic characters "0-9". -
asReader() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets the contents of this builder as a Reader. -
asTokenizer() - -Method in class org.apache.commons.lang.text.StrBuilder -
Creates a tokenizer that can tokenize the contents of this builder. -
asWriter() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets this builder as a Writer that can be written to. -
availableLocaleList() - -Static method in class org.apache.commons.lang.LocaleUtils -
Obtains an unmodifiable list of installed locales. -
availableLocaleSet() - -Static method in class org.apache.commons.lang.LocaleUtils -
Obtains an unmodifiable set of installed locales. -
AWT_TOOLKIT - -Static variable in class org.apache.commons.lang.SystemUtils -
The awt.toolkit System Property. -
-
-

-B

-
-
BitField - class org.apache.commons.lang.BitField.
Operations on bit-mapped fields.
BitField(int) - -Constructor for class org.apache.commons.lang.BitField -
Creates a BitField instance. -
BooleanUtils - class org.apache.commons.lang.BooleanUtils.
Operations on boolean primitives and Boolean objects.
BooleanUtils() - -Constructor for class org.apache.commons.lang.BooleanUtils -
BooleanUtils instances should NOT be constructed in standard programming. -
booleanValue() - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Returns the value of this MutableBoolean as a boolean. -
buffer - -Variable in class org.apache.commons.lang.text.StrBuilder -
Internal data storage. -
BYTE_MINUS_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Byte constant for minus one. -
BYTE_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Byte constant for one. -
BYTE_ZERO - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Byte constant for zero. -
byteValue() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Returns the value of this MutableByte as a byte. -
-
-

-C

-
-
capacity() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets the current size of the internal character array buffer. -
capitalise(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the standardly named StringUtils.capitalize(String). - Method will be removed in Commons Lang 3.0. -
capitaliseAllWords(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the relocated WordUtils.capitalize(String). - Method will be removed in Commons Lang 3.0. -
capitalize(String) - -Static method in class org.apache.commons.lang.StringUtils -
Capitalizes a String changing the first letter to title case as - per Character.toTitleCase(char). -
capitalize(String) - -Static method in class org.apache.commons.lang.WordUtils -
Capitalizes all the whitespace separated words in a String. -
capitalize(String, char[]) - -Static method in class org.apache.commons.lang.WordUtils -
Capitalizes all the delimiter separated words in a String. -
capitalizeFully(String) - -Static method in class org.apache.commons.lang.WordUtils -
Converts all the whitespace separated words in a String into capitalized words, - that is each word is made up of a titlecase character and then a series of - lowercase characters. -
capitalizeFully(String, char[]) - -Static method in class org.apache.commons.lang.WordUtils -
Converts all the delimiter separated words in a String into capitalized words, - that is each word is made up of a titlecase character and then a series of - lowercase characters. -
center(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Centers a String in a larger String of size size - using the space character (' '). -
center(String, int, char) - -Static method in class org.apache.commons.lang.StringUtils -
Centers a String in a larger String of size size. -
center(String, int, String) - -Static method in class org.apache.commons.lang.StringUtils -
Centers a String in a larger String of size size. -
charAt(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets the character at the specified index. -
CharEncoding - class org.apache.commons.lang.CharEncoding.
- Character encoding names required of every implementation of the Java platform.
CharEncoding() - -Constructor for class org.apache.commons.lang.CharEncoding -
  -
charMatcher(char) - -Static method in class org.apache.commons.lang.text.StrMatcher -
Constructor that creates a matcher from a character. -
CharRange - class org.apache.commons.lang.CharRange.
A contiguous range of characters, optionally negated.
CharRange(char) - -Constructor for class org.apache.commons.lang.CharRange -
Constructs a CharRange over a single character. -
CharRange(char, boolean) - -Constructor for class org.apache.commons.lang.CharRange -
Constructs a CharRange over a single character, - optionally negating the range. -
CharRange(char, char) - -Constructor for class org.apache.commons.lang.CharRange -
Constructs a CharRange over a set of characters. -
CharRange(char, char, boolean) - -Constructor for class org.apache.commons.lang.CharRange -
Constructs a CharRange over a set of characters, - optionally negating the range. -
CharSet - class org.apache.commons.lang.CharSet.
A set of characters.
CharSet(String) - -Constructor for class org.apache.commons.lang.CharSet -
Constructs a new CharSet using the set syntax. -
CharSet(String[]) - -Constructor for class org.apache.commons.lang.CharSet -
Constructs a new CharSet using the set syntax. -
charSetMatcher(char[]) - -Static method in class org.apache.commons.lang.text.StrMatcher -
Constructor that creates a matcher from a set of characters. -
charSetMatcher(String) - -Static method in class org.apache.commons.lang.text.StrMatcher -
Constructor that creates a matcher from a string representing a set of characters. -
CharSetUtils - class org.apache.commons.lang.CharSetUtils.
Operations on CharSets.
CharSetUtils() - -Constructor for class org.apache.commons.lang.CharSetUtils -
CharSetUtils instances should NOT be constructed in standard programming. -
CharUtils - class org.apache.commons.lang.CharUtils.
Operations on char primitives and Character objects.
CharUtils() - -Constructor for class org.apache.commons.lang.CharUtils -
CharUtils instances should NOT be constructed in standard programming. -
chomp(String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes one newline from end of a String if it's there, - otherwise leave it alone. -
chomp(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes separator from the end of - str if it's there, otherwise leave it alone. -
chompLast(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringUtils.chomp(String) instead. - Method will be removed in Commons Lang 3.0. -
chompLast(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringUtils.chomp(String,String) instead. - Method will be removed in Commons Lang 3.0. -
chop(String) - -Static method in class org.apache.commons.lang.StringUtils -
Remove the last character from a String. -
chopNewline(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringUtils.chomp(String) instead. - Method will be removed in Commons Lang 3.0. -
ClassUtils - class org.apache.commons.lang.ClassUtils.
Operates on classes without using reflection.
ClassUtils() - -Constructor for class org.apache.commons.lang.ClassUtils -
ClassUtils instances should NOT be constructed in standard programming. -
clean(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the clearer named StringUtils.trimToEmpty(String). - Method will be removed in Commons Lang 3.0. -
clear() - -Method in class org.apache.commons.lang.text.StrBuilder -
Clears the string builder (convenience Collections API style method). -
clear(int) - -Method in class org.apache.commons.lang.BitField -
Clears the bits. -
clearByte(byte) - -Method in class org.apache.commons.lang.BitField -
Clears the bits. -
clearShort(short) - -Method in class org.apache.commons.lang.BitField -
Clears the bits. -
clone() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Creates a new instance of this Tokenizer. -
clone(boolean[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
clone(byte[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
clone(char[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
clone(double[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
clone(float[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
clone(int[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
clone(long[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
clone(Object[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Shallow clones an array returning a typecast result and handling - null. -
clone(Serializable) - -Static method in class org.apache.commons.lang.SerializationUtils -
Deep clone an Object using serialization. -
clone(short[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Clones an array returning a typecast result and handling - null. -
commaMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Returns a matcher which matches the comma character. -
COMMON - -Static variable in class org.apache.commons.lang.CharSet -
A Map of the common cases used in the factory. -
compare(double, double) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Compares two doubles for order. -
compare(double, double) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Compares two doubles for order. -
compare(float, float) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Compares two floats for order. -
compare(float, float) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Compares two floats for order. -
compareTo(Object) - -Method in class org.apache.commons.lang.enum.Enum -
Deprecated. Tests for order. -
compareTo(Object) - -Method in class org.apache.commons.lang.enum.ValuedEnum -
Deprecated. Tests for order. -
compareTo(Object) - -Method in class org.apache.commons.lang.enums.Enum -
Tests for order. -
compareTo(Object) - -Method in class org.apache.commons.lang.enums.ValuedEnum -
Tests for order. -
compareTo(Object) - -Method in class org.apache.commons.lang.math.Fraction -
Compares this object to another based on size. -
compareTo(Object) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Compares this mutable to another in ascending order. -
compareTo(Object) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Compares this mutable to another in ascending order. -
compareTo(Object) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Compares this mutable to another in ascending order. -
compareTo(Object) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Compares this mutable to another in ascending order. -
compareTo(Object) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Compares this mutable to another in ascending order. -
compareTo(Object) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Compares this mutable to another in ascending order. -
compareTo(Object) - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Compares this mutable to another in ascending order. -
CompareToBuilder - class org.apache.commons.lang.builder.CompareToBuilder.
Assists in implementing Comparable.compareTo(Object) methods.
CompareToBuilder() - -Constructor for class org.apache.commons.lang.builder.CompareToBuilder -
Constructor for CompareToBuilder. -
CompositeFormat - class org.apache.commons.lang.text.CompositeFormat.
Formats using one formatter and parses using a different formatter.
CompositeFormat(Format, Format) - -Constructor for class org.apache.commons.lang.text.CompositeFormat -
Create a format that points its parseObject method to one implementation - and its format method to another. -
concatenate(Object[]) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the better named StringUtils.join(Object[]) instead. - Method will be removed in Commons Lang 3.0. -
contains(boolean[], boolean) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(byte[], byte) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(char) - -Method in class org.apache.commons.lang.CharSet -
Does the CharSet contain the specified - character ch. -
contains(char) - -Method in class org.apache.commons.lang.CharRange -
Is the character specified contained in this range. -
contains(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks if the string builder contains the specified char. -
contains(char[], char) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(CharRange) - -Method in class org.apache.commons.lang.CharRange -
Are all the characters of the passed in range contained in - this range. -
contains(double[], double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(double[], double, double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if a value falling within the given tolerance is in the - given array. -
contains(float[], float) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(int[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(long[], long) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(Object[], Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the object is in the given array. -
contains(short[], short) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if the value is in the given array. -
contains(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks if the string builder contains the specified string. -
contains(String, char) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if String contains a search character, handling null. -
contains(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if String contains a search String, handling null. -
contains(StrMatcher) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks if the string builder contains a string matched using the - specified matcher. -
containsDouble(double) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified double occurs within - this range using double comparison. -
containsDouble(double) - -Method in class org.apache.commons.lang.math.DoubleRange -
Tests whether the specified double occurs within - this range using double comparison. -
containsDouble(Number) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified Number occurs within - this range using double comparison.. -
containsFloat(float) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified float occurs within - this range using float comparison. -
containsFloat(float) - -Method in class org.apache.commons.lang.math.FloatRange -
Tests whether the specified float occurs within - this range using float comparison. -
containsFloat(Number) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified Number occurs within - this range using float comparison. -
containsIgnoreCase(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if String contains a search String irrespective of case, - handling null. -
containsInteger(int) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified int occurs within - this range using int comparison. -
containsInteger(int) - -Method in class org.apache.commons.lang.math.IntRange -
Tests whether the specified int occurs within - this range using int comparison. -
containsInteger(Number) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified Number occurs within - this range using int comparison.. -
containsLong(long) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified long occurs within - this range using long comparison. -
containsLong(long) - -Method in class org.apache.commons.lang.math.LongRange -
Tests whether the specified long occurs within - this range using long comparison. -
containsLong(Number) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified Number occurs within - this range using long comparison.. -
containsNone(String, char[]) - -Static method in class org.apache.commons.lang.StringUtils -
Checks that the String does not contain certain characters. -
containsNone(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks that the String does not contain certain characters. -
containsNumber(Number) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified Number occurs within - this range. -
containsNumber(Number) - -Method in class org.apache.commons.lang.math.LongRange -
Tests whether the specified number occurs within - this range using long comparison. -
containsNumber(Number) - -Method in class org.apache.commons.lang.math.DoubleRange -
Tests whether the specified number occurs within - this range using double comparison. -
containsNumber(Number) - -Method in class org.apache.commons.lang.math.FloatRange -
Tests whether the specified number occurs within - this range using float comparison. -
containsNumber(Number) - -Method in class org.apache.commons.lang.math.IntRange -
Tests whether the specified number occurs within - this range using int comparison. -
containsNumber(Number) - -Method in class org.apache.commons.lang.math.NumberRange -
Tests whether the specified number occurs within - this range. -
containsOnly(String, char[]) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only certain characters. -
containsOnly(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only certain characters. -
containsRange(Range) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified range occurs entirely within this range. -
containsRange(Range) - -Method in class org.apache.commons.lang.math.LongRange -
Tests whether the specified range occurs entirely within this range - using long comparison. -
containsRange(Range) - -Method in class org.apache.commons.lang.math.DoubleRange -
Tests whether the specified range occurs entirely within this range - using double comparison. -
containsRange(Range) - -Method in class org.apache.commons.lang.math.FloatRange -
Tests whether the specified range occurs entirely within this range - using float comparison. -
containsRange(Range) - -Method in class org.apache.commons.lang.math.IntRange -
Tests whether the specified range occurs entirely within this range - using int comparison. -
convertClassesToClassNames(List) - -Static method in class org.apache.commons.lang.ClassUtils -
Given a List of Class objects, this method converts - them into class names. -
convertClassNamesToClasses(List) - -Static method in class org.apache.commons.lang.ClassUtils -
Given a List of class names, this method converts them into classes. -
count(String, String) - -Static method in class org.apache.commons.lang.CharSetUtils -
Takes an argument in set-syntax, see evaluateSet, - and returns the number of characters present in the specified string. -
count(String, String[]) - -Static method in class org.apache.commons.lang.CharSetUtils -
Takes an argument in set-syntax, see evaluateSet, - and returns the number of characters present in the specified string. -
countMatches(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Counts how many times the substring appears in the larger String. -
countriesByLanguage(String) - -Static method in class org.apache.commons.lang.LocaleUtils -
Obtains the list of countries supported for a given language. -
CR - -Static variable in class org.apache.commons.lang.CharUtils -
-/code> carriage return CR ('\r'). -
createBigDecimal(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to a BigDecimal. -
createBigDecimal(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a BigDecimal. -
createBigInteger(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to a BigInteger. -
createBigInteger(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a BigInteger. -
createDouble(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to a Double. -
createDouble(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a Double. -
createFloat(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to a Float. -
createFloat(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a Float. -
createInteger(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to a Integer, handling - hex and octal notations. -
createInteger(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a Integer, handling - hex and octal notations. -
createLong(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to a Long. -
createLong(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a Long. -
createNumber(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Turns a string value into a java.lang.Number. -
createNumber(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Turns a string value into a java.lang.Number. -
-
-

-D

-
-
DateFormatUtils - class org.apache.commons.lang.time.DateFormatUtils.
Date and time formatting utilities and constants.
DateFormatUtils() - -Constructor for class org.apache.commons.lang.time.DateFormatUtils -
DateFormatUtils instances should NOT be constructed in standard programming. -
DateUtils - class org.apache.commons.lang.time.DateUtils.
A suite of utilities surrounding the use of the - Calendar and Date object.
DateUtils() - -Constructor for class org.apache.commons.lang.time.DateUtils -
DateUtils instances should NOT be constructed in - standard programming. -
decrement() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Decrements the value. -
decrement() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Decrements the value. -
decrement() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Decrements the value. -
decrement() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Decrements the value. -
decrement() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Decrements the value. -
decrement() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Decrements the value. -
DEFAULT_ESCAPE - -Static variable in class org.apache.commons.lang.text.StrSubstitutor -
Constant for the default escape character. -
DEFAULT_PREFIX - -Static variable in class org.apache.commons.lang.text.StrSubstitutor -
Constant for the default variable prefix. -
DEFAULT_STYLE - -Static variable in class org.apache.commons.lang.builder.ToStringStyle -
The default toString style. -
DEFAULT_SUFFIX - -Static variable in class org.apache.commons.lang.text.StrSubstitutor -
Constant for the default variable suffix. -
defaultIfEmpty(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Returns either the passed in String, or if the String is - empty or null, the value of defaultStr. -
defaultIfNull(Object, Object) - -Static method in class org.apache.commons.lang.ObjectUtils -
Returns a default value if the object passed is - null. -
defaultString(String) - -Static method in class org.apache.commons.lang.StringUtils -
Returns either the passed in String, - or if the String is null, an empty String (""). -
defaultString(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Returns either the passed in String, or if the String is - null, the value of defaultStr. -
delegate - -Variable in class org.apache.commons.lang.exception.NestableRuntimeException -
The helper instance which contains much of the code which we - delegate to. -
delegate - -Variable in class org.apache.commons.lang.exception.NestableError -
The helper instance which contains much of the code which we - delegate to. -
delegate - -Variable in class org.apache.commons.lang.exception.NestableException -
The helper instance which contains much of the code which we - delegate to. -
delete(int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes the characters between the two specified indices. -
delete(String, String) - -Static method in class org.apache.commons.lang.CharSetUtils -
Takes an argument in set-syntax, see evaluateSet, - and deletes any of characters present in the specified string. -
delete(String, String[]) - -Static method in class org.apache.commons.lang.CharSetUtils -
Takes an argument in set-syntax, see evaluateSet, - and deletes any of characters present in the specified string. -
deleteAll(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes the character wherever it occurs in the builder. -
deleteAll(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes the string wherever it occurs in the builder. -
deleteAll(StrMatcher) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes all parts of the builder that the matcher matches. -
deleteCharAt(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes the character at the specified index. -
deleteFirst(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes the character wherever it occurs in the builder. -
deleteFirst(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes the string wherever it occurs in the builder. -
deleteFirst(StrMatcher) - -Method in class org.apache.commons.lang.text.StrBuilder -
Deletes the first match within the builder using the specified matcher. -
deleteSpaces(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the better localized StringUtils.deleteWhitespace(String). - Method will be removed in Commons Lang 3.0. -
deleteWhitespace(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deletes all whitespaces from a String as defined by - Character.isWhitespace(char). -
deserialize(byte[]) - -Static method in class org.apache.commons.lang.SerializationUtils -
Deserializes a single Object from an array of bytes. -
deserialize(InputStream) - -Static method in class org.apache.commons.lang.SerializationUtils -
Deserializes an Object from the specified stream. -
difference(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Compares two Strings, and returns the portion where they differ. -
divideBy(Fraction) - -Method in class org.apache.commons.lang.math.Fraction -
Divide the value of this fraction by another. -
DOUBLE_MINUS_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Double constant for minus one. -
DOUBLE_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Double constant for one. -
DOUBLE_ZERO - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Double constant for zero. -
doubleQuoteMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Returns a matcher which matches the double quote character. -
DoubleRange - class org.apache.commons.lang.math.DoubleRange.
DoubleRange represents an inclusive range of doubles.
DoubleRange(double) - -Constructor for class org.apache.commons.lang.math.DoubleRange -
Constructs a new DoubleRange using the specified - number as both the minimum and maximum in this range. -
DoubleRange(double, double) - -Constructor for class org.apache.commons.lang.math.DoubleRange -
Constructs a new DoubleRange with the specified - minimum and maximum numbers (both inclusive). -
DoubleRange(Number) - -Constructor for class org.apache.commons.lang.math.DoubleRange -
Constructs a new DoubleRange using the specified - number as both the minimum and maximum in this range. -
DoubleRange(Number, Number) - -Constructor for class org.apache.commons.lang.math.DoubleRange -
Constructs a new DoubleRange with the specified - minimum and maximum numbers (both inclusive). -
doubleValue() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the fraction as a double. -
doubleValue() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Returns the value of this MutableByte as a double. -
doubleValue() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Returns the value of this MutableShort as a double. -
doubleValue() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Returns the value of this MutableDouble as a double. -
doubleValue() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Returns the value of this MutableInt as a double. -
doubleValue() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Returns the value of this MutableFloat as a double. -
doubleValue() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Returns the value of this MutableLong as a double. -
DurationFormatUtils - class org.apache.commons.lang.time.DurationFormatUtils.
Duration formatting utilities and constants.
DurationFormatUtils() - -Constructor for class org.apache.commons.lang.time.DurationFormatUtils -
DurationFormatUtils instances should NOT be constructed in standard programming. -
-
-

-E

-
-
EMPTY - -Static variable in class org.apache.commons.lang.StringUtils -
The empty String "". -
EMPTY - -Static variable in class org.apache.commons.lang.CharSet -
A CharSet defining no characters. -
EMPTY_BOOLEAN_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable boolean array. -
EMPTY_BOOLEAN_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Boolean array. -
EMPTY_BYTE_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable byte array. -
EMPTY_BYTE_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Byte array. -
EMPTY_CHAR_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable char array. -
EMPTY_CHARACTER_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Character array. -
EMPTY_CLASS_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Class array. -
EMPTY_DOUBLE_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable double array. -
EMPTY_DOUBLE_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Double array. -
EMPTY_FLOAT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable float array. -
EMPTY_FLOAT_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Float array. -
EMPTY_INT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable int array. -
EMPTY_INTEGER_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Integer array. -
EMPTY_LONG_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable long array. -
EMPTY_LONG_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Long array. -
EMPTY_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Object array. -
EMPTY_SHORT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable short array. -
EMPTY_SHORT_OBJECT_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable Short array. -
EMPTY_STRING_ARRAY - -Static variable in class org.apache.commons.lang.ArrayUtils -
An empty immutable String array. -
endsWith(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks whether this builder ends with the specified string. -
ensureCapacity(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks the capacity and ensures that it is at least the size specified. -
Enum - class org.apache.commons.lang.enum.Enum.
Deprecated. Replaced by org.apache.commons.lang.enums.Enum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword.
Enum - class org.apache.commons.lang.enums.Enum.
Abstract superclass for type-safe enums.
Enum(String) - -Constructor for class org.apache.commons.lang.enum.Enum -
Deprecated. Constructor to add a new named item to the enumeration. -
Enum(String) - -Constructor for class org.apache.commons.lang.enums.Enum -
Constructor to add a new named item to the enumeration. -
EnumUtils - class org.apache.commons.lang.enum.EnumUtils.
Deprecated. Replaced by org.apache.commons.lang.enums.EnumUtils - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword.
EnumUtils - class org.apache.commons.lang.enums.EnumUtils.
Utility class for accessing and manipulating Enums.
EnumUtils() - -Constructor for class org.apache.commons.lang.enum.EnumUtils -
Deprecated. Public constructor. -
EnumUtils() - -Constructor for class org.apache.commons.lang.enums.EnumUtils -
Public constructor. -
equals(Object) - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Indicates whether some other Object is - "equal" to this one. -
equals(Object) - -Method in class org.apache.commons.lang.CharSet -
Compares two CharSet objects, returning true if they represent - exactly the same set of characters defined in the same way. -
equals(Object) - -Method in class org.apache.commons.lang.CharRange -
Compares two CharRange objects, returning true if they represent - exactly the same range of characters defined in the same way. -
equals(Object) - -Method in class org.apache.commons.lang.enum.Enum -
Deprecated. Tests for equality. -
equals(Object) - -Method in class org.apache.commons.lang.enums.Enum -
Tests for equality. -
equals(Object) - -Method in class org.apache.commons.lang.math.Range -
Compares this range to another object to test if they are equal. -
equals(Object) - -Method in class org.apache.commons.lang.math.LongRange -
Compares this range to another object to test if they are equal. -
equals(Object) - -Method in class org.apache.commons.lang.math.DoubleRange -
Compares this range to another object to test if they are equal. -
equals(Object) - -Method in class org.apache.commons.lang.math.FloatRange -
Compares this range to another object to test if they are equal. -
equals(Object) - -Method in class org.apache.commons.lang.math.IntRange -
Compares this range to another object to test if they are equal. -
equals(Object) - -Method in class org.apache.commons.lang.math.NumberRange -
Compares this range to another object to test if they are equal. -
equals(Object) - -Method in class org.apache.commons.lang.math.Fraction -
Compares this fraction to another object to test if they are equal. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Compares this object against the specified object. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Compares this object against the specified object. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Compares this object against the specified object. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Compares this object to the specified object. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Compares this object against some other object. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableObject -
Compares this object against the specified object. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Compares this object against the specified object. -
equals(Object) - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Compares this object to the specified object. -
equals(Object) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks the contents of this builder against another to see if they - contain the same character content. -
equals(Object) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Compares two objects for equality. -
equals(Object, Object) - -Static method in class org.apache.commons.lang.ObjectUtils -
Compares two objects for equality, where either one or both - objects may be null. -
equals(StrBuilder) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks the contents of this builder against another to see if they - contain the same character content. -
equals(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Compares two Strings, returning true if they are equal. -
EqualsBuilder - class org.apache.commons.lang.builder.EqualsBuilder.
Assists in implementing Object.equals(Object) methods.
EqualsBuilder() - -Constructor for class org.apache.commons.lang.builder.EqualsBuilder -
Constructor for EqualsBuilder. -
equalsIgnoreCase(StrBuilder) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks the contents of this builder against another to see if they - contain the same character content ignoring case. -
equalsIgnoreCase(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Compares two Strings, returning true if they are equal ignoring - the case. -
escape(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringEscapeUtils.escapeJava(String) - This method will be removed in Commons Lang 3.0 -
escapeHtml(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using HTML entities. -
escapeHtml(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using HTML entities and writes - them to a Writer. -
escapeJava(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using Java String rules. -
escapeJava(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using Java String rules to - a Writer. -
escapeJavaScript(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using JavaScript String rules. -
escapeJavaScript(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using JavaScript String rules - to a Writer. -
escapeSql(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String to be suitable to pass to - an SQL query. -
escapeXml(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using XML entities. -
escapeXml(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Escapes the characters in a String using XML entities. -
evaluateSet(String[]) - -Static method in class org.apache.commons.lang.CharSetUtils -
Deprecated. Use CharSet.getInstance(String). - Method will be removed in Commons Lang 3.0. -
ExceptionUtils - class org.apache.commons.lang.exception.ExceptionUtils.
Provides utilities for manipulating and examining - Throwable objects.
ExceptionUtils() - -Constructor for class org.apache.commons.lang.exception.ExceptionUtils -
- Public constructor allows an instance of ExceptionUtils to be created, although that is not - normally necessary. -
-
-

-F

-
-
FastDateFormat - class org.apache.commons.lang.time.FastDateFormat.
FastDateFormat is a fast and thread-safe version of - SimpleDateFormat.
FastDateFormat(String, TimeZone, Locale) - -Constructor for class org.apache.commons.lang.time.FastDateFormat -
Constructs a new FastDateFormat. -
FILE_ENCODING - -Static variable in class org.apache.commons.lang.SystemUtils -
The file.encoding System Property. -
FILE_SEPARATOR - -Static variable in class org.apache.commons.lang.SystemUtils -
The file.separator System Property. -
FLOAT_MINUS_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Float constant for minus one. -
FLOAT_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Float constant for one. -
FLOAT_ZERO - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Float constant for zero. -
FloatRange - class org.apache.commons.lang.math.FloatRange.
FloatRange represents an inclusive range of floats.
FloatRange(float) - -Constructor for class org.apache.commons.lang.math.FloatRange -
Constructs a new FloatRange using the specified - number as both the minimum and maximum in this range. -
FloatRange(float, float) - -Constructor for class org.apache.commons.lang.math.FloatRange -
Constructs a new FloatRange with the specified - minimum and maximum numbers (both inclusive). -
FloatRange(Number) - -Constructor for class org.apache.commons.lang.math.FloatRange -
Constructs a new FloatRange using the specified - number as both the minimum and maximum in this range. -
FloatRange(Number, Number) - -Constructor for class org.apache.commons.lang.math.FloatRange -
Constructs a new FloatRange with the specified - minimum and maximum numbers (both inclusive). -
floatValue() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the fraction as a float. -
floatValue() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Returns the value of this MutableByte as a float. -
floatValue() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Returns the value of this MutableShort as a float. -
floatValue() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Returns the value of this MutableDouble as a float. -
floatValue() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Returns the value of this MutableInt as a float. -
floatValue() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Returns the value of this MutableFloat as a float. -
floatValue() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Returns the value of this MutableLong as a float. -
format(Calendar) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Formats a Calendar object. -
format(Calendar, StringBuffer) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Formats a Calendar object into the - supplied StringBuffer. -
format(Date) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Formats a Date object. -
format(Date, String) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern. -
format(Date, StringBuffer) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Formats a Date object into the - supplied StringBuffer. -
format(Date, String, Locale) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern in a locale. -
format(Date, String, TimeZone) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern in a time zone. -
format(Date, String, TimeZone, Locale) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern in a time zone and locale. -
format(long) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Formats a millisecond long value. -
format(long, String) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern. -
format(long, StringBuffer) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Formats a milliseond long value into the - supplied StringBuffer. -
format(long, String, Locale) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern in a locale. -
format(long, String, TimeZone) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern in a time zone. -
format(long, String, TimeZone, Locale) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern in a time zone and locale. -
format(Object, StringBuffer, FieldPosition) - -Method in class org.apache.commons.lang.text.CompositeFormat -
Uses the formatter Format instance. -
format(Object, StringBuffer, FieldPosition) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Formats a Date, Calendar or - Long (milliseconds) object. -
formatDuration(long, String) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats the time gap as a string, using the specified format, and padding with zeros and - using the default timezone. -
formatDuration(long, String, boolean) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats the time gap as a string, using the specified format. -
formatDurationHMS(long) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats the time gap as a string. -
formatDurationISO(long) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats the time gap as a string. -
formatDurationWords(long, boolean, boolean) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats an elapsed time into a plurialization correct string. -
formatPeriod(long, long, String) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats the time gap as a string, using the specified format. -
formatPeriod(long, long, String, boolean, TimeZone) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats the time gap as a string, using the specified format. -
formatPeriodISO(long, long) - -Static method in class org.apache.commons.lang.time.DurationFormatUtils -
Formats the time gap as a string. -
formatUTC(Date, String) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern using the UTC time zone. -
formatUTC(Date, String, Locale) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern using the UTC time zone. -
formatUTC(long, String) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern using the UTC time zone. -
formatUTC(long, String, Locale) - -Static method in class org.apache.commons.lang.time.DateFormatUtils -
Formats a date/time into a specific pattern using the UTC time zone. -
FOUR_FIFTHS - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 4/5. -
Fraction - class org.apache.commons.lang.math.Fraction.
Fraction is a Number implementation that - stores fractions accurately.
FULL - -Static variable in class org.apache.commons.lang.time.FastDateFormat -
FULL locale dependent date or time style. -
-
-

-G

-
-
getAllInterfaces(Class) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets a List of all interfaces implemented by the given - class and its superclasses. -
getAllSuperclasses(Class) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets a List of superclasses for the given class. -
getArrayEnd() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the array end text. -
getArrayEnd() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the array end text. -
getArraySeparator() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the array separator text. -
getArraySeparator() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the array separator text. -
getArrayStart() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the array start text. -
getArrayStart() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the array start text. -
getCause() - -Method in class org.apache.commons.lang.NotImplementedException -
Gets the root cause of this exception. -
getCause() - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
getCause() - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
getCause() - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
getCause() - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the reference to the exception or error that caused the - exception implementing the Nestable to be thrown. -
getCause(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Introspects the Throwable to obtain the cause. -
getCause(Throwable, String[]) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Introspects the Throwable to obtain the cause. -
getCharRanges() - -Method in class org.apache.commons.lang.CharSet -
Gets the internal set as an array of CharRange objects. -
getChars(char[]) - -Method in class org.apache.commons.lang.text.StrBuilder -
Copies the character array into the specified array. -
getChars(int, int, char[], int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Copies the character array into the specified array. -
getChomp(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringUtils.substringAfterLast(String, String) instead - (although this doesn't include the separator) - Method will be removed in Commons Lang 3.0. -
getClass(ClassLoader, String) - -Static method in class org.apache.commons.lang.ClassUtils -
Returns the (initialized) class represented by className - using the classLoader. -
getClass(ClassLoader, String, boolean) - -Static method in class org.apache.commons.lang.ClassUtils -
Returns the class represented by className using the - classLoader. -
getClass(String) - -Static method in class org.apache.commons.lang.ClassUtils -
Returns the (initialized )class represented by className - using the current thread's context class loader. -
getClass(String, boolean) - -Static method in class org.apache.commons.lang.ClassUtils -
Returns the class represented by className using the - current thread's context class loader. -
getContent() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the String content that the tokenizer is parsing. -
getContentEnd() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the content end text. -
getContentEnd() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the content end text. -
getContentStart() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the content start text. -
getContentStart() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the content start text. -
getCSVInstance() - -Static method in class org.apache.commons.lang.text.StrTokenizer -
Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input. -
getCSVInstance(char[]) - -Static method in class org.apache.commons.lang.text.StrTokenizer -
Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input. -
getCSVInstance(String) - -Static method in class org.apache.commons.lang.text.StrTokenizer -
Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input. -
getDateInstance(int) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date formatter instance using the specified style in the - default time zone and locale. -
getDateInstance(int, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date formatter instance using the specified style and - locale in the default time zone. -
getDateInstance(int, TimeZone) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date formatter instance using the specified style and - time zone in the default locale. -
getDateInstance(int, TimeZone, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date formatter instance using the specified style, time - zone and locale. -
getDateTimeInstance(int, int) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date/time formatter instance using the specified style - in the default time zone and locale. -
getDateTimeInstance(int, int, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date/time formatter instance using the specified style and - locale in the default time zone. -
getDateTimeInstance(int, int, TimeZone) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date/time formatter instance using the specified style and - time zone in the default locale. -
getDateTimeInstance(int, int, TimeZone, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a date/time formatter instance using the specified style, - time zone and locale. -
getDefaultStyle() - -Static method in class org.apache.commons.lang.builder.ToStringBuilder -
Gets the default ToStringStyle to use. -
getDelimiterMatcher() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the field delimiter matcher. -
getDenominator() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the denominator part of the fraction. -
getEnd() - -Method in class org.apache.commons.lang.CharRange -
Gets the end character for this character range. -
getEnum(Class, int) - -Static method in class org.apache.commons.lang.enum.EnumUtils -
Deprecated. Gets a ValuedEnum object by class and value. -
getEnum(Class, int) - -Static method in class org.apache.commons.lang.enum.ValuedEnum -
Deprecated. Gets an Enum object by class and value. -
getEnum(Class, int) - -Static method in class org.apache.commons.lang.enums.EnumUtils -
Gets a ValuedEnum object by class and value. -
getEnum(Class, int) - -Static method in class org.apache.commons.lang.enums.ValuedEnum -
Gets an Enum object by class and value. -
getEnum(Class, String) - -Static method in class org.apache.commons.lang.enum.EnumUtils -
Deprecated. Gets an Enum object by class and name. -
getEnum(Class, String) - -Static method in class org.apache.commons.lang.enum.Enum -
Deprecated. Gets an Enum object by class and name. -
getEnum(Class, String) - -Static method in class org.apache.commons.lang.enums.EnumUtils -
Gets an Enum object by class and name. -
getEnum(Class, String) - -Static method in class org.apache.commons.lang.enums.Enum -
Gets an Enum object by class and name. -
getEnumClass() - -Method in class org.apache.commons.lang.enum.Enum -
Deprecated. Retrieves the Class of this Enum item, set in the constructor. -
getEnumClass() - -Method in class org.apache.commons.lang.enums.Enum -
Retrieves the Class of this Enum item, set in the constructor. -
getEnumList(Class) - -Static method in class org.apache.commons.lang.enum.EnumUtils -
Deprecated. Gets the List of Enum objects using - the Enum class. -
getEnumList(Class) - -Static method in class org.apache.commons.lang.enum.Enum -
Deprecated. Gets the List of Enum objects using the - Enum class. -
getEnumList(Class) - -Static method in class org.apache.commons.lang.enums.EnumUtils -
Gets the List of Enum objects using - the Enum class. -
getEnumList(Class) - -Static method in class org.apache.commons.lang.enums.Enum -
Gets the List of Enum objects using the - Enum class. -
getEnumMap(Class) - -Static method in class org.apache.commons.lang.enum.EnumUtils -
Deprecated. Gets the Map of Enum objects by - name using the Enum class. -
getEnumMap(Class) - -Static method in class org.apache.commons.lang.enum.Enum -
Deprecated. Gets the Map of Enum objects by - name using the Enum class. -
getEnumMap(Class) - -Static method in class org.apache.commons.lang.enums.EnumUtils -
Gets the Map of Enum objects by - name using the Enum class. -
getEnumMap(Class) - -Static method in class org.apache.commons.lang.enums.Enum -
Gets the Map of Enum objects by - name using the Enum class. -
getEscapeChar() - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Returns the escape character. -
getExcludeFieldNames() - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
  -
getFieldNameValueSeparator() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the field name value separator text. -
getFieldNameValueSeparator() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the field name value separator text. -
getFieldSeparator() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the field separator text. -
getFieldSeparator() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the field separator text. -
getFormatter() - -Method in class org.apache.commons.lang.text.CompositeFormat -
Provides access to the parser Format implementation. -
getFraction(double) - -Static method in class org.apache.commons.lang.math.Fraction -
Creates a Fraction instance from a double value. -
getFraction(int, int) - -Static method in class org.apache.commons.lang.math.Fraction -
Creates a Fraction instance with the 2 parts - of a fraction Y/Z. -
getFraction(int, int, int) - -Static method in class org.apache.commons.lang.math.Fraction -
Creates a Fraction instance with the 3 parts - of a fraction X Y/Z. -
getFraction(String) - -Static method in class org.apache.commons.lang.math.Fraction -
Creates a Fraction from a String. -
getFullStackTrace(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
A way to get the entire nested stack-trace of an throwable. -
getIgnoredMatcher() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the ignored character matcher. -
getInstance() - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a formatter instance using the default pattern in the - default locale. -
getInstance(String) - -Static method in class org.apache.commons.lang.CharSet -
Factory method to create a new CharSet using a special syntax. -
getInstance(String) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a formatter instance using the specified pattern in the - default locale. -
getInstance(String, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a formatter instance using the specified pattern and - locale. -
getInstance(String, TimeZone) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a formatter instance using the specified pattern and - time zone. -
getInstance(String, TimeZone, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a formatter instance using the specified pattern, time zone - and locale. -
getJavaHome() - -Static method in class org.apache.commons.lang.SystemUtils -
Gets the Java home directory as a File. -
getJavaIoTmpDir() - -Static method in class org.apache.commons.lang.SystemUtils -
Gets the Java IO temporary directory as a File. -
getJavaVersion() - -Static method in class org.apache.commons.lang.SystemUtils -
Deprecated. Use SystemUtils.JAVA_VERSION_FLOAT instead. - Method will be removed in Commons Lang 3.0. -
getLength(Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Returns the length of the specified array. -
getLevenshteinDistance(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Find the Levenshtein distance between two Strings. -
getLocale() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Gets the locale used by this formatter. -
getMaximum() - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Returns the maximum number in this range. -
getMaximumDouble() - -Method in class org.apache.commons.lang.math.Range -
Gets the maximum number in this range as a double. -
getMaximumDouble() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the maximum number in this range as a double. -
getMaximumDouble() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the maximum number in this range as a double. -
getMaximumDouble() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the maximum number in this range as a double. -
getMaximumDouble() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the maximum number in this range as a double. -
getMaximumFloat() - -Method in class org.apache.commons.lang.math.Range -
Gets the maximum number in this range as a float. -
getMaximumFloat() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the maximum number in this range as a float. -
getMaximumFloat() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the maximum number in this range as a float. -
getMaximumFloat() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the maximum number in this range as a float. -
getMaximumFloat() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the maximum number in this range as a float. -
getMaximumInteger() - -Method in class org.apache.commons.lang.math.Range -
Gets the maximum number in this range as a int. -
getMaximumInteger() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the maximum number in this range cast to an int. -
getMaximumInteger() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the maximum number in this range as a int. -
getMaximumInteger() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the maximum number in this range as a int. -
getMaximumInteger() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the maximum number in this range as a int. -
getMaximumLong() - -Method in class org.apache.commons.lang.math.Range -
Gets the maximum number in this range as a long. -
getMaximumLong() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the maximum number in this range as a long. -
getMaximumLong() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the maximum number in this range as a long. -
getMaximumLong() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the maximum number in this range as a long. -
getMaximumLong() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the maximum number in this range as a long. -
getMaximumNumber() - -Method in class org.apache.commons.lang.math.Range -
Gets the maximum number in this range. -
getMaximumNumber() - -Method in class org.apache.commons.lang.math.LongRange -
Returns the maximum number in this range. -
getMaximumNumber() - -Method in class org.apache.commons.lang.math.DoubleRange -
Returns the maximum number in this range. -
getMaximumNumber() - -Method in class org.apache.commons.lang.math.FloatRange -
Returns the maximum number in this range. -
getMaximumNumber() - -Method in class org.apache.commons.lang.math.IntRange -
Returns the maximum number in this range. -
getMaximumNumber() - -Method in class org.apache.commons.lang.math.NumberRange -
Returns the maximum number in this range. -
getMaxLengthEstimate() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Gets an estimate for the maximum string length that the - formatter will produce. -
getMessage() - -Method in class org.apache.commons.lang.NotImplementedException -
Gets the combined the error message of this and any nested errors. -
getMessage() - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
Returns the detail message string of this throwable. -
getMessage() - -Method in class org.apache.commons.lang.exception.NestableError -
Returns the detail message string of this throwable. -
getMessage() - -Method in class org.apache.commons.lang.exception.NestableException -
Returns the detail message string of this throwable. -
getMessage() - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the error message of this and any nested - Throwable. -
getMessage(int) - -Method in class org.apache.commons.lang.NotImplementedException -
Returns the error message of the Throwable in the chain - of Throwables at the specified index, numbered from 0. -
getMessage(int) - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
getMessage(int) - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
getMessage(int) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Returns the error message of the Throwable in the chain of Throwables at the - specified index, numbered from 0. -
getMessage(int) - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
getMessage(int) - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the error message of the Throwable in the chain - of Throwables at the specified index, numbered from 0. -
getMessage(String) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Returns the full message contained by the Nestable and any nested Throwables. -
getMessage(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Gets a short message summarising the exception. -
getMessages() - -Method in class org.apache.commons.lang.NotImplementedException -
Returns the error message of this and any nested Throwable objects. -
getMessages() - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
getMessages() - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
getMessages() - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Returns the error message of this and any nested Throwables in an array of Strings, one element - for each message. -
getMessages() - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
getMessages() - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the error message of this and any nested Throwables - in an array of Strings, one element for each message. -
getMinimum() - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Returns the minimum number in this range. -
getMinimumDouble() - -Method in class org.apache.commons.lang.math.Range -
Gets the minimum number in this range as a double. -
getMinimumDouble() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the minimum number in this range as a double. -
getMinimumDouble() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the minimum number in this range as a double. -
getMinimumDouble() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the minimum number in this range as a double. -
getMinimumDouble() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the minimum number in this range as a double. -
getMinimumFloat() - -Method in class org.apache.commons.lang.math.Range -
Gets the minimum number in this range as a float. -
getMinimumFloat() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the minimum number in this range as a float. -
getMinimumFloat() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the minimum number in this range as a float. -
getMinimumFloat() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the minimum number in this range as a float. -
getMinimumFloat() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the minimum number in this range as a float. -
getMinimumInteger() - -Method in class org.apache.commons.lang.math.Range -
Gets the minimum number in this range as a int. -
getMinimumInteger() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the minimum number in this range as a int. -
getMinimumInteger() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the minimum number in this range as a int. -
getMinimumInteger() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the minimum number in this range as a int. -
getMinimumInteger() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the minimum number in this range as a int. -
getMinimumLong() - -Method in class org.apache.commons.lang.math.Range -
Gets the minimum number in this range as a long. -
getMinimumLong() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the minimum number in this range as a long. -
getMinimumLong() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the minimum number in this range as a long. -
getMinimumLong() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the minimum number in this range as a long. -
getMinimumLong() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the minimum number in this range as a long. -
getMinimumNumber() - -Method in class org.apache.commons.lang.math.Range -
Gets the minimum number in this range. -
getMinimumNumber() - -Method in class org.apache.commons.lang.math.LongRange -
Returns the minimum number in this range. -
getMinimumNumber() - -Method in class org.apache.commons.lang.math.DoubleRange -
Returns the minimum number in this range. -
getMinimumNumber() - -Method in class org.apache.commons.lang.math.FloatRange -
Returns the minimum number in this range. -
getMinimumNumber() - -Method in class org.apache.commons.lang.math.IntRange -
Returns the minimum number in this range. -
getMinimumNumber() - -Method in class org.apache.commons.lang.math.NumberRange -
Returns the minimum number in this range. -
getName() - -Method in class org.apache.commons.lang.enum.Enum -
Deprecated. Retrieve the name of this Enum item, set in the constructor. -
getName() - -Method in class org.apache.commons.lang.enums.Enum -
Retrieve the name of this Enum item, set in the constructor. -
getNestedString(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the better named StringUtils.substringBetween(String, String). - Method will be removed in Commons Lang 3.0. -
getNestedString(String, String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the better named StringUtils.substringBetween(String, String, String). - Method will be removed in Commons Lang 3.0. -
getNewLineText() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets the text to be appended when a new line is added. -
getNullText() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the text to output when null found. -
getNullText() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the text to output when null found. -
getNullText() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets the text to be appended when null is added. -
getNumerator() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the numerator part of the fraction. -
getObject() - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Returns the Object being output. -
getPackageName(Class) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets the package name of a Class. -
getPackageName(Object, String) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets the package name of an Object. -
getPackageName(String) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets the package name from a String. -
getParser() - -Method in class org.apache.commons.lang.text.CompositeFormat -
Provides access to the parser Format implementation. -
getPattern() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Gets the pattern used by this formatter. -
getPrechomp(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringUtils.substringBefore(String,String) instead - (although this doesn't include the separator). - Method will be removed in Commons Lang 3.0. -
getProperNumerator() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the proper numerator, always positive. -
getProperWhole() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the proper whole part of the fraction. -
getPublicMethod(Class, String, Class[]) - -Static method in class org.apache.commons.lang.ClassUtils -
Returns the desired Method much like Class.getMethod, however - it ensures that the returned Method is from a public class or interface and not - from an anonymous inner class. -
getQuoteMatcher() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the quote matcher currently in use. -
getRawValue(int) - -Method in class org.apache.commons.lang.BitField -
Obtains the value for the specified BitField, unshifted. -
getReducedFraction(int, int) - -Static method in class org.apache.commons.lang.math.Fraction -
Creates a reduced Fraction instance with the 2 parts - of a fraction Y/Z. -
getRootCause(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Introspects the Throwable to obtain the root cause. -
getRootCauseMessage(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Gets a short message summarising the root cause exception. -
getRootCauseStackTrace(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Creates a compact stack trace for the root cause of the supplied - Throwable. -
getShortClassName(Class) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets the class name minus the package name from a Class. -
getShortClassName(Class) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the short class name for a class. -
getShortClassName(Object, String) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets the class name minus the package name for an Object. -
getShortClassName(String) - -Static method in class org.apache.commons.lang.ClassUtils -
Gets the class name minus the package name from a String. -
getShortRawValue(short) - -Method in class org.apache.commons.lang.BitField -
Obtains the value for the specified BitField, unshifted. -
getShortValue(short) - -Method in class org.apache.commons.lang.BitField -
Obtains the value for the specified BitField, appropriately - shifted right, as a short. -
getSizeEndText() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the end text to output when a Collection, - Map or array size is output. -
getSizeEndText() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the end text to output when a Collection, - Map or Array size is output. -
getSizeStartText() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the start text to output when a Collection, - Map or array size is output. -
getSizeStartText() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the text to output when a Collection, - Map or Array size is output. -
getSplitTime() - -Method in class org.apache.commons.lang.time.StopWatch -
Get the split time on the stopwatch. -
getStackFrames(Throwable) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Captures the stack trace associated with the specified - Throwable object, decomposing it into a list of - stack frames. -
getStackFrames(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Captures the stack trace associated with the specified - Throwable object, decomposing it into a list of - stack frames. -
getStackTrace(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Gets the stack trace from a Throwable as a String. -
getStart() - -Method in class org.apache.commons.lang.CharRange -
Gets the start character for this character range. -
getStringBuffer() - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Gets the StringBuffer being populated. -
getStyle() - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Gets the ToStringStyle being used. -
getSummaryObjectEndText() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the end text to output when an Object is - output in summary mode. -
getSummaryObjectEndText() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the end text to output when an Object is - output in summary mode. -
getSummaryObjectStartText() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets the start text to output when an Object is - output in summary mode. -
getSummaryObjectStartText() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets the start text to output when an Object is - output in summary mode. -
getThrowable(int) - -Method in class org.apache.commons.lang.NotImplementedException -
Returns the Throwable in the chain by index. -
getThrowable(int) - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
getThrowable(int) - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
getThrowable(int) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Returns the Throwable in the chain of - Throwables at the specified index, numbered from 0. -
getThrowable(int) - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
getThrowable(int) - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the Throwable in the chain of - Throwables at the specified index, numbered from 0. -
getThrowableCount() - -Method in class org.apache.commons.lang.NotImplementedException -
Returns the number of nested Throwables represented by - this Nestable, including this Nestable. -
getThrowableCount() - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
getThrowableCount() - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
getThrowableCount() - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Returns the number of Throwables contained in the - Nestable contained by this delegate. -
getThrowableCount() - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
getThrowableCount() - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the number of nested Throwables represented by - this Nestable, including this Nestable. -
getThrowableCount(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Counts the number of Throwable objects in the - exception chain. -
getThrowableList(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Returns the list of Throwable objects in the - exception chain. -
getThrowables() - -Method in class org.apache.commons.lang.NotImplementedException -
Returns this Nestable and any nested Throwables - in an array of Throwables, one element for each - Throwable. -
getThrowables() - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
getThrowables() - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
getThrowables() - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Returns this delegate's Nestable and any nested - Throwables in an array of Throwables, one - element for each Throwable. -
getThrowables() - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
getThrowables() - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns this Nestable and any nested Throwables - in an array of Throwables, one element for each - Throwable. -
getThrowables(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Returns the list of Throwable objects in the - exception chain. -
getTime() - -Method in class org.apache.commons.lang.time.StopWatch -
Get the time on the stopwatch. -
getTimeInstance(int) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a time formatter instance using the specified style in the - default time zone and locale. -
getTimeInstance(int, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a time formatter instance using the specified style and - locale in the default time zone. -
getTimeInstance(int, TimeZone) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a time formatter instance using the specified style and - time zone in the default locale. -
getTimeInstance(int, TimeZone, Locale) - -Static method in class org.apache.commons.lang.time.FastDateFormat -
Gets a time formatter instance using the specified style, time - zone and locale. -
getTimeZone() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Gets the time zone used by this formatter. -
getTimeZoneOverridesCalendar() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Returns true if the time zone of the - calendar overrides the time zone of the formatter. -
getTokenArray() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets a copy of the full token list as an independent modifiable array. -
getTokenList() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets a copy of the full token list as an independent modifiable list. -
getTrimmerMatcher() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the trimmer character matcher. -
getTSVInstance() - -Static method in class org.apache.commons.lang.text.StrTokenizer -
Gets a new tokenizer instance which parses Tab Seperated Value strings. -
getTSVInstance(char[]) - -Static method in class org.apache.commons.lang.text.StrTokenizer -
Gets a new tokenizer instance which parses Tab Seperated Value strings. -
getTSVInstance(String) - -Static method in class org.apache.commons.lang.text.StrTokenizer -
Gets a new tokenizer instance which parses Tab Seperated Value strings. -
getUpToClass() - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Gets the last super class to stop appending fields for. -
getUserDir() - -Static method in class org.apache.commons.lang.SystemUtils -
Gets the user directory as a File. -
getUserHome() - -Static method in class org.apache.commons.lang.SystemUtils -
Gets the user home directory as a File. -
getValue() - -Method in class org.apache.commons.lang.enum.ValuedEnum -
Deprecated. Get value of enum item. -
getValue() - -Method in class org.apache.commons.lang.enums.ValuedEnum -
Get value of enum item. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Gets the value as a Byte instance. -
getValue() - -Method in interface org.apache.commons.lang.mutable.Mutable -
Gets the value of this mutable. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Gets the value as a Short instance. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Gets the value as a Double instance. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Gets the value as a Integer instance. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Gets the value as a Float instance. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableObject -
Gets the value. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Gets the value as a Long instance. -
getValue() - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Gets the value as a Boolean instance. -
getValue(Field) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Calls java.lang.reflect.Field.get(Object). -
getValue(int) - -Method in class org.apache.commons.lang.BitField -
Obtains the value for the specified BitField, appropriately - shifted right. -
getVariablePrefixMatcher() - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Gets the variable prefix matcher currently in use. -
getVariableResolver() - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Gets the VariableResolver that is used to lookup variables. -
getVariableSuffixMatcher() - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Gets the variable suffix matcher currently in use. -
-
-

-H

-
-
hashCode() - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Returns a hash code value for this object. -
hashCode() - -Method in class org.apache.commons.lang.CharSet -
Gets a hashCode compatible with the equals method. -
hashCode() - -Method in class org.apache.commons.lang.CharRange -
Gets a hashCode compatible with the equals method. -
hashCode() - -Method in class org.apache.commons.lang.enum.Enum -
Deprecated. Returns a suitable hashCode for the enumeration. -
hashCode() - -Method in class org.apache.commons.lang.enums.Enum -
Returns a suitable hashCode for the enumeration. -
hashCode() - -Method in class org.apache.commons.lang.math.Range -
Gets a hashCode for the range. -
hashCode() - -Method in class org.apache.commons.lang.math.LongRange -
Gets a hashCode for the range. -
hashCode() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets a hashCode for the range. -
hashCode() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets a hashCode for the range. -
hashCode() - -Method in class org.apache.commons.lang.math.IntRange -
Gets a hashCode for the range. -
hashCode() - -Method in class org.apache.commons.lang.math.NumberRange -
Gets a hashCode for the range. -
hashCode() - -Method in class org.apache.commons.lang.math.Fraction -
Gets a hashCode for the fraction. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Returns a suitable hashcode for this mutable. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Returns a suitable hashcode for this mutable. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Returns a suitable hashcode for this mutable. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Returns a suitable hashcode for this mutable. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Returns a suitable hashcode for this mutable. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableObject -
Returns the value's hash code or 0 if the value is null. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Returns a suitable hashcode for this mutable. -
hashCode() - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Returns a suitable hashcode for this mutable. -
hashCode() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets a suitable hash code for this builder. -
hashCode() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Returns a hashcode compatible with equals. -
hashCode(Object) - -Static method in class org.apache.commons.lang.ObjectUtils -
Gets the hash code of an object returning zero when the - object is null. -
hashCode(Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Get a hashCode for an array handling multi-dimensional arrays correctly. -
HashCodeBuilder - class org.apache.commons.lang.builder.HashCodeBuilder.
- Assists in implementing Object.hashCode() methods.
HashCodeBuilder() - -Constructor for class org.apache.commons.lang.builder.HashCodeBuilder -
- Uses two hard coded choices for the constants needed to build a hashCode. -
HashCodeBuilder(int, int) - -Constructor for class org.apache.commons.lang.builder.HashCodeBuilder -
- Two randomly chosen, non-zero, odd numbers must be passed in. -
hasNext() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Checks whether there are any more tokens. -
hasPrevious() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Checks whether there are any previous tokens that can be iterated to. -
-
-

-I

-
-
identityToString(Object) - -Static method in class org.apache.commons.lang.ObjectUtils -
Gets the toString that would be produced by Object - if a class did not override toString itself. -
IllegalClassException - exception org.apache.commons.lang.IllegalClassException.
Thrown when an object is an instance of an unexpected type (a class or interface).
IllegalClassException(Class, Class) - -Constructor for class org.apache.commons.lang.IllegalClassException -
Instantiates with the expected and actual types. -
IllegalClassException(Class, Object) - -Constructor for class org.apache.commons.lang.IllegalClassException -
Instantiates with the expected type, and actual object. -
IllegalClassException(String) - -Constructor for class org.apache.commons.lang.IllegalClassException -
Instantiates with the specified message. -
includesNumber(Number) - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Tests whether the specified number occurs within - this range using double comparison. -
includesRange(NumberRange) - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Tests whether the specified range occurs entirely within this - range using double comparison. -
IncompleteArgumentException - exception org.apache.commons.lang.IncompleteArgumentException.
Thrown to indicate an incomplete argument to a method.
IncompleteArgumentException(String) - -Constructor for class org.apache.commons.lang.IncompleteArgumentException -
Instantiates with the specified description. -
IncompleteArgumentException(String, String[]) - -Constructor for class org.apache.commons.lang.IncompleteArgumentException -
Instantiates with the specified description. -
increment() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Increments the value. -
increment() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Increments the value. -
increment() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Increments the value. -
increment() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Increments the value. -
increment() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Increments the value. -
increment() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Increments the value. -
INDEX_NOT_FOUND - -Static variable in class org.apache.commons.lang.StringUtils -
Represents a failed index search. -
INDEX_NOT_FOUND - -Static variable in class org.apache.commons.lang.ArrayUtils -
The index value when an element is not found in a list or array: -1. -
indexOf(boolean[], boolean) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(boolean[], boolean, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(byte[], byte) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(byte[], byte, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the first reference to the specified char. -
indexOf(char[], char) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(char[], char, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(char, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the first reference to the specified char. -
indexOf(double[], double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(double[], double, double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value within a given tolerance in the array. -
indexOf(double[], double, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(double[], double, int, double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(float[], float) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(float[], float, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(int[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(int[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(long[], long) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(long[], long, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(Object[], Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given object in the array. -
indexOf(Object[], Object, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given object in the array starting at the given index. -
indexOf(short[], short) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array. -
indexOf(short[], short, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the index of the given value in the array starting at the given index. -
indexOf(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the first reference to the specified string. -
indexOf(String, char) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the first index within a String, handling null. -
indexOf(String, char, int) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the first index within a String from a start position, - handling null. -
indexOf(String, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the first reference to the specified - string starting searching from the given index. -
indexOf(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the first index within a String, handling null. -
indexOf(String, String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the first index within a String, handling null. -
indexOf(StrMatcher) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder using the matcher to find the first match. -
indexOf(StrMatcher, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder using the matcher to find the first - match searching from the given index. -
indexOfAny(String, char[]) - -Static method in class org.apache.commons.lang.StringUtils -
Search a String to find the first index of any - character in the given set of characters. -
indexOfAny(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Search a String to find the first index of any - character in the given set of characters. -
indexOfAny(String, String[]) - -Static method in class org.apache.commons.lang.StringUtils -
Find the first index of any of a set of potential substrings. -
indexOfAnyBut(String, char[]) - -Static method in class org.apache.commons.lang.StringUtils -
Search a String to find the first index of any - character not in the given set of characters. -
indexOfAnyBut(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Search a String to find the first index of any - character not in the given set of characters. -
indexOfDifference(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Compares two Strings, and returns the index at which the - Strings begin to differ. -
indexOfThrowable(Class) - -Method in class org.apache.commons.lang.NotImplementedException -
Returns the index of the first occurrence of the specified type. -
indexOfThrowable(Class) - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
indexOfThrowable(Class) - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
indexOfThrowable(Class) - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
indexOfThrowable(Class) - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the index, numbered from 0, of the first occurrence of the - specified type, or a subclass, in the chain of Throwables. -
indexOfThrowable(Class, int) - -Method in class org.apache.commons.lang.NotImplementedException -
Returns the index of the first occurrence of the specified type starting - from the specified index. -
indexOfThrowable(Class, int) - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
indexOfThrowable(Class, int) - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
indexOfThrowable(Class, int) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Returns the index, numbered from 0, of the first Throwable - that matches the specified type, or a subclass, in the chain of Throwables - with an index greater than or equal to the specified index. -
indexOfThrowable(Class, int) - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
indexOfThrowable(Class, int) - -Method in interface org.apache.commons.lang.exception.Nestable -
Returns the index, numbered from 0, of the first Throwable - that matches the specified type, or a subclass, in the chain of Throwables - with an index greater than or equal to the specified index. -
indexOfThrowable(Throwable, Class) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Returns the (zero based) index of the first Throwable - that matches the specified class (exactly) in the exception chain. -
indexOfThrowable(Throwable, Class, int) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Returns the (zero based) index of the first Throwable - that matches the specified type in the exception chain from - a specified index. -
indexOfType(Throwable, Class) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Returns the (zero based) index of the first Throwable - that matches the specified class or subclass in the exception chain. -
indexOfType(Throwable, Class, int) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Returns the (zero based) index of the first Throwable - that matches the specified type in the exception chain from - a specified index. -
init() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Initializes the instance for first use. -
initials(String) - -Static method in class org.apache.commons.lang.WordUtils -
Extracts the initial letters from each word in the String. -
initials(String, char[]) - -Static method in class org.apache.commons.lang.WordUtils -
Extracts the initial letters from each word in the String. -
INNER_CLASS_SEPARATOR - -Static variable in class org.apache.commons.lang.ClassUtils -
The inner class separator String: "$". -
INNER_CLASS_SEPARATOR_CHAR - -Static variable in class org.apache.commons.lang.ClassUtils -
The inner class separator character: '$' == {@value}. -
insert(int, boolean) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the value into this builder. -
insert(int, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the value into this builder. -
insert(int, char[]) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the character array into this builder. -
insert(int, char[], int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts part of the character array into this builder. -
insert(int, double) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the value into this builder. -
insert(int, float) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the value into this builder. -
insert(int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the value into this builder. -
insert(int, long) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the value into this builder. -
insert(int, Object) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the string representation of an object into this builder. -
insert(int, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Inserts the string into this builder. -
INTEGER_MINUS_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Integer constant for minus one. -
INTEGER_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Integer constant for one. -
INTEGER_ZERO - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Integer constant for zero. -
IntRange - class org.apache.commons.lang.math.IntRange.
IntRange represents an inclusive range of ints.
IntRange(int) - -Constructor for class org.apache.commons.lang.math.IntRange -
Constructs a new IntRange using the specified - number as both the minimum and maximum in this range. -
IntRange(int, int) - -Constructor for class org.apache.commons.lang.math.IntRange -
Constructs a new IntRange with the specified - minimum and maximum numbers (both inclusive). -
IntRange(Number) - -Constructor for class org.apache.commons.lang.math.IntRange -
Constructs a new IntRange using the specified - number as both the minimum and maximum in this range. -
IntRange(Number, Number) - -Constructor for class org.apache.commons.lang.math.IntRange -
Constructs a new IntRange with the specified - minimum and maximum numbers (both inclusive). -
intValue() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the fraction as an int. -
intValue() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Returns the value of this MutableByte as a int. -
intValue() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Returns the value of this MutableShort as a int. -
intValue() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Returns the value of this MutableDouble as a int. -
intValue() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Returns the value of this MutableInt as a int. -
intValue() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Returns the value of this MutableFloat as a int. -
intValue() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Returns the value of this MutableLong as a int. -
invert() - -Method in class org.apache.commons.lang.math.Fraction -
Gets a fraction that is the inverse (1/fraction) of this one. -
IS_JAVA_1_1 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Java version 1.1 (also 1.1.x versions). -
IS_JAVA_1_2 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Java version 1.2 (also 1.2.x versions). -
IS_JAVA_1_3 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Java version 1.3 (also 1.3.x versions). -
IS_JAVA_1_4 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Java version 1.4 (also 1.4.x versions). -
IS_JAVA_1_5 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Java version 1.5 (also 1.5.x versions). -
IS_JAVA_1_6 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Java version 1.6 (also 1.6.x versions). -
IS_OS_AIX - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is AIX. -
IS_OS_HP_UX - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is HP-UX. -
IS_OS_IRIX - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Irix. -
IS_OS_LINUX - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Linux. -
IS_OS_MAC - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Mac. -
IS_OS_MAC_OSX - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Mac. -
IS_OS_OS2 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is OS/2. -
IS_OS_SOLARIS - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Solaris. -
IS_OS_SUN_OS - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is SunOS. -
IS_OS_UNIX - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is a POSIX compilant system, - as in any of AIX, HP-UX, Irix, Linux, MacOSX, Solaris or SUN OS. -
IS_OS_WINDOWS - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Windows. -
IS_OS_WINDOWS_2000 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Windows 2000. -
IS_OS_WINDOWS_95 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Windows 95. -
IS_OS_WINDOWS_98 - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Windows 98. -
IS_OS_WINDOWS_ME - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Windows ME. -
IS_OS_WINDOWS_NT - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Windows NT. -
IS_OS_WINDOWS_XP - -Static variable in class org.apache.commons.lang.SystemUtils -
Is true if this is Windows XP. -
isAllSet(int) - -Method in class org.apache.commons.lang.BitField -
Returns whether all of the bits are set or not. -
isAlpha(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only unicode letters. -
isAlphanumeric(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only unicode letters or digits. -
isAlphanumericSpace(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only unicode letters, digits - or space (' '). -
isAlphaSpace(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only unicode letters and - space (' '). -
isAppendStatics() - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Gets whether or not to append static fields. -
isAppendTransients() - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Gets whether or not to append transient fields. -
isArrayContentDetail() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether to output array content detail. -
isArrayContentDetail() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether to output array content detail. -
isAscii(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit. -
isAsciiAlpha(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit alphabetic. -
isAsciiAlphaLower(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit alphabetic lower case. -
isAsciiAlphanumeric(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit numeric. -
isAsciiAlphaUpper(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit alphabetic upper case. -
isAsciiControl(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit control. -
isAsciiNumeric(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit numeric. -
isAsciiPrintable(char) - -Static method in class org.apache.commons.lang.CharUtils -
Checks whether the character is ASCII 7 bit printable. -
isAsciiPrintable(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the string contains only ASCII printable characters. -
isAssignable(Class[], Class[]) - -Static method in class org.apache.commons.lang.ClassUtils -
Checks if an array of Classes can be assigned to another array of Classes. -
isAssignable(Class, Class) - -Static method in class org.apache.commons.lang.ClassUtils -
Checks if one Class can be assigned to a variable of - another Class. -
isAvailableLocale(Locale) - -Static method in class org.apache.commons.lang.LocaleUtils -
Checks if the locale specified is in the list of available locales. -
isBlank(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if a String is whitespace, empty ("") or null. -
isCauseMethodName(String) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Tests if the list of method names used in the search for Throwable - objects include the given name. -
isDefaultFullDetail() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether to use full detail when the caller doesn't - specify. -
isDefaultFullDetail() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether to use full detail when the caller doesn't - specify. -
isDigits(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Checks whether the String contains only - digit characters. -
isDigits(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Checks whether the String contains only - digit characters. -
isEmpty() - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks is the string builder is empty (convenience Collections API style method). -
isEmpty(boolean[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive booleans is empty or null. -
isEmpty(byte[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive bytes is empty or null. -
isEmpty(char[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive chars is empty or null. -
isEmpty(double[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive doubles is empty or null. -
isEmpty(float[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive floats is empty or null. -
isEmpty(int[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive ints is empty or null. -
isEmpty(long[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive longs is empty or null. -
isEmpty(Object[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of Objects is empty or null. -
isEmpty(short[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks if an array of primitive shorts is empty or null. -
isEmpty(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if a String is empty ("") or null. -
isEmptyTokenAsNull() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets whether the tokenizer currently returns empty tokens as null. -
isEquals() - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Returns true if the fields that have been checked - are all equal. -
isEquals(Object, Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Compares two arrays, using equals(), handling multi-dimensional arrays - correctly. -
isFalse(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Checks if a Boolean value is false, - handling null by returning false. -
isFieldSeparatorAtEnd() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether the field separator should be added at the end - of each buffer. -
isFieldSeparatorAtEnd() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether the field separator should be added at the end - of each buffer. -
isFieldSeparatorAtStart() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether the field separator should be added at the start - of each buffer. -
isFieldSeparatorAtStart() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether the field separator should be added at the start - of each buffer. -
isFullDetail(Boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Is this field to be output in full detail. -
isIgnoreEmptyTokens() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets whether the tokenizer currently ignores empty tokens. -
isInfinite() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Checks whether the double value is infinite. -
isInfinite() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Checks whether the float value is infinite. -
isInnerClass(Class) - -Static method in class org.apache.commons.lang.ClassUtils -
Is the specified class an inner class or static nested class. -
isJavaAwtHeadless() - -Static method in class org.apache.commons.lang.SystemUtils -
Returns whether the SystemUtils.JAVA_AWT_HEADLESS value is true. -
isJavaVersionAtLeast(float) - -Static method in class org.apache.commons.lang.SystemUtils -
Is the Java version at least the requested version. -
isJavaVersionAtLeast(int) - -Static method in class org.apache.commons.lang.SystemUtils -
Is the Java version at least the requested version. -
isMatch(char[], int, int, int) - -Method in class org.apache.commons.lang.text.StrMatcher -
Returns the number of matching characters, zero for no match. -
isNaN() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Checks whether the double value is the special NaN value. -
isNaN() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Checks whether the float value is the special NaN value. -
isNegated() - -Method in class org.apache.commons.lang.CharRange -
Is this CharRange negated. -
isNestedThrowable(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Checks whether this Throwable class can store a cause. -
isNotBlank(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if a String is not empty (""), not null and not whitespace only. -
isNotEmpty(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if a String is not empty ("") and not null. -
isNotFalse(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Checks if a Boolean value is not false, - handling null by returning true. -
isNotTrue(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Checks if a Boolean value is not true, - handling null by returning true. -
isNumber(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Checks whether the String a valid Java number. -
isNumber(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Checks whether the String a valid Java number. -
isNumeric(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only unicode digits. -
isNumericSpace(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only unicode digits or space - (' '). -
ISO_8859_1 - -Static variable in class org.apache.commons.lang.CharEncoding -
- ISO Latin Alphabet #1, also known as ISO-LATIN-1. -
ISO_DATE_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601 formatter for date without time zone. -
ISO_DATE_TIME_ZONE_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601-like formatter for date with time zone. -
ISO_DATETIME_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601 formatter for date-time without time zone. -
ISO_DATETIME_TIME_ZONE_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601 formatter for date-time with time zone. -
ISO_EXTENDED_FORMAT_PATTERN - -Static variable in class org.apache.commons.lang.time.DurationFormatUtils -
Pattern used with FastDateFormat and SimpleDateFormat - for the ISO8601 period format used in durations. -
ISO_TIME_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601 formatter for time without time zone. -
ISO_TIME_NO_T_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601-like formatter for time without time zone. -
ISO_TIME_NO_T_TIME_ZONE_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601-like formatter for time with time zone. -
ISO_TIME_TIME_ZONE_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
ISO8601 formatter for time with time zone. -
isSameDay(Calendar, Calendar) - -Static method in class org.apache.commons.lang.time.DateUtils -
Checks if two calendar objects are on the same day ignoring time. -
isSameDay(Date, Date) - -Static method in class org.apache.commons.lang.time.DateUtils -
Checks if two date objects are on the same day ignoring time. -
isSameInstant(Calendar, Calendar) - -Static method in class org.apache.commons.lang.time.DateUtils -
Checks if two calendar objects represent the same instant in time. -
isSameInstant(Date, Date) - -Static method in class org.apache.commons.lang.time.DateUtils -
Checks if two date objects represent the same instant in time. -
isSameLength(boolean[], boolean[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(byte[], byte[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(char[], char[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(double[], double[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(float[], float[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(int[], int[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(long[], long[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(Object[], Object[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLength(short[], short[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same length, treating - null arrays as length 0. -
isSameLocalTime(Calendar, Calendar) - -Static method in class org.apache.commons.lang.time.DateUtils -
Checks if two calendar objects represent the same local time. -
isSameType(Object, Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Checks whether two arrays are the same type taking into account - multi-dimensional arrays. -
isSet(int) - -Method in class org.apache.commons.lang.BitField -
Returns whether the field is set or not. -
isShortClassName() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Deprecated. Use ToStringStyle.isUseShortClassName() - Method will be removed in Commons Lang 3.0. -
isShortClassName() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Deprecated. Use StandardToStringStyle.isUseShortClassName() - Method will be removed in Commons Lang 3.0. -
isSupported(String) - -Static method in class org.apache.commons.lang.CharEncoding -
- Returns whether the named charset is supported. -
isThrowableNested() - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Checks if the Throwable class has a getCause method. -
isTrue(boolean) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the test result is false. -
isTrue(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Checks if a Boolean value is true, - handling null by returning false. -
isTrue(boolean, String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the test result is false. -
isTrue(boolean, String, double) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the test result is false. -
isTrue(boolean, String, long) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the test result is false. -
isTrue(boolean, String, Object) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the test result is false. -
isUseClassName() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether to use the class name. -
isUseClassName() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether to use the class name. -
isUseFieldNames() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether to use the field names passed in. -
isUseFieldNames() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether to use the field names passed in. -
isUseIdentityHashCode() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether to use the identity hash code. -
isUseIdentityHashCode() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether to use the identity hash code. -
isUseShortClassName() - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Gets whether to output short or long class names. -
isUseShortClassName() - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Gets whether to output short or long class names. -
isWhitespace(String) - -Static method in class org.apache.commons.lang.StringUtils -
Checks if the String contains only whitespace. -
iterator(Calendar, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
This constructs an Iterator over each day in a date - range defined by a focus date and range style. -
iterator(Class) - -Static method in class org.apache.commons.lang.enum.EnumUtils -
Deprecated. Gets an Iterator over the Enum objects - in an Enum class. -
iterator(Class) - -Static method in class org.apache.commons.lang.enum.Enum -
Deprecated. Gets an Iterator over the Enum objects in - an Enum class. -
iterator(Class) - -Static method in class org.apache.commons.lang.enums.EnumUtils -
Gets an Iterator over the Enum objects - in an Enum class. -
iterator(Class) - -Static method in class org.apache.commons.lang.enums.Enum -
Gets an Iterator over the Enum objects in - an Enum class. -
iterator(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
This constructs an Iterator over each day in a date - range defined by a focus date and range style. -
iterator(Object, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
This constructs an Iterator over each day in a date - range defined by a focus date and range style. -
iToString - -Variable in class org.apache.commons.lang.enum.Enum -
Deprecated. The toString representation of the Enum. -
iToString - -Variable in class org.apache.commons.lang.enums.Enum -
The toString representation of the Enum. -
-
-

-J

-
-
JAVA_AWT_FONTS - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.awt.fonts System Property. -
JAVA_AWT_GRAPHICSENV - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.awt.graphicsenv System Property. -
JAVA_AWT_HEADLESS - -Static variable in class org.apache.commons.lang.SystemUtils -
- The java.awt.headless System Property. -
JAVA_AWT_PRINTERJOB - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.awt.printerjob System Property. -
JAVA_CLASS_PATH - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.class.path System Property. -
JAVA_CLASS_VERSION - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.class.version System Property. -
JAVA_COMPILER - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.compiler System Property. -
JAVA_ENDORSED_DIRS - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.endorsed.dirs System Property. -
JAVA_EXT_DIRS - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.ext.dirs System Property. -
JAVA_HOME - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.home System Property. -
JAVA_IO_TMPDIR - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.io.tmpdir System Property. -
JAVA_LIBRARY_PATH - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.library.path System Property. -
JAVA_RUNTIME_NAME - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.runtime.name System Property. -
JAVA_RUNTIME_VERSION - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.runtime.version System Property. -
JAVA_SPECIFICATION_NAME - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.specification.name System Property. -
JAVA_SPECIFICATION_VENDOR - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.specification.vendor System Property. -
JAVA_SPECIFICATION_VERSION - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.specification.version System Property. -
JAVA_UTIL_PREFS_PREFERENCES_FACTORY - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.util.prefs.PreferencesFactory System Property. -
JAVA_VENDOR - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vendor System Property. -
JAVA_VENDOR_URL - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vendor.url System Property. -
JAVA_VERSION - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.version System Property. -
JAVA_VERSION_FLOAT - -Static variable in class org.apache.commons.lang.SystemUtils -
Gets the Java version as a float. -
JAVA_VERSION_INT - -Static variable in class org.apache.commons.lang.SystemUtils -
Gets the Java version as an int. -
JAVA_VERSION_TRIMMED - -Static variable in class org.apache.commons.lang.SystemUtils -
Gets the Java version as a String trimming leading letters. -
JAVA_VM_INFO - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vm.info System Property. -
JAVA_VM_NAME - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vm.name System Property. -
JAVA_VM_SPECIFICATION_NAME - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vm.specification.name System Property. -
JAVA_VM_SPECIFICATION_VENDOR - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vm.specification.vendor System Property. -
JAVA_VM_SPECIFICATION_VERSION - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vm.specification.version System Property. -
JAVA_VM_VENDOR - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vm.vendor System Property. -
JAVA_VM_VERSION - -Static variable in class org.apache.commons.lang.SystemUtils -
The java.vm.version System Property. -
join(Collection, char) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided Collection into - a single String containing the provided elements. -
join(Collection, String) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided Collection into - a single String containing the provided elements. -
join(Iterator, char) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided Iterator into - a single String containing the provided elements. -
join(Iterator, String) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided Iterator into - a single String containing the provided elements. -
join(Object[]) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided array into a single String - containing the provided list of elements. -
join(Object[], char) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided array into a single String - containing the provided list of elements. -
join(Object[], char, int, int) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided array into a single String - containing the provided list of elements. -
join(Object[], String) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided array into a single String - containing the provided list of elements. -
join(Object[], String, int, int) - -Static method in class org.apache.commons.lang.StringUtils -
Joins the elements of the provided array into a single String - containing the provided list of elements. -
JVM_RANDOM - -Static variable in class org.apache.commons.lang.math.RandomUtils -
An instance of JVMRandom. -
JVMRandom - class org.apache.commons.lang.math.JVMRandom.
JVMRandom is a wrapper that supports all possible - Random methods via the java.lang.Math#random() method - and its system-wide Random object.
JVMRandom() - -Constructor for class org.apache.commons.lang.math.JVMRandom -
Constructs a new instance. -
-
-

-K

-
-
keep(String, String) - -Static method in class org.apache.commons.lang.CharSetUtils -
Takes an argument in set-syntax, see evaluateSet, - and keeps any of characters present in the specified string. -
keep(String, String[]) - -Static method in class org.apache.commons.lang.CharSetUtils -
Takes an argument in set-syntax, see evaluateSet, - and keeps any of characters present in the specified string. -
-
-

-L

-
-
languagesByCountry(String) - -Static method in class org.apache.commons.lang.LocaleUtils -
Obtains the list of languages supported for a given country. -
lastIndexOf(boolean[], boolean) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(boolean[], boolean, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(byte[], byte) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(byte[], byte, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the last reference to the specified char. -
lastIndexOf(char[], char) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(char[], char, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(char, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the last reference to the specified char. -
lastIndexOf(double[], double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(double[], double, double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within a given tolerance in the array. -
lastIndexOf(double[], double, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(double[], double, int, double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(float[], float) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(float[], float, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(int[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(int[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(long[], long) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(long[], long, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(Object[], Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given object within the array. -
lastIndexOf(Object[], Object, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given object in the array starting at the given index. -
lastIndexOf(short[], short) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value within the array. -
lastIndexOf(short[], short, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Finds the last index of the given value in the array starting at the given index. -
lastIndexOf(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the last reference to the specified string. -
lastIndexOf(String, char) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the last index within a String, handling null. -
lastIndexOf(String, char, int) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the last index within a String from a start position, - handling null. -
lastIndexOf(String, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder to find the last reference to the specified - string starting searching from the given index. -
lastIndexOf(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the last index within a String, handling null. -
lastIndexOf(String, String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the first index within a String, handling null. -
lastIndexOf(StrMatcher) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder using the matcher to find the last match. -
lastIndexOf(StrMatcher, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Searches the string builder using the matcher to find the last - match searching from the given index. -
lastIndexOfAny(String, String[]) - -Static method in class org.apache.commons.lang.StringUtils -
Find the latest index of any of a set of potential substrings. -
left(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the leftmost len characters of a String. -
leftPad(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Left pad a String with spaces (' '). -
leftPad(String, int, char) - -Static method in class org.apache.commons.lang.StringUtils -
Left pad a String with a specified character. -
leftPad(String, int, String) - -Static method in class org.apache.commons.lang.StringUtils -
Left pad a String with a specified String. -
leftString(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Extracts the leftmost characters from the string builder without - throwing an exception. -
length() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets the length of the string builder. -
LF - -Static variable in class org.apache.commons.lang.CharUtils -
- linefeed LF ('\n'). -
LINE_SEPARATOR - -Static variable in class org.apache.commons.lang.SystemUtils -
The line.separator System Property. -
localeLookupList(Locale) - -Static method in class org.apache.commons.lang.LocaleUtils -
Obtains the list of locales to search through when performing - a locale search. -
localeLookupList(Locale, Locale) - -Static method in class org.apache.commons.lang.LocaleUtils -
Obtains the list of locales to search through when performing - a locale search. -
LocaleUtils - class org.apache.commons.lang.LocaleUtils.
Operations to assist when working with a Locale.
LocaleUtils() - -Constructor for class org.apache.commons.lang.LocaleUtils -
LocaleUtils instances should NOT be constructed in standard programming. -
LONG - -Static variable in class org.apache.commons.lang.time.FastDateFormat -
LONG locale dependent date or time style. -
LONG_MINUS_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Long constant for minus one. -
LONG_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Long constant for one. -
LONG_ZERO - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Long constant for zero. -
LongRange - class org.apache.commons.lang.math.LongRange.
LongRange represents an inclusive range of longs.
LongRange(long) - -Constructor for class org.apache.commons.lang.math.LongRange -
Constructs a new LongRange using the specified - number as both the minimum and maximum in this range. -
LongRange(long, long) - -Constructor for class org.apache.commons.lang.math.LongRange -
Constructs a new LongRange with the specified - minimum and maximum numbers (both inclusive). -
LongRange(Number) - -Constructor for class org.apache.commons.lang.math.LongRange -
Constructs a new LongRange using the specified - number as both the minimum and maximum in this range. -
LongRange(Number, Number) - -Constructor for class org.apache.commons.lang.math.LongRange -
Constructs a new LongRange with the specified - minimum and maximum numbers (both inclusive). -
longValue() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the fraction as a long. -
longValue() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Returns the value of this MutableByte as a long. -
longValue() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Returns the value of this MutableShort as a long. -
longValue() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Returns the value of this MutableDouble as a long. -
longValue() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Returns the value of this MutableInt as a long. -
longValue() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Returns the value of this MutableFloat as a long. -
longValue() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Returns the value of this MutableLong as a long. -
lookup(String) - -Method in class org.apache.commons.lang.text.StrLookup -
Looks up a String key to a String value. -
lowerCase(String) - -Static method in class org.apache.commons.lang.StringUtils -
Converts a String to lower case as per String.toLowerCase(). -
-
-

-M

-
-
mapLookup(Map) - -Static method in class org.apache.commons.lang.text.StrLookup -
Returns a lookup which looks up values using a map. -
matchSubclasses - -Static variable in class org.apache.commons.lang.exception.NestableDelegate -
Whether to match subclasses via indexOf. -
max(byte[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the maximum value in an array. -
max(byte, byte, byte) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the maximum of three byte values. -
max(Comparable, Comparable) - -Static method in class org.apache.commons.lang.ObjectUtils -
Null safe comparison of Comparables. -
max(double[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the maximum value in an array. -
max(double, double, double) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the maximum of three double values. -
max(float[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the maximum value in an array. -
max(float, float, float) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the maximum of three float values. -
max(int[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the maximum value in an array. -
max(int, int, int) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the maximum of three int values. -
max(long[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the maximum value in an array. -
max(long, long, long) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the maximum of three long values. -
max(short[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the maximum value in an array. -
max(short, short, short) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the maximum of three short values. -
maximum(int, int, int) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Gets the maximum of three int values. -
maximum(long, long, long) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Gets the maximum of three long values. -
MEDIUM - -Static variable in class org.apache.commons.lang.time.FastDateFormat -
MEDIUM locale dependent date or time style. -
mid(String, int, int) - -Static method in class org.apache.commons.lang.StringUtils -
Gets len characters from the middle of a String. -
midString(int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Extracts some characters from the middle of the string builder without - throwing an exception. -
MILLIS_IN_DAY - -Static variable in class org.apache.commons.lang.time.DateUtils -
Deprecated. Use MILLIS_PER_DAY. This will be removed in Commons Lang 3.0. -
MILLIS_IN_HOUR - -Static variable in class org.apache.commons.lang.time.DateUtils -
Deprecated. Use MILLIS_PER_HOUR. This will be removed in Commons Lang 3.0. -
MILLIS_IN_MINUTE - -Static variable in class org.apache.commons.lang.time.DateUtils -
Deprecated. Use MILLIS_PER_MINUTE. This will be removed in Commons Lang 3.0. -
MILLIS_IN_SECOND - -Static variable in class org.apache.commons.lang.time.DateUtils -
Deprecated. Use MILLIS_PER_SECOND. This will be removed in Commons Lang 3.0. -
MILLIS_PER_DAY - -Static variable in class org.apache.commons.lang.time.DateUtils -
Number of milliseconds in a standard day. -
MILLIS_PER_HOUR - -Static variable in class org.apache.commons.lang.time.DateUtils -
Number of milliseconds in a standard hour. -
MILLIS_PER_MINUTE - -Static variable in class org.apache.commons.lang.time.DateUtils -
Number of milliseconds in a standard minute. -
MILLIS_PER_SECOND - -Static variable in class org.apache.commons.lang.time.DateUtils -
Number of milliseconds in a standard second. -
min(byte[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the minimum value in an array. -
min(byte, byte, byte) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the minimum of three byte values. -
min(Comparable, Comparable) - -Static method in class org.apache.commons.lang.ObjectUtils -
Null safe comparison of Comparables. -
min(double[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the minimum value in an array. -
min(double, double, double) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the minimum of three double values. -
min(float[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the minimum value in an array. -
min(float, float, float) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the minimum of three float values. -
min(int[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the minimum value in an array. -
min(int, int, int) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the minimum of three int values. -
min(long[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the minimum value in an array. -
min(long, long, long) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the minimum of three long values. -
min(short[]) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Returns the minimum value in an array. -
min(short, short, short) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Gets the minimum of three short values. -
minimizeCapacity() - -Method in class org.apache.commons.lang.text.StrBuilder -
Minimizes the capacity to the actual length of the string. -
minimum(int, int, int) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Gets the minimum of three int values. -
minimum(long, long, long) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Gets the minimum of three long values. -
MULTI_LINE_STYLE - -Static variable in class org.apache.commons.lang.builder.ToStringStyle -
The multi line toString style. -
multiplyBy(Fraction) - -Method in class org.apache.commons.lang.math.Fraction -
Multiplies the value of this fraction by another, returning the - result in reduced form. -
Mutable - interface org.apache.commons.lang.mutable.Mutable.
Provides mutable access to a value.
MutableBoolean - class org.apache.commons.lang.mutable.MutableBoolean.
A mutable boolean wrapper.
MutableBoolean() - -Constructor for class org.apache.commons.lang.mutable.MutableBoolean -
Constructs a new MutableBoolean with the default value of false. -
MutableBoolean(boolean) - -Constructor for class org.apache.commons.lang.mutable.MutableBoolean -
Constructs a new MutableBoolean with the specified value. -
MutableBoolean(Boolean) - -Constructor for class org.apache.commons.lang.mutable.MutableBoolean -
Constructs a new MutableBoolean with the specified value. -
MutableByte - class org.apache.commons.lang.mutable.MutableByte.
A mutable byte wrapper.
MutableByte() - -Constructor for class org.apache.commons.lang.mutable.MutableByte -
Constructs a new MutableByte with the default value of zero. -
MutableByte(byte) - -Constructor for class org.apache.commons.lang.mutable.MutableByte -
Constructs a new MutableByte with the specified value. -
MutableByte(Number) - -Constructor for class org.apache.commons.lang.mutable.MutableByte -
Constructs a new MutableByte with the specified value. -
MutableDouble - class org.apache.commons.lang.mutable.MutableDouble.
A mutable double wrapper.
MutableDouble() - -Constructor for class org.apache.commons.lang.mutable.MutableDouble -
Constructs a new MutableDouble with the default value of zero. -
MutableDouble(double) - -Constructor for class org.apache.commons.lang.mutable.MutableDouble -
Constructs a new MutableDouble with the specified value. -
MutableDouble(Number) - -Constructor for class org.apache.commons.lang.mutable.MutableDouble -
Constructs a new MutableDouble with the specified value. -
MutableFloat - class org.apache.commons.lang.mutable.MutableFloat.
A mutable float wrapper.
MutableFloat() - -Constructor for class org.apache.commons.lang.mutable.MutableFloat -
Constructs a new MutableFloat with the default value of zero. -
MutableFloat(float) - -Constructor for class org.apache.commons.lang.mutable.MutableFloat -
Constructs a new MutableFloat with the specified value. -
MutableFloat(Number) - -Constructor for class org.apache.commons.lang.mutable.MutableFloat -
Constructs a new MutableFloat with the specified value. -
MutableInt - class org.apache.commons.lang.mutable.MutableInt.
A mutable int wrapper.
MutableInt() - -Constructor for class org.apache.commons.lang.mutable.MutableInt -
Constructs a new MutableInt with the default value of zero. -
MutableInt(int) - -Constructor for class org.apache.commons.lang.mutable.MutableInt -
Constructs a new MutableInt with the specified value. -
MutableInt(Number) - -Constructor for class org.apache.commons.lang.mutable.MutableInt -
Constructs a new MutableInt with the specified value. -
MutableLong - class org.apache.commons.lang.mutable.MutableLong.
A mutable long wrapper.
MutableLong() - -Constructor for class org.apache.commons.lang.mutable.MutableLong -
Constructs a new MutableLong with the default value of zero. -
MutableLong(long) - -Constructor for class org.apache.commons.lang.mutable.MutableLong -
Constructs a new MutableLong with the specified value. -
MutableLong(Number) - -Constructor for class org.apache.commons.lang.mutable.MutableLong -
Constructs a new MutableLong with the specified value. -
MutableObject - class org.apache.commons.lang.mutable.MutableObject.
A mutable Object wrapper.
MutableObject() - -Constructor for class org.apache.commons.lang.mutable.MutableObject -
Constructs a new MutableObject with the default value of null. -
MutableObject(Object) - -Constructor for class org.apache.commons.lang.mutable.MutableObject -
Constructs a new MutableObject with the specified value. -
MutableShort - class org.apache.commons.lang.mutable.MutableShort.
A mutable short wrapper.
MutableShort() - -Constructor for class org.apache.commons.lang.mutable.MutableShort -
Constructs a new MutableShort with the default value of zero. -
MutableShort(Number) - -Constructor for class org.apache.commons.lang.mutable.MutableShort -
Constructs a new MutableShort with the specified value. -
MutableShort(short) - -Constructor for class org.apache.commons.lang.mutable.MutableShort -
Constructs a new MutableShort with the specified value. -
-
-

-N

-
-
negate() - -Method in class org.apache.commons.lang.math.Fraction -
Gets a fraction that is the negative (-fraction) of this one. -
negate(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Negates the specified boolean. -
Nestable - interface org.apache.commons.lang.exception.Nestable.
An interface to be implemented by Throwable - extensions which would like to be able to nest root exceptions - inside themselves.
NestableDelegate - class org.apache.commons.lang.exception.NestableDelegate.
A shared implementation of the nestable exception functionality.
NestableDelegate(Nestable) - -Constructor for class org.apache.commons.lang.exception.NestableDelegate -
Constructs a new NestableDelegate instance to manage the - specified Nestable. -
NestableError - error org.apache.commons.lang.exception.NestableError.
The base class of all errors which can contain other exceptions.
NestableError() - -Constructor for class org.apache.commons.lang.exception.NestableError -
Constructs a new NestableError without specified - detail message. -
NestableError(String) - -Constructor for class org.apache.commons.lang.exception.NestableError -
Constructs a new NestableError with specified - detail message. -
NestableError(String, Throwable) - -Constructor for class org.apache.commons.lang.exception.NestableError -
Constructs a new NestableError with specified - detail message and nested Throwable. -
NestableError(Throwable) - -Constructor for class org.apache.commons.lang.exception.NestableError -
Constructs a new NestableError with specified - nested Throwable. -
NestableException - exception org.apache.commons.lang.exception.NestableException.
The base class of all exceptions which can contain other exceptions.
NestableException() - -Constructor for class org.apache.commons.lang.exception.NestableException -
Constructs a new NestableException without specified - detail message. -
NestableException(String) - -Constructor for class org.apache.commons.lang.exception.NestableException -
Constructs a new NestableException with specified - detail message. -
NestableException(String, Throwable) - -Constructor for class org.apache.commons.lang.exception.NestableException -
Constructs a new NestableException with specified - detail message and nested Throwable. -
NestableException(Throwable) - -Constructor for class org.apache.commons.lang.exception.NestableException -
Constructs a new NestableException with specified - nested Throwable. -
NestableRuntimeException - exception org.apache.commons.lang.exception.NestableRuntimeException.
The base class of all runtime exceptions which can contain other - exceptions.
NestableRuntimeException() - -Constructor for class org.apache.commons.lang.exception.NestableRuntimeException -
Constructs a new NestableRuntimeException without specified - detail message. -
NestableRuntimeException(String) - -Constructor for class org.apache.commons.lang.exception.NestableRuntimeException -
Constructs a new NestableRuntimeException with specified - detail message. -
NestableRuntimeException(String, Throwable) - -Constructor for class org.apache.commons.lang.exception.NestableRuntimeException -
Constructs a new NestableRuntimeException with specified - detail message and nested Throwable. -
NestableRuntimeException(Throwable) - -Constructor for class org.apache.commons.lang.exception.NestableRuntimeException -
Constructs a new NestableRuntimeException with specified - nested Throwable. -
next() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the next token. -
nextBoolean() - -Method in class org.apache.commons.lang.math.JVMRandom -
Returns the next pseudorandom, uniformly distributed boolean value - from the Math.random() sequence. -
nextBoolean() - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed boolean value - from the Math.random() sequence. -
nextBoolean(Random) - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed boolean value - from the given random sequence. -
nextBytes(byte[]) - -Method in class org.apache.commons.lang.math.JVMRandom -
Unsupported in 2.0. -
nextDouble() - -Method in class org.apache.commons.lang.math.JVMRandom -
Synonymous to the Math.random() call. -
nextDouble() - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence. -
nextDouble(Random) - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the given Random - sequence. -
nextFloat() - -Method in class org.apache.commons.lang.math.JVMRandom -
Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence. -
nextFloat() - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence. -
nextFloat(Random) - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the given Random - sequence. -
nextGaussian() - -Method in class org.apache.commons.lang.math.JVMRandom -
Unsupported in 2.0. -
nextIndex() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the index of the next token to return. -
nextInt() - -Method in class org.apache.commons.lang.math.JVMRandom -
Returns the next pseudorandom, uniformly distributed int value - from the Math.random() sequence. -
nextInt() - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed int value - from the Math.random() sequence. -
nextInt(int) - -Method in class org.apache.commons.lang.math.JVMRandom -
Returns a pseudorandom, uniformly distributed int value between - 0 (inclusive) and the specified value (exclusive), from - the Math.random() sequence. -
nextInt(int) - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns a pseudorandom, uniformly distributed int value - between 0 (inclusive) and the specified value - (exclusive), from the Math.random() sequence. -
nextInt(Random) - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed int value - from the given random sequence. -
nextInt(Random, int) - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns a pseudorandom, uniformly distributed int value - between 0 (inclusive) and the specified value - (exclusive), from the given Random sequence. -
nextLong() - -Method in class org.apache.commons.lang.math.JVMRandom -
Returns the next pseudorandom, uniformly distributed long value - from the Math.random() sequence. -
nextLong() - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed long value - from the Math.random() sequence. -
nextLong(long) - -Static method in class org.apache.commons.lang.math.JVMRandom -
Returns a pseudorandom, uniformly distributed long value between - 0 (inclusive) and the specified value (exclusive), from - the Math.random() sequence. -
nextLong(Random) - -Static method in class org.apache.commons.lang.math.RandomUtils -
Returns the next pseudorandom, uniformly distributed long value - from the given Random sequence. -
nextToken() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the next token from the String. -
NO_FIELD_NAMES_STYLE - -Static variable in class org.apache.commons.lang.builder.ToStringStyle -
The no field names toString style. -
noneLookup() - -Static method in class org.apache.commons.lang.text.StrLookup -
Returns a lookup which always returns null. -
noneMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Matches no characters. -
noNullElements(Collection) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument Collection has null elements or is - null. -
noNullElements(Collection, String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument Collection has null elements or is - null. -
noNullElements(Object[]) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument array has null elements or is - null. -
noNullElements(Object[], String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument array has null elements or is - null. -
notEmpty(Collection) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument Collection is empty (null or no elements). -
notEmpty(Collection, String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument Collection is empty (null or no elements). -
notEmpty(Map) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument Map is empty (null or no elements). -
notEmpty(Map, String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument Map is empty (null or no elements). -
notEmpty(Object[]) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument array is empty (null or no elements). -
notEmpty(Object[], String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument array is empty (null or no elements). -
notEmpty(String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument String is empty (null or zero length). -
notEmpty(String, String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument String is empty (null or zero length). -
NotImplementedException - exception org.apache.commons.lang.NotImplementedException.
Thrown to indicate that a block of code has not been implemented.
NotImplementedException() - -Constructor for class org.apache.commons.lang.NotImplementedException -
Constructs a new NotImplementedException with default message. -
NotImplementedException(Class) - -Constructor for class org.apache.commons.lang.NotImplementedException -
Constructs a new NotImplementedException referencing the specified class. -
NotImplementedException(String) - -Constructor for class org.apache.commons.lang.NotImplementedException -
Constructs a new NotImplementedException with specified - detail message. -
NotImplementedException(String, Throwable) - -Constructor for class org.apache.commons.lang.NotImplementedException -
Constructs a new NotImplementedException with specified - detail message and nested Throwable. -
NotImplementedException(Throwable) - -Constructor for class org.apache.commons.lang.NotImplementedException -
Constructs a new NotImplementedException with specified - nested Throwable and default message. -
notNull(Object) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument is null. -
notNull(Object, String) - -Static method in class org.apache.commons.lang.Validate -
Validate an argument, throwing IllegalArgumentException - if the argument is null. -
NULL - -Static variable in class org.apache.commons.lang.ObjectUtils -
Singleton used as a null placeholder where - null has another meaning. -
NullArgumentException - exception org.apache.commons.lang.NullArgumentException.
Thrown to indicate that an argument was null and should - not have been.
NullArgumentException(String) - -Constructor for class org.apache.commons.lang.NullArgumentException -
Instantiates with the given argument name. -
NumberRange - class org.apache.commons.lang.NumberRange.
Deprecated. Use one of the Range classes in org.apache.commons.lang.math. - Class will be removed in Commons Lang 3.0.
NumberRange - class org.apache.commons.lang.math.NumberRange.
NumberRange represents an inclusive range of - Number objects of the same type.
NumberRange(Number) - -Constructor for class org.apache.commons.lang.NumberRange -
Deprecated. Constructs a new NumberRange using - number as both the minimum and maximum in - this range. -
NumberRange(Number) - -Constructor for class org.apache.commons.lang.math.NumberRange -
Constructs a new NumberRange using the specified - number as both the minimum and maximum in this range. -
NumberRange(Number, Number) - -Constructor for class org.apache.commons.lang.NumberRange -
Deprecated. Constructs a new NumberRange with the specified - minimum and maximum numbers. -
NumberRange(Number, Number) - -Constructor for class org.apache.commons.lang.math.NumberRange -
Constructs a new NumberRange with the specified - minimum and maximum numbers (both inclusive). -
NumberUtils - class org.apache.commons.lang.NumberUtils.
Deprecated. Moved to org.apache.commons.lang.math. - Class will be removed in Commons Lang 3.0.
NumberUtils - class org.apache.commons.lang.math.NumberUtils.
Provides extra functionality for Java Number classes.
NumberUtils() - -Constructor for class org.apache.commons.lang.NumberUtils -
Deprecated. NumberUtils instances should NOT be constructed in standard programming. -
NumberUtils() - -Constructor for class org.apache.commons.lang.math.NumberUtils -
NumberUtils instances should NOT be constructed in standard programming. -
-
-

-O

-
-
ObjectUtils - class org.apache.commons.lang.ObjectUtils.
Operations on Object.
ObjectUtils.Null - class org.apache.commons.lang.ObjectUtils.Null.
Class used as a null placeholder where null - has another meaning.
ObjectUtils() - -Constructor for class org.apache.commons.lang.ObjectUtils -
ObjectUtils instances should NOT be constructed in - standard programming. -
ONE - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 1. -
ONE_FIFTH - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 1/5. -
ONE_HALF - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 1/2. -
ONE_QUARTER - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 1/4. -
ONE_THIRD - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 1/3. -
ordinalIndexOf(String, String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Finds the n-th index within a String, handling null. -
org.apache.commons.lang - package org.apache.commons.lang
Provides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes.
org.apache.commons.lang.builder - package org.apache.commons.lang.builder
Assists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods.
org.apache.commons.lang.enum - package org.apache.commons.lang.enum
-Deprecated and replaced by org.apache.commons.lang.enums -and will be removed in version 3.0.
org.apache.commons.lang.enums - package org.apache.commons.lang.enums
-Provides an implementation of the C style enum in the Java world.
org.apache.commons.lang.exception - package org.apache.commons.lang.exception
Provides JDK 1.4 style Nested Exception functionality for those on prior Java -versions.
org.apache.commons.lang.math - package org.apache.commons.lang.math
Extends java.math for business mathematical classes.
org.apache.commons.lang.mutable - package org.apache.commons.lang.mutable
Provides typed mutable wrappers to primitive values and Object.
org.apache.commons.lang.text - package org.apache.commons.lang.text
-Provides classes for handling and manipulating text, partly as an extension to java.text.
org.apache.commons.lang.time - package org.apache.commons.lang.time
-Provides classes and methods to work with dates and durations.
OS_ARCH - -Static variable in class org.apache.commons.lang.SystemUtils -
The os.arch System Property. -
OS_NAME - -Static variable in class org.apache.commons.lang.SystemUtils -
The os.name System Property. -
OS_VERSION - -Static variable in class org.apache.commons.lang.SystemUtils -
The os.version System Property. -
overlaps(NumberRange) - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Tests whether the specified range overlaps with this range - using double comparison. -
overlapsRange(Range) - -Method in class org.apache.commons.lang.math.Range -
Tests whether the specified range overlaps with this range. -
overlapsRange(Range) - -Method in class org.apache.commons.lang.math.LongRange -
Tests whether the specified range overlaps with this range - using long comparison. -
overlapsRange(Range) - -Method in class org.apache.commons.lang.math.DoubleRange -
Tests whether the specified range overlaps with this range - using double comparison. -
overlapsRange(Range) - -Method in class org.apache.commons.lang.math.FloatRange -
Tests whether the specified range overlaps with this range - using float comparison. -
overlapsRange(Range) - -Method in class org.apache.commons.lang.math.IntRange -
Tests whether the specified range overlaps with this range - using int comparison. -
overlay(String, String, int, int) - -Static method in class org.apache.commons.lang.StringUtils -
Overlays part of a String with another String. -
overlayString(String, String, int, int) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use better named StringUtils.overlay(String, String, int, int) instead. - Method will be removed in Commons Lang 3.0. -
-
-

-P

-
-
PACKAGE_SEPARATOR - -Static variable in class org.apache.commons.lang.ClassUtils -
The package separator String: ".". -
PACKAGE_SEPARATOR_CHAR - -Static variable in class org.apache.commons.lang.ClassUtils -
The package separator character: '.' == {@value}. -
parseDate(String, String[]) - -Static method in class org.apache.commons.lang.time.DateUtils -
Parses a string representing a date by trying a variety of different parsers. -
parseObject(String, ParsePosition) - -Method in class org.apache.commons.lang.text.CompositeFormat -
Uses the parser Format instance. -
parseObject(String, ParsePosition) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Parsing is not supported. -
parsePattern() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Returns a list of Rules given a pattern. -
parseToken(String, int[]) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Performs the parsing of tokens. -
PATH_SEPARATOR - -Static variable in class org.apache.commons.lang.SystemUtils -
The path.separator System Property. -
pow(int) - -Method in class org.apache.commons.lang.math.Fraction -
Gets a fraction that is raised to the passed in power. -
prechomp(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringUtils.substringAfter(String,String) instead. - Method will be removed in Commons Lang 3.0. -
previous() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the token previous to the last returned token. -
previousIndex() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the index of the previous token. -
previousToken() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the previous token from the String. -
primitivesToWrappers(Class[]) - -Static method in class org.apache.commons.lang.ClassUtils -
Converts the specified array of primitive Class objects to an array of - its corresponding wrapper Class objects. -
primitiveToWrapper(Class) - -Static method in class org.apache.commons.lang.ClassUtils -
Converts the specified primitive Class object to its corresponding - wrapper Class object. -
printPartialStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.NotImplementedException -
Prints the stack trace for this exception only (root cause not included) - using the specified writer. -
printPartialStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
printPartialStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
printPartialStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
printPartialStackTrace(PrintWriter) - -Method in interface org.apache.commons.lang.exception.Nestable -
Prints the stack trace for this exception only--root cause not - included--using the provided writer. -
printRootCauseStackTrace(Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Prints a compact stack trace for the root cause of a throwable - to System.err. -
printRootCauseStackTrace(Throwable, PrintStream) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Prints a compact stack trace for the root cause of a throwable. -
printRootCauseStackTrace(Throwable, PrintWriter) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Prints a compact stack trace for the root cause of a throwable. -
printStackTrace() - -Method in class org.apache.commons.lang.NotImplementedException -
Prints the stack trace of this exception. -
printStackTrace() - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
printStackTrace() - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
printStackTrace() - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Prints the stack trace of this exception the the standar error - stream. -
printStackTrace() - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
printStackTrace(PrintStream) - -Method in class org.apache.commons.lang.NotImplementedException -
Prints the stack trace of this exception to the specified stream. -
printStackTrace(PrintStream) - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
printStackTrace(PrintStream) - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
printStackTrace(PrintStream) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Prints the stack trace of this exception to the specified - stream. -
printStackTrace(PrintStream) - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
printStackTrace(PrintStream) - -Method in interface org.apache.commons.lang.exception.Nestable -
Prints the stack trace of this exception to the specified print - stream. -
printStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.NotImplementedException -
Prints the stack trace of this exception to the specified writer. -
printStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.exception.NestableRuntimeException -
{@inheritDoc} -
printStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.exception.NestableError -
{@inheritDoc} -
printStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Prints the stack trace of this exception to the specified - writer. -
printStackTrace(PrintWriter) - -Method in class org.apache.commons.lang.exception.NestableException -
{@inheritDoc} -
printStackTrace(PrintWriter) - -Method in interface org.apache.commons.lang.exception.Nestable -
Prints the stack trace of this exception to the specified print - writer. -
-
-

-Q

-
-
quoteMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Returns a matcher which matches the single or double quote character. -
-
-

-R

-
-
random(int) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
random(int, boolean, boolean) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
random(int, char[]) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
random(int, int, int, boolean, boolean) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
random(int, int, int, boolean, boolean, char[]) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string based on a variety of options, using - default source of randomness. -
random(int, int, int, boolean, boolean, char[], Random) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string based on a variety of options, using - supplied source of randomness. -
random(int, String) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
randomAlphabetic(int) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
randomAlphanumeric(int) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
randomAscii(int) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
randomNumeric(int) - -Static method in class org.apache.commons.lang.RandomStringUtils -
Creates a random string whose length is the number of characters - specified. -
RandomStringUtils - class org.apache.commons.lang.RandomStringUtils.
Operations for random Strings.
RandomStringUtils() - -Constructor for class org.apache.commons.lang.RandomStringUtils -
RandomStringUtils instances should NOT be constructed in - standard programming. -
RandomUtils - class org.apache.commons.lang.math.RandomUtils.
RandomUtils is a wrapper that supports all possible - Random methods via the java.lang.Math#random() - method and its system-wide Random object.
RandomUtils() - -Constructor for class org.apache.commons.lang.math.RandomUtils -
  -
Range - class org.apache.commons.lang.math.Range.
Range represents a range of numbers of the same type.
RANGE_MONTH_MONDAY - -Static variable in class org.apache.commons.lang.time.DateUtils -
A month range, the week starting on Monday. -
RANGE_MONTH_SUNDAY - -Static variable in class org.apache.commons.lang.time.DateUtils -
A month range, the week starting on Sunday. -
RANGE_WEEK_CENTER - -Static variable in class org.apache.commons.lang.time.DateUtils -
A week range, centered around the day focused. -
RANGE_WEEK_MONDAY - -Static variable in class org.apache.commons.lang.time.DateUtils -
A week range, starting on Monday. -
RANGE_WEEK_RELATIVE - -Static variable in class org.apache.commons.lang.time.DateUtils -
A week range, starting on the day focused. -
RANGE_WEEK_SUNDAY - -Static variable in class org.apache.commons.lang.time.DateUtils -
A week range, starting on Sunday. -
Range() - -Constructor for class org.apache.commons.lang.math.Range -
Constructs a new range. -
readResolve() - -Method in class org.apache.commons.lang.enum.Enum -
Deprecated. Handle the deserialization of the class to ensure that multiple - copies are not wastefully created, or illegal enum types created. -
readResolve() - -Method in class org.apache.commons.lang.enums.Enum -
Handle the deserialization of the class to ensure that multiple - copies are not wastefully created, or illegal enum types created. -
reduce() - -Method in class org.apache.commons.lang.math.Fraction -
Reduce the fraction to the smallest values for the numerator and - denominator, returning the result. -
reflectionAppendArray(Object) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Append to the toString an Object array. -
reflectionAppendArrayDetail(StringBuffer, String, Object) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Append to the toString the detail of an array type. -
reflectionCompare(Object, Object) - -Static method in class org.apache.commons.lang.builder.CompareToBuilder -
Compares two Objects via reflection. -
reflectionCompare(Object, Object, boolean) - -Static method in class org.apache.commons.lang.builder.CompareToBuilder -
Compares two Objects via reflection. -
reflectionCompare(Object, Object, boolean, Class) - -Static method in class org.apache.commons.lang.builder.CompareToBuilder -
Compares two Objects via reflection. -
reflectionCompare(Object, Object, boolean, Class, String[]) - -Static method in class org.apache.commons.lang.builder.CompareToBuilder -
Compares two Objects via reflection. -
reflectionCompare(Object, Object, Collection) - -Static method in class org.apache.commons.lang.builder.CompareToBuilder -
Compares two Objects via reflection. -
reflectionCompare(Object, Object, String[]) - -Static method in class org.apache.commons.lang.builder.CompareToBuilder -
Compares two Objects via reflection. -
reflectionEquals(Object, Object) - -Static method in class org.apache.commons.lang.builder.EqualsBuilder -
This method uses reflection to determine if the two Objects - are equal. -
reflectionEquals(Object, Object, boolean) - -Static method in class org.apache.commons.lang.builder.EqualsBuilder -
This method uses reflection to determine if the two Objects - are equal. -
reflectionEquals(Object, Object, boolean, Class) - -Static method in class org.apache.commons.lang.builder.EqualsBuilder -
This method uses reflection to determine if the two Objects - are equal. -
reflectionEquals(Object, Object, boolean, Class, String[]) - -Static method in class org.apache.commons.lang.builder.EqualsBuilder -
This method uses reflection to determine if the two Objects - are equal. -
reflectionEquals(Object, Object, Collection) - -Static method in class org.apache.commons.lang.builder.EqualsBuilder -
This method uses reflection to determine if the two Objects - are equal. -
reflectionEquals(Object, Object, String[]) - -Static method in class org.apache.commons.lang.builder.EqualsBuilder -
This method uses reflection to determine if the two Objects - are equal. -
reflectionHashCode(int, int, Object) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
- This method uses reflection to build a valid hash code. -
reflectionHashCode(int, int, Object, boolean) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
- This method uses reflection to build a valid hash code. -
reflectionHashCode(int, int, Object, boolean, Class) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
Calls HashCodeBuilder.reflectionHashCode(int, int, Object, boolean, Class, String[]) with excludeFields set to - null. -
reflectionHashCode(int, int, Object, boolean, Class, String[]) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
- This method uses reflection to build a valid hash code. -
reflectionHashCode(Object) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
- This method uses reflection to build a valid hash code. -
reflectionHashCode(Object, boolean) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
- This method uses reflection to build a valid hash code. -
reflectionHashCode(Object, Collection) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
- This method uses reflection to build a valid hash code. -
reflectionHashCode(Object, String[]) - -Static method in class org.apache.commons.lang.builder.HashCodeBuilder -
- This method uses reflection to build a valid hash code. -
reflectionToString(Object) - -Static method in class org.apache.commons.lang.builder.ToStringBuilder -
Forwards to ReflectionToStringBuilder. -
reflectionToString(Object, ToStringStyle) - -Static method in class org.apache.commons.lang.builder.ToStringBuilder -
Forwards to ReflectionToStringBuilder. -
reflectionToString(Object, ToStringStyle, boolean) - -Static method in class org.apache.commons.lang.builder.ToStringBuilder -
Forwards to ReflectionToStringBuilder. -
reflectionToString(Object, ToStringStyle, boolean, Class) - -Static method in class org.apache.commons.lang.builder.ToStringBuilder -
Forwards to ReflectionToStringBuilder. -
ReflectionToStringBuilder - class org.apache.commons.lang.builder.ReflectionToStringBuilder.
- Assists in implementing Object.toString() methods using reflection.
ReflectionToStringBuilder(Object) - -Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Constructor. -
ReflectionToStringBuilder(Object, ToStringStyle) - -Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Constructor. -
ReflectionToStringBuilder(Object, ToStringStyle, StringBuffer) - -Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Constructor. -
ReflectionToStringBuilder(Object, ToStringStyle, StringBuffer, Class, boolean) - -Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Deprecated. Use ReflectionToStringBuilder.ReflectionToStringBuilder(Object,ToStringStyle,StringBuffer,Class,boolean,boolean). -
ReflectionToStringBuilder(Object, ToStringStyle, StringBuffer, Class, boolean, boolean) - -Constructor for class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Constructor. -
reformat(String) - -Method in class org.apache.commons.lang.text.CompositeFormat -
Utility method to parse and then reformat a String. -
remove() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Unsupported ListIterator operation. -
remove(boolean[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(byte[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(char[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(double[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(float[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(int[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(long[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(Object[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(short[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the element at the specified position from the specified array. -
remove(String, char) - -Static method in class org.apache.commons.lang.StringUtils -
Removes all occurances of a character from within the source string. -
remove(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes all occurances of a substring from within the source string. -
removeCauseMethodName(String) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Removes from the list of method names used in the search for Throwable - objects. -
removeCommonFrames(List, List) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Removes common frames from the cause trace given the two stack traces. -
removeElement(boolean[], boolean) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(byte[], byte) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(char[], char) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(double[], double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(float[], float) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(int[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(long[], long) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(Object[], Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeElement(short[], short) - -Static method in class org.apache.commons.lang.ArrayUtils -
Removes the first occurrence of the specified element from the - specified array. -
removeEnd(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes a substring only if it is at the end of a source string, - otherwise returns the source string. -
removeLastFieldSeparator(StringBuffer) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Remove the last field separator from the buffer. -
removeStart(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes a substring only if it is at the begining of a source string, - otherwise returns the source string. -
repeat(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Repeat a String repeat times to form a - new String. -
replace(char[]) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source array as a template. -
replace(char[], int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source array as a template. -
replace(int, int, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Replaces a portion of the string builder with another string. -
replace(Object) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables in the given source object with - their matching values from the resolver. -
replace(Object, Map) - -Static method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables in the given source object with - their matching values from the map. -
replace(Object, Map, String, String) - -Static method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables in the given source object with - their matching values from the map. -
replace(StrBuilder) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template. -
replace(StrBuilder, int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template. -
replace(String) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source string as a template. -
replace(StringBuffer) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source buffer as a template. -
replace(StringBuffer, int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source buffer as a template. -
replace(String, int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables with their matching values - from the resolver using the given source string as a template. -
replace(String, String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Replaces all occurrences of a String within another String. -
replace(String, String, String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Replaces a String with another String inside a larger String, - for the first max values of the search String. -
replace(StrMatcher, String, int, int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Advanced search and replaces within the builder using a matcher. -
replaceAll(char, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Replaces the search character with the replace character - throughout the builder. -
replaceAll(String, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Replaces the search string with the replace string throughout the builder. -
replaceAll(StrMatcher, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Replaces all matches within the builder with the replace string. -
replaceChars(String, char, char) - -Static method in class org.apache.commons.lang.StringUtils -
Replaces all occurrences of a character in a String with another. -
replaceChars(String, String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Replaces multiple characters in a String in one go. -
replaceFirst(char, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Replaces the first instance of the search character with the - replace character in the builder. -
replaceFirst(String, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Replaces the first instance of the search string with the replace string. -
replaceFirst(StrMatcher, String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Replaces the first match within the builder with the replace string. -
replaceIn(StrBuilder) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver. -
replaceIn(StrBuilder, int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver. -
replaceIn(StringBuffer) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables within the given source buffer - with their matching values from the resolver. -
replaceIn(StringBuffer, int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables within the given source buffer - with their matching values from the resolver. -
replaceOnce(String, String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Replaces a String with another String inside a larger String, once. -
replaceSystemProperties(Object) - -Static method in class org.apache.commons.lang.text.StrSubstitutor -
Replaces all the occurrences of variables in the given source object with - their matching values from the system properties. -
reset() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Resets this tokenizer, forgetting all parsing and iteration already completed. -
reset() - -Method in class org.apache.commons.lang.time.StopWatch -
Resets the stopwatch. -
reset(char[]) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Reset this tokenizer, giving it a new input string to parse. -
reset(String) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Reset this tokenizer, giving it a new input string to parse. -
resolveVariable(String, StrBuilder, int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Internal method that resolves the value of a variable. -
resume() - -Method in class org.apache.commons.lang.time.StopWatch -
Resume the stopwatch after a suspend. -
reverse() - -Method in class org.apache.commons.lang.text.StrBuilder -
Reverses the string builder placing each character in the opposite index. -
reverse(boolean[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(byte[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(char[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(double[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(float[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(int[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(long[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(Object[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(short[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Reverses the order of the given array. -
reverse(String) - -Static method in class org.apache.commons.lang.StringUtils -
Reverses a String as per StringBuffer.reverse(). -
reverseDelimited(String, char) - -Static method in class org.apache.commons.lang.StringUtils -
Reverses a String that is delimited by a specific character. -
reverseDelimitedString(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use StringUtils.reverseDelimited(String, char) instead. - This method is broken as the join doesn't know which char to use. - Method will be removed in Commons Lang 3.0. -
right(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the rightmost len characters of a String. -
rightPad(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Right pad a String with spaces (' '). -
rightPad(String, int, char) - -Static method in class org.apache.commons.lang.StringUtils -
Right pad a String with a specified character. -
rightPad(String, int, String) - -Static method in class org.apache.commons.lang.StringUtils -
Right pad a String with a specified String. -
rightString(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Extracts the rightmost characters from the string builder without - throwing an exception. -
round(Calendar, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Round this date, leaving the field specified as the most - significant field. -
round(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Round this date, leaving the field specified as the most - significant field. -
round(Object, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Round this date, leaving the field specified as the most - significant field. -
-
-

-S

-
-
selectNumberRule(int, int) - -Method in class org.apache.commons.lang.time.FastDateFormat -
Gets an appropriate rule for the padding required. -
SEMI_MONTH - -Static variable in class org.apache.commons.lang.time.DateUtils -
This is half a month, so this represents whether a date is in the top - or bottom half of the month. -
SerializationException - exception org.apache.commons.lang.SerializationException.
Exception thrown when the Serialization process fails.
SerializationException() - -Constructor for class org.apache.commons.lang.SerializationException -
Constructs a new SerializationException without specified - detail message. -
SerializationException(String) - -Constructor for class org.apache.commons.lang.SerializationException -
Constructs a new SerializationException with specified - detail message. -
SerializationException(String, Throwable) - -Constructor for class org.apache.commons.lang.SerializationException -
Constructs a new SerializationException with specified - detail message and nested Throwable. -
SerializationException(Throwable) - -Constructor for class org.apache.commons.lang.SerializationException -
Constructs a new SerializationException with specified - nested Throwable. -
SerializationUtils - class org.apache.commons.lang.SerializationUtils.
Assists with the serialization process and performs additional functionality based - on serialization.
SerializationUtils() - -Constructor for class org.apache.commons.lang.SerializationUtils -
SerializationUtils instances should NOT be constructed in standard programming. -
serialize(Serializable) - -Static method in class org.apache.commons.lang.SerializationUtils -
Serializes an Object to a byte array for - storage/serialization. -
serialize(Serializable, OutputStream) - -Static method in class org.apache.commons.lang.SerializationUtils -
Serializes an Object to the specified stream. -
set(int) - -Method in class org.apache.commons.lang.BitField -
Sets the bits. -
set(Object) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Unsupported ListIterator operation. -
setAppendStatics(boolean) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Sets whether or not to append static fields. -
setAppendTransients(boolean) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Sets whether or not to append transient fields. -
setArrayContentDetail(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether to output array content detail. -
setArrayContentDetail(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether to output array content detail. -
setArrayEnd(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the array end text. -
setArrayEnd(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the array end text. -
setArraySeparator(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the array separator text. -
setArraySeparator(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the array separator text. -
setArrayStart(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the array start text. -
setArrayStart(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the array start text. -
setBoolean(int, boolean) - -Method in class org.apache.commons.lang.BitField -
Sets a boolean BitField. -
setByte(byte) - -Method in class org.apache.commons.lang.BitField -
Sets the bits. -
setByteBoolean(byte, boolean) - -Method in class org.apache.commons.lang.BitField -
Sets a boolean BitField. -
setCause(Throwable, Throwable) - -Static method in class org.apache.commons.lang.exception.ExceptionUtils -
Sets the cause of a Throwable using introspection, allowing - source code compatibility between pre-1.4 and post-1.4 Java releases. -
setCharAt(int, char) - -Method in class org.apache.commons.lang.text.StrBuilder -
Sets the character at the specified index. -
setContentEnd(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the content end text. -
setContentEnd(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the content end text. -
setContentStart(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the content start text. -
setContentStart(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the content start text. -
setDefaultFullDetail(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether to use full detail when the caller doesn't - specify. -
setDefaultFullDetail(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether to use full detail when the caller doesn't - specify. -
setDefaultStyle(ToStringStyle) - -Static method in class org.apache.commons.lang.builder.ToStringBuilder -
Sets the default ToStringStyle to use. -
setDelimiterChar(char) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Sets the field delimiter character. -
setDelimiterMatcher(StrMatcher) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Sets the field delimiter matcher. -
setDelimiterString(String) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Sets the field delimiter string. -
setEmptyTokenAsNull(boolean) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Sets whether the tokenizer should return empty tokens as null. -
setEquals(boolean) - -Method in class org.apache.commons.lang.builder.EqualsBuilder -
Sets the isEquals value. -
setEscapeChar(char) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the escape character. -
setExcludeFieldNames(String[]) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Sets the field names to exclude. -
setFieldNameValueSeparator(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the field name value separator text. -
setFieldNameValueSeparator(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the field name value separator text. -
setFieldSeparator(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the field separator text. -
setFieldSeparator(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the field separator text. -
setFieldSeparatorAtEnd(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether the field separator should be added at the end - of each buffer. -
setFieldSeparatorAtEnd(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether the field separator should be added at the end - of each buffer. -
setFieldSeparatorAtStart(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether the field separator should be added at the start - of each buffer. -
setFieldSeparatorAtStart(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether the field separator should be added at the start - of each buffer. -
setIgnoredChar(char) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Set the character to ignore. -
setIgnoredMatcher(StrMatcher) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Set the matcher for characters to ignore. -
setIgnoreEmptyTokens(boolean) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Sets whether the tokenizer should ignore and not return empty tokens. -
setLength(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Updates the length of the builder by either dropping the last characters - or adding filler of unicode zero. -
setNewLineText(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Sets the text to be appended when a new line is added. -
setNullText(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the text to output when null found. -
setNullText(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the text to output when null found. -
setNullText(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Sets the text to be appended when null is added. -
setQuoteChar(char) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Sets the quote character to use. -
setQuoteMatcher(StrMatcher) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Set the quote matcher to use. -
setSeed(long) - -Method in class org.apache.commons.lang.math.JVMRandom -
Unsupported in 2.0. -
setShort(short) - -Method in class org.apache.commons.lang.BitField -
Sets the bits. -
setShortBoolean(short, boolean) - -Method in class org.apache.commons.lang.BitField -
Sets a boolean BitField. -
setShortClassName(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Deprecated. Use ToStringStyle.setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0. -
setShortClassName(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Deprecated. Use StandardToStringStyle.setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0. -
setShortValue(short, short) - -Method in class org.apache.commons.lang.BitField -
Replaces the bits with new values. -
setSizeEndText(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the end text to output when a Collection, - Map or array size is output. -
setSizeEndText(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the end text to output when a Collection, - Map or Array size is output. -
setSizeStartText(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the start text to output when a Collection, - Map or array size is output. -
setSizeStartText(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the start text to output when a Collection, - Map or Array size is output. -
setSummaryObjectEndText(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the end text to output when an Object is - output in summary mode. -
setSummaryObjectEndText(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the end text to output when an Object is - output in summary mode. -
setSummaryObjectStartText(String) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets the start text to output when an Object is - output in summary mode. -
setSummaryObjectStartText(String) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets the start text to output when an Object is - output in summary mode. -
setTrimmerMatcher(StrMatcher) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Sets the matcher for characters to trim. -
setUpToClass(Class) - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Sets the last super class to stop appending fields for. -
setUseClassName(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether to use the class name. -
setUseClassName(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether to use the class name. -
setUseFieldNames(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether to use the field names passed in. -
setUseFieldNames(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether to use the field names passed in. -
setUseIdentityHashCode(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether to use the identity hash code. -
setUseIdentityHashCode(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether to use the identity hash code. -
setUseShortClassName(boolean) - -Method in class org.apache.commons.lang.builder.ToStringStyle -
Sets whether to output short or long class names. -
setUseShortClassName(boolean) - -Method in class org.apache.commons.lang.builder.StandardToStringStyle -
Sets whether to output short or long class names. -
setValue(boolean) - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Sets the value. -
setValue(byte) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Sets the value. -
setValue(double) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Sets the value. -
setValue(float) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Sets the value. -
setValue(int) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Sets the value. -
setValue(int, int) - -Method in class org.apache.commons.lang.BitField -
Replaces the bits with new values. -
setValue(long) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Sets the value. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Sets the value from any Number instance. -
setValue(Object) - -Method in interface org.apache.commons.lang.mutable.Mutable -
Sets the value of this mutable. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Sets the value from any Number instance. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Sets the value from any Number instance. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Sets the value from any Number instance. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Sets the value from any Number instance. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableObject -
Sets the value. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Sets the value from any Number instance. -
setValue(Object) - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Sets the value from any Boolean instance. -
setValue(short) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Sets the value. -
setVariablePrefix(char) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the variable prefix to use. -
setVariablePrefix(String) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the variable prefix to use. -
setVariablePrefixMatcher(StrMatcher) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the variable prefix matcher currently in use. -
setVariableResolver(StrLookup) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the VariableResolver that is used to lookup variables. -
setVariableSuffix(char) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the variable suffix to use. -
setVariableSuffix(String) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the variable suffix to use. -
setVariableSuffixMatcher(StrMatcher) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Sets the variable suffix matcher currently in use. -
SHORT - -Static variable in class org.apache.commons.lang.time.FastDateFormat -
SHORT locale dependent date or time style. -
SHORT_MINUS_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Short constant for minus one. -
SHORT_ONE - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Short constant for one. -
SHORT_PREFIX_STYLE - -Static variable in class org.apache.commons.lang.builder.ToStringStyle -
The short prefix toString style. -
SHORT_ZERO - -Static variable in class org.apache.commons.lang.math.NumberUtils -
Reusable Short constant for zero. -
shortValue() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Returns the value of this MutableShort as a short. -
SIMPLE_STYLE - -Static variable in class org.apache.commons.lang.builder.ToStringStyle -
The simple toString style. -
singleQuoteMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Returns a matcher which matches the single quote character. -
size - -Variable in class org.apache.commons.lang.text.StrBuilder -
Current size of the buffer. -
size() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the number of tokens found in the String. -
size() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets the length of the string builder. -
SMTP_DATETIME_FORMAT - -Static variable in class org.apache.commons.lang.time.DateFormatUtils -
SMTP (and probably other) date headers. -
spaceMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Returns a matcher which matches the space character. -
split() - -Method in class org.apache.commons.lang.time.StopWatch -
Split the time. -
split(String) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, using whitespace as the - separator. -
split(String, char) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, separator specified. -
split(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, separators specified. -
split(String, String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array with a maximum length, - separators specified. -
splitByWholeSeparator(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, separator string specified. -
splitByWholeSeparator(String, String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, separator string specified. -
splitMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Matches the same characters as StringTokenizer, - namely space, tab, newline and formfeed. -
splitPreserveAllTokens(String) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, using whitespace as the - separator, preserving all tokens, including empty tokens created by - adjacent separators. -
splitPreserveAllTokens(String, char) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, separator specified, - preserving all tokens, including empty tokens created by adjacent - separators. -
splitPreserveAllTokens(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array, separators specified, - preserving all tokens, including empty tokens created by adjacent - separators. -
splitPreserveAllTokens(String, String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Splits the provided text into an array with a maximum length, - separators specified, preserving all tokens, including empty tokens - created by adjacent separators. -
squeeze(String, String) - -Static method in class org.apache.commons.lang.CharSetUtils -
Squeezes any repetitions of a character that is mentioned in the - supplied set. -
squeeze(String, String[]) - -Static method in class org.apache.commons.lang.CharSetUtils -
Squeezes any repetitions of a character that is mentioned in the - supplied set. -
StandardToStringStyle - class org.apache.commons.lang.builder.StandardToStringStyle.
Works with ToStringBuilder to create a toString.
StandardToStringStyle() - -Constructor for class org.apache.commons.lang.builder.StandardToStringStyle -
Constructor. -
start() - -Method in class org.apache.commons.lang.time.StopWatch -
Start the stopwatch. -
startsWith(String) - -Method in class org.apache.commons.lang.text.StrBuilder -
Checks whether this builder starts with the specified string. -
stop() - -Method in class org.apache.commons.lang.time.StopWatch -
Stop the stopwatch. -
StopWatch - class org.apache.commons.lang.time.StopWatch.
StopWatch provides a convenient API for timings.
StopWatch() - -Constructor for class org.apache.commons.lang.time.StopWatch -
Constructor. -
StrBuilder - class org.apache.commons.lang.text.StrBuilder.
Builds a string from constituent parts providing a more flexible and powerful API - than StringBuffer.
StrBuilder() - -Constructor for class org.apache.commons.lang.text.StrBuilder -
Constructor that creates an empty builder initial capacity 32 characters. -
StrBuilder(int) - -Constructor for class org.apache.commons.lang.text.StrBuilder -
Constructor that creates an empty builder the specified initial capacity. -
StrBuilder(String) - -Constructor for class org.apache.commons.lang.text.StrBuilder -
Constructor that creates a builder from the string, allocating - 32 extra characters for growth. -
StringEscapeUtils - class org.apache.commons.lang.StringEscapeUtils.
Escapes and unescapes Strings for - Java, Java Script, HTML, XML, and SQL.
StringEscapeUtils() - -Constructor for class org.apache.commons.lang.StringEscapeUtils -
StringEscapeUtils instances should NOT be constructed in - standard programming. -
stringMatcher(String) - -Static method in class org.apache.commons.lang.text.StrMatcher -
Constructor that creates a matcher from a string. -
stringToInt(String) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to an int, returning - zero if the conversion fails. -
stringToInt(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Deprecated. Use NumberUtils.toInt(String) - This method will be removed in Commons Lang 3.0 -
stringToInt(String, int) - -Static method in class org.apache.commons.lang.NumberUtils -
Deprecated. Convert a String to an int, returning a - default value if the conversion fails. -
stringToInt(String, int) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Deprecated. Use NumberUtils.toInt(String, int) - This method will be removed in Commons Lang 3.0 -
StringUtils - class org.apache.commons.lang.StringUtils.
Operations on String that are - null safe.
StringUtils() - -Constructor for class org.apache.commons.lang.StringUtils -
StringUtils instances should NOT be constructed in - standard programming. -
strip(String) - -Static method in class org.apache.commons.lang.StringUtils -
Strips whitespace from the start and end of a String. -
strip(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Strips any of a set of characters from the start and end of a String. -
stripAll(String[]) - -Static method in class org.apache.commons.lang.StringUtils -
Strips whitespace from the start and end of every String in an array. -
stripAll(String[], String) - -Static method in class org.apache.commons.lang.StringUtils -
Strips any of a set of characters from the start and end of every - String in an array. -
stripEnd(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Strips any of a set of characters from the end of a String. -
stripStart(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Strips any of a set of characters from the start of a String. -
stripToEmpty(String) - -Static method in class org.apache.commons.lang.StringUtils -
Strips whitespace from the start and end of a String returning - an empty String if null input. -
stripToNull(String) - -Static method in class org.apache.commons.lang.StringUtils -
Strips whitespace from the start and end of a String returning - null if the String is empty ("") after the strip. -
StrLookup - class org.apache.commons.lang.text.StrLookup.
Lookup a String key to a String value.
StrLookup() - -Constructor for class org.apache.commons.lang.text.StrLookup -
Constructor. -
StrMatcher - class org.apache.commons.lang.text.StrMatcher.
A matcher class that can be queried to determine if a character array - portion matches.
StrMatcher() - -Constructor for class org.apache.commons.lang.text.StrMatcher -
Constructor. -
StrSubstitutor - class org.apache.commons.lang.text.StrSubstitutor.
Substitutes variables within a string by values.
StrSubstitutor() - -Constructor for class org.apache.commons.lang.text.StrSubstitutor -
Creates a new instance with defaults for variable prefix and suffix - and the escaping character. -
StrSubstitutor(Map) - -Constructor for class org.apache.commons.lang.text.StrSubstitutor -
Creates a new instance and initializes it. -
StrSubstitutor(Map, String, String) - -Constructor for class org.apache.commons.lang.text.StrSubstitutor -
Creates a new instance and initializes it. -
StrSubstitutor(Map, String, String, char) - -Constructor for class org.apache.commons.lang.text.StrSubstitutor -
Creates a new instance and initializes it. -
StrSubstitutor(StrLookup) - -Constructor for class org.apache.commons.lang.text.StrSubstitutor -
Creates a new instance and initializes it. -
StrSubstitutor(StrLookup, String, String, char) - -Constructor for class org.apache.commons.lang.text.StrSubstitutor -
Creates a new instance and initializes it. -
StrSubstitutor(StrLookup, StrMatcher, StrMatcher, char) - -Constructor for class org.apache.commons.lang.text.StrSubstitutor -
Creates a new instance and initializes it. -
StrTokenizer - class org.apache.commons.lang.text.StrTokenizer.
Tokenizes a string based based on delimiters (separators) - and supporting quoting and ignored character concepts.
StrTokenizer() - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer, but with no text to tokenize. -
StrTokenizer(char[]) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer. -
StrTokenizer(char[], char) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on the specified character. -
StrTokenizer(char[], char, char) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on the specified delimiter character - and handling quotes using the specified quote character. -
StrTokenizer(char[], String) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on the specified string. -
StrTokenizer(char[], StrMatcher) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting using the specified delimiter matcher. -
StrTokenizer(char[], StrMatcher, StrMatcher) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher. -
StrTokenizer(String) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer. -
StrTokenizer(String, char) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on the specified delimiter character. -
StrTokenizer(String, char, char) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on the specified delimiter character - and handling quotes using the specified quote character. -
StrTokenizer(String, String) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting on the specified delimiter string. -
StrTokenizer(String, StrMatcher) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting using the specified delimiter matcher. -
StrTokenizer(String, StrMatcher, StrMatcher) - -Constructor for class org.apache.commons.lang.text.StrTokenizer -
Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher. -
subarray(boolean[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new boolean array containing the elements - between the start and end indices. -
subarray(byte[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new byte array containing the elements - between the start and end indices. -
subarray(char[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new char array containing the elements - between the start and end indices. -
subarray(double[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new double array containing the elements - between the start and end indices. -
subarray(float[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new float array containing the elements - between the start and end indices. -
subarray(int[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new int array containing the elements - between the start and end indices. -
subarray(long[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new long array containing the elements - between the start and end indices. -
subarray(Object[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new array containing the elements between - the start and end indices. -
subarray(short[], int, int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Produces a new short array containing the elements - between the start and end indices. -
substitute(StrBuilder, int, int) - -Method in class org.apache.commons.lang.text.StrSubstitutor -
Internal method that substitutes the variables. -
substring(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Extracts a portion of this string builder as a string. -
substring(int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Extracts a portion of this string builder as a string. -
substring(String, int) - -Static method in class org.apache.commons.lang.StringUtils -
Gets a substring from the specified String avoiding exceptions. -
substring(String, int, int) - -Static method in class org.apache.commons.lang.StringUtils -
Gets a substring from the specified String avoiding exceptions. -
substringAfter(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the substring after the first occurrence of a separator. -
substringAfterLast(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the substring after the last occurrence of a separator. -
substringBefore(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the substring before the first occurrence of a separator. -
substringBeforeLast(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the substring before the last occurrence of a separator. -
substringBetween(String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the String that is nested in between two instances of the - same String. -
substringBetween(String, String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Gets the String that is nested in between two Strings. -
substringsBetween(String, String, String) - -Static method in class org.apache.commons.lang.StringUtils -
Searches a String for substrings delimited by a start and end tag, - returning all matching substrings in an array. -
subtract(byte) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Subtracts a value. -
subtract(double) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Subtracts a value. -
subtract(float) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Subtracts a value. -
subtract(Fraction) - -Method in class org.apache.commons.lang.math.Fraction -
Subtracts the value of another fraction from the value of this one, - returning the result in reduced form. -
subtract(int) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Subtracts a value. -
subtract(long) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Subtracts a value. -
subtract(Number) - -Method in class org.apache.commons.lang.mutable.MutableByte -
Subtracts a value. -
subtract(Number) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Subtracts a value. -
subtract(Number) - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Subtracts a value. -
subtract(Number) - -Method in class org.apache.commons.lang.mutable.MutableInt -
Subtracts a value. -
subtract(Number) - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Subtracts a value. -
subtract(Number) - -Method in class org.apache.commons.lang.mutable.MutableLong -
Subtracts a value. -
subtract(short) - -Method in class org.apache.commons.lang.mutable.MutableShort -
Subtracts a value. -
suspend() - -Method in class org.apache.commons.lang.time.StopWatch -
Suspend the stopwatch for later resumption. -
swapCase(String) - -Static method in class org.apache.commons.lang.StringUtils -
Swaps the case of a String changing upper and title case to - lower case, and lower case to upper case. -
swapCase(String) - -Static method in class org.apache.commons.lang.WordUtils -
Swaps the case of a String using a word based algorithm. -
systemPropertiesLookup() - -Static method in class org.apache.commons.lang.text.StrLookup -
Returns a lookup which uses System properties - to lookup the key to value. -
SystemUtils - class org.apache.commons.lang.SystemUtils.
Helpers for java.lang.System.
SystemUtils() - -Constructor for class org.apache.commons.lang.SystemUtils -
SystemUtils instances should NOT be constructed in standard - programming. -
-
-

-T

-
-
tabMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Returns a matcher which matches the tab character. -
THREE_FIFTHS - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 3/5. -
THREE_QUARTERS - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 3/4. -
toBoolean(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to a boolean handling null - by returning false. -
toBoolean(int) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts an int to a boolean using the convention that zero - is false. -
toBoolean(Integer, Integer, Integer) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts an Integer to a boolean specifying the conversion values. -
toBoolean(int, int, int) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts an int to a boolean specifying the conversion values. -
toBoolean(String) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a String to a boolean (optimised for performance). -
toBoolean(String, String, String) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a String to a Boolean throwing an exception if no match found. -
toBooleanDefaultIfNull(Boolean, boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to a boolean handling null. -
toBooleanObject(boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Boolean factory that avoids creating new Boolean objecs all the time. -
toBooleanObject(int) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts an int to a Boolean using the convention that zero - is false. -
toBooleanObject(Integer) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts an Integer to a Boolean using the convention that zero - is false. -
toBooleanObject(Integer, Integer, Integer, Integer) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts an Integer to a Boolean specifying the conversion values. -
toBooleanObject(int, int, int, int) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts an int to a Boolean specifying the conversion values. -
toBooleanObject(String) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a String to a Boolean. -
toBooleanObject(String, String, String, String) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a String to a Boolean throwing an exception if no match. -
toByte() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Gets this mutable as an instance of Byte. -
toChar(Character) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the Character to a char throwing an exception for null. -
toChar(Character, char) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the Character to a char handling null. -
toChar(String) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the String to a char using the first character, throwing - an exception on empty Strings. -
toChar(String, char) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the String to a char using the first character, defaulting - the value on empty Strings. -
toCharacterObject(char) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the character to a Character. -
toCharacterObject(String) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the String to a Character using the first character, returning - null for empty Strings. -
toCharArray() - -Method in class org.apache.commons.lang.text.StrBuilder -
Copies the builder's character array into a new character array. -
toCharArray(int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Copies part of the builder's character array into a new character array. -
toComparison() - -Method in class org.apache.commons.lang.builder.CompareToBuilder -
Returns a negative integer, a positive integer, or zero as - the builder has judged the "left-hand" side - as less than, greater than, or equal to the "right-hand" - side. -
toDouble() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Gets this mutable as an instance of Double. -
toDouble(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a double, returning - 0.0d if the conversion fails. -
toDouble(String, double) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a double, returning a - default value if the conversion fails. -
toFloat() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Gets this mutable as an instance of Float. -
toFloat(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a float, returning - 0.0f if the conversion fails. -
toFloat(String, float) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a float, returning a - default value if the conversion fails. -
toHashCode() - -Method in class org.apache.commons.lang.builder.HashCodeBuilder -
- Return the computed hashCode. -
toInt(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to an int, returning - zero if the conversion fails. -
toInt(String, int) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to an int, returning a - default value if the conversion fails. -
toInteger() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Gets this mutable as an instance of Integer. -
toInteger(boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to an int using the convention that - zero is false. -
toInteger(boolean, int, int) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to an int specifying the conversion values. -
toInteger(Boolean, int, int, int) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to an int specifying the conversion values. -
toIntegerObject(boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to an Integer using the convention that - zero is false. -
toIntegerObject(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to a Integer using the convention that - zero is false. -
toIntegerObject(boolean, Integer, Integer) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to an Integer specifying the conversion values. -
toIntegerObject(Boolean, Integer, Integer, Integer) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to an Integer specifying the conversion values. -
toIntValue(char) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the character to the Integer it represents, throwing an - exception if the character is not numeric. -
toIntValue(Character) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the character to the Integer it represents, throwing an - exception if the character is not numeric. -
toIntValue(Character, int) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the character to the Integer it represents, throwing an - exception if the character is not numeric. -
toIntValue(char, int) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the character to the Integer it represents, throwing an - exception if the character is not numeric. -
tokenize(char[], int, int) - -Method in class org.apache.commons.lang.text.StrTokenizer -
Internal method to performs the tokenization. -
toLocale(String) - -Static method in class org.apache.commons.lang.LocaleUtils -
Converts a String to a Locale. -
toLong() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Gets this mutable as an instance of Long. -
toLong(String) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a long, returning - zero if the conversion fails. -
toLong(String, long) - -Static method in class org.apache.commons.lang.math.NumberUtils -
Convert a String to a long, returning a - default value if the conversion fails. -
toMap(Object[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts the given array into a Map. -
toObject(boolean[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive booleans to objects. -
toObject(byte[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive bytes to objects. -
toObject(char[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive chars to objects. -
toObject(double[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive doubles to objects. -
toObject(float[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive floats to objects. -
toObject(int[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive ints to objects. -
toObject(long[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive longs to objects. -
toObject(short[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of primitive shorts to objects. -
topDown - -Static variable in class org.apache.commons.lang.exception.NestableDelegate -
Whether to print the stack trace top-down. -
toPrimitive(Boolean[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Booleans to primitives. -
toPrimitive(Boolean[], boolean) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Booleans to primitives handling null. -
toPrimitive(Byte[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Bytes to primitives. -
toPrimitive(Byte[], byte) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Bytes to primitives handling null. -
toPrimitive(Character[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Characters to primitives. -
toPrimitive(Character[], char) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Character to primitives handling null. -
toPrimitive(Double[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Doubles to primitives. -
toPrimitive(Double[], double) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Doubles to primitives handling null. -
toPrimitive(Float[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Floats to primitives. -
toPrimitive(Float[], float) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Floats to primitives handling null. -
toPrimitive(Integer[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Integers to primitives. -
toPrimitive(Integer[], int) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Integer to primitives handling null. -
toPrimitive(Long[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Longs to primitives. -
toPrimitive(Long[], long) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Long to primitives handling null. -
toPrimitive(Short[]) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Shorts to primitives. -
toPrimitive(Short[], short) - -Static method in class org.apache.commons.lang.ArrayUtils -
Converts an array of object Short to primitives handling null. -
toProperString() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the fraction as a proper String in the format X Y/Z. -
toShort() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Gets this mutable as an instance of Short. -
toSplitString() - -Method in class org.apache.commons.lang.time.StopWatch -
Gets a summary of the split time that the stopwatch recorded as a string. -
toString() - -Method in class org.apache.commons.lang.NumberRange -
Deprecated. Returns the string representation of this range. -
toString() - -Method in class org.apache.commons.lang.CharSet -
Gets a string representation of the set. -
toString() - -Method in class org.apache.commons.lang.CharRange -
Gets a string representation of the character range. -
toString() - -Method in class org.apache.commons.lang.builder.ToStringBuilder -
Returns the built toString. -
toString() - -Method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Gets the String built by this builder. -
toString() - -Method in class org.apache.commons.lang.enum.Enum -
Deprecated. Human readable description of this Enum item. -
toString() - -Method in class org.apache.commons.lang.enum.ValuedEnum -
Deprecated. Human readable description of this Enum item. -
toString() - -Method in class org.apache.commons.lang.enums.Enum -
Human readable description of this Enum item. -
toString() - -Method in class org.apache.commons.lang.enums.ValuedEnum -
Human readable description of this Enum item. -
toString() - -Method in class org.apache.commons.lang.math.Range -
Gets the range as a String. -
toString() - -Method in class org.apache.commons.lang.math.LongRange -
Gets the range as a String. -
toString() - -Method in class org.apache.commons.lang.math.DoubleRange -
Gets the range as a String. -
toString() - -Method in class org.apache.commons.lang.math.FloatRange -
Gets the range as a String. -
toString() - -Method in class org.apache.commons.lang.math.IntRange -
Gets the range as a String. -
toString() - -Method in class org.apache.commons.lang.math.NumberRange -
Gets the range as a String. -
toString() - -Method in class org.apache.commons.lang.math.Fraction -
Gets the fraction as a String. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableByte -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableShort -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableDouble -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableInt -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableFloat -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableObject -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableLong -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.mutable.MutableBoolean -
Returns the String value of this mutable. -
toString() - -Method in class org.apache.commons.lang.text.StrTokenizer -
Gets the String content that the tokenizer is parsing. -
toString() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets a String version of the string builder, creating a new instance - each time the method is called. -
toString() - -Method in class org.apache.commons.lang.time.FastDateFormat -
Gets a debugging string version of this formatter. -
toString() - -Method in class org.apache.commons.lang.time.StopWatch -
Gets a summary of the time that the stopwatch recorded as a string. -
toString(boolean, String, String) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to a String returning one of the input Strings. -
toString(Boolean, String, String, String) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to a String returning one of the input Strings. -
toString(char) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the character to a String that contains the one character. -
toString(Character) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the character to a String that contains the one character. -
toString(Object) - -Static method in class org.apache.commons.lang.ObjectUtils -
Gets the toString of an Object returning - an empty string ("") if null input. -
toString(Object) - -Static method in class org.apache.commons.lang.ArrayUtils -
Outputs an array as a String, treating null as an empty array. -
toString(Object) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Builds a toString value using the default ToStringStyle through reflection. -
toString(Object, String) - -Static method in class org.apache.commons.lang.ObjectUtils -
Gets the toString of an Object returning - a specified text if null input. -
toString(Object, String) - -Static method in class org.apache.commons.lang.ArrayUtils -
Outputs an array as a String handling nulls. -
toString(Object, ToStringStyle) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Builds a toString value through reflection. -
toString(Object, ToStringStyle, boolean) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Builds a toString value through reflection. -
toString(Object, ToStringStyle, boolean, boolean) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Builds a toString value through reflection. -
toString(Object, ToStringStyle, boolean, boolean, Class) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
- Builds a toString value through reflection. -
toString(Object, ToStringStyle, boolean, Class) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Deprecated. Use ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean,boolean,Class) -
toStringBuffer() - -Method in class org.apache.commons.lang.text.StrBuilder -
Gets a StringBuffer version of the string builder, creating a - new instance each time the method is called. -
ToStringBuilder - class org.apache.commons.lang.builder.ToStringBuilder.
Assists in implementing Object.toString() methods.
ToStringBuilder(Object) - -Constructor for class org.apache.commons.lang.builder.ToStringBuilder -
Constructor for ToStringBuilder. -
ToStringBuilder(Object, ToStringStyle) - -Constructor for class org.apache.commons.lang.builder.ToStringBuilder -
Constructor for ToStringBuilder specifying the - output style. -
ToStringBuilder(Object, ToStringStyle, StringBuffer) - -Constructor for class org.apache.commons.lang.builder.ToStringBuilder -
Constructor for ToStringBuilder. -
toStringExclude(Object, Collection) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Builds a String for a toString method excluding the given field names. -
toStringExclude(Object, String) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Builds a String for a toString method excluding the given field name. -
toStringExclude(Object, String[]) - -Static method in class org.apache.commons.lang.builder.ReflectionToStringBuilder -
Builds a String for a toString method excluding the given field names. -
toStringOnOff(boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to a String returning 'on' - or 'off'. -
toStringOnOff(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to a String returning 'on', - 'off', or null. -
ToStringStyle - class org.apache.commons.lang.builder.ToStringStyle.
Controls String formatting for ToStringBuilder.
ToStringStyle() - -Constructor for class org.apache.commons.lang.builder.ToStringStyle -
Constructor. -
toStringTrueFalse(boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to a String returning 'true' - or 'false'. -
toStringTrueFalse(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to a String returning 'true', - 'false', or null. -
toStringYesNo(boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a boolean to a String returning 'yes' - or 'no'. -
toStringYesNo(Boolean) - -Static method in class org.apache.commons.lang.BooleanUtils -
Converts a Boolean to a String returning 'yes', - 'no', or null. -
translate(String, String, String) - -Static method in class org.apache.commons.lang.CharSetUtils -
Deprecated. Use StringUtils.replaceChars(String, String, String). - Method will be removed in Commons Lang 3.0. - NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer - than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement - string whereas StringUtils#replaceChars will delete -
trim() - -Method in class org.apache.commons.lang.text.StrBuilder -
Trims the builder by removing characters less than or equal to a space - from the beginning and end. -
trim(String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes control characters (char <= 32) from both - ends of this String, handling null by returning - null. -
trimMatcher() - -Static method in class org.apache.commons.lang.text.StrMatcher -
Matches the String trim() whitespace characters. -
trimStackFrames - -Static variable in class org.apache.commons.lang.exception.NestableDelegate -
Whether to trim the repeated stack trace. -
trimStackFrames(List) - -Method in class org.apache.commons.lang.exception.NestableDelegate -
Trims the stack frames. -
trimToEmpty(String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes control characters (char <= 32) from both - ends of this String returning an empty String ("") if the String - is empty ("") after the trim or if it is null. -
trimToNull(String) - -Static method in class org.apache.commons.lang.StringUtils -
Removes control characters (char <= 32) from both - ends of this String returning null if the String is - empty ("") after the trim or if it is null. -
truncate(Calendar, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Truncate this date, leaving the field specified as the most - significant field. -
truncate(Date, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Truncate this date, leaving the field specified as the most - significant field. -
truncate(Object, int) - -Static method in class org.apache.commons.lang.time.DateUtils -
Truncate this date, leaving the field specified as the most - significant field. -
TWO_FIFTHS - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 2/5. -
TWO_QUARTERS - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 2/4. -
TWO_THIRDS - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 2/3. -
-
-

-U

-
-
uncapitalise(String) - -Static method in class org.apache.commons.lang.StringUtils -
Deprecated. Use the standardly named StringUtils.uncapitalize(String). - Method will be removed in Commons Lang 3.0. -
uncapitalize(String) - -Static method in class org.apache.commons.lang.StringUtils -
Uncapitalizes a String changing the first letter to title case as - per Character.toLowerCase(char). -
uncapitalize(String) - -Static method in class org.apache.commons.lang.WordUtils -
Uncapitalizes all the whitespace separated words in a String. -
uncapitalize(String, char[]) - -Static method in class org.apache.commons.lang.WordUtils -
Uncapitalizes all the whitespace separated words in a String. -
unescapeHtml(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes a string containing entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes. -
unescapeHtml(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes a string containing entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes. -
unescapeJava(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes any Java literals found in the String. -
unescapeJava(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes any Java literals found in the String to a - Writer. -
unescapeJavaScript(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes any JavaScript literals found in the String. -
unescapeJavaScript(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes any JavaScript literals found in the String to a - Writer. -
unescapeXml(String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes a string containing XML entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes. -
unescapeXml(Writer, String) - -Static method in class org.apache.commons.lang.StringEscapeUtils -
Unescapes a string containing XML entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes. -
UnhandledException - exception org.apache.commons.lang.UnhandledException.
Thrown when it is impossible or undesirable to consume or throw a checked exception.
UnhandledException(String, Throwable) - -Constructor for class org.apache.commons.lang.UnhandledException -
Constructs the exception using a message and cause. -
UnhandledException(Throwable) - -Constructor for class org.apache.commons.lang.UnhandledException -
Constructs the exception using a cause. -
unicodeEscaped(char) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the string to the unicode format ' '. -
unicodeEscaped(Character) - -Static method in class org.apache.commons.lang.CharUtils -
Converts the string to the unicode format ' '. -
unsplit() - -Method in class org.apache.commons.lang.time.StopWatch -
Remove a split. -
upperCase(String) - -Static method in class org.apache.commons.lang.StringUtils -
Converts a String to upper case as per String.toUpperCase(). -
US_ASCII - -Static variable in class org.apache.commons.lang.CharEncoding -
- Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. -
USER_COUNTRY - -Static variable in class org.apache.commons.lang.SystemUtils -
The user.country or user.region System Property. -
USER_DIR - -Static variable in class org.apache.commons.lang.SystemUtils -
The user.dir System Property. -
USER_HOME - -Static variable in class org.apache.commons.lang.SystemUtils -
The user.home System Property. -
USER_LANGUAGE - -Static variable in class org.apache.commons.lang.SystemUtils -
The user.language System Property. -
USER_NAME - -Static variable in class org.apache.commons.lang.SystemUtils -
The user.name System Property. -
USER_TIMEZONE - -Static variable in class org.apache.commons.lang.SystemUtils -
The user.timezone System Property. -
UTC_TIME_ZONE - -Static variable in class org.apache.commons.lang.time.DateUtils -
The UTC time zone (often referred to as GMT). -
UTF_16 - -Static variable in class org.apache.commons.lang.CharEncoding -
- Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either - order accepted on input, big-endian used on output). -
UTF_16BE - -Static variable in class org.apache.commons.lang.CharEncoding -
- Sixteen-bit Unicode Transformation Format, big-endian byte order. -
UTF_16LE - -Static variable in class org.apache.commons.lang.CharEncoding -
- Sixteen-bit Unicode Transformation Format, little-endian byte order. -
UTF_8 - -Static variable in class org.apache.commons.lang.CharEncoding -
- Eight-bit Unicode Transformation Format. -
-
-

-V

-
-
Validate - class org.apache.commons.lang.Validate.
Assists in validating arguments.
Validate() - -Constructor for class org.apache.commons.lang.Validate -
Constructor. -
validateIndex(int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Validates parameters defining a single index in the builder. -
validateRange(int, int) - -Method in class org.apache.commons.lang.text.StrBuilder -
Validates parameters defining a range of the builder. -
ValuedEnum - class org.apache.commons.lang.enum.ValuedEnum.
Deprecated. Replaced by org.apache.commons.lang.enums.ValuedEnum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword.
ValuedEnum - class org.apache.commons.lang.enums.ValuedEnum.
Abstract superclass for type-safe enums with integer values suitable - for use in switch statements.
ValuedEnum(String, int) - -Constructor for class org.apache.commons.lang.enum.ValuedEnum -
Deprecated. Constructor for enum item. -
ValuedEnum(String, int) - -Constructor for class org.apache.commons.lang.enums.ValuedEnum -
Constructor for enum item. -
-
-

-W

-
-
WordUtils - class org.apache.commons.lang.WordUtils.
Operations on Strings that contain words.
WordUtils() - -Constructor for class org.apache.commons.lang.WordUtils -
WordUtils instances should NOT be constructed in - standard programming. -
wrap(String, int) - -Static method in class org.apache.commons.lang.WordUtils -
Wraps a single line of text, identifying words by ' '. -
wrap(String, int, String, boolean) - -Static method in class org.apache.commons.lang.WordUtils -
Wraps a single line of text, identifying words by ' '. -
-
-

-X

-
-
xor(boolean[]) - -Static method in class org.apache.commons.lang.BooleanUtils -
Performs an xor on a set of booleans. -
xor(Boolean[]) - -Static method in class org.apache.commons.lang.BooleanUtils -
Performs an xor on an array of Booleans. -
-
-

-Z

-
-
ZERO - -Static variable in class org.apache.commons.lang.math.Fraction -
Fraction representation of 0. -
-
-A B C D E F G H I J K L M N O P Q R S T U V W X Z - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/index.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/index.html deleted file mode 100644 index 28a415ec..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3) - - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to <A HREF="overview-summary.html">Non-frame version.</A> - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ArrayUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ArrayUtils.html deleted file mode 100644 index d5768259..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ArrayUtils.html +++ /dev/null @@ -1,5392 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ArrayUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class ArrayUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.ArrayUtils
-
-
-
-
public class ArrayUtils
extends Object
- -

-

Operations on arrays, primitive arrays (like int[]) and - primitive wrapper arrays (like Integer[]).

- -

This class tries to handle null input gracefully. - An exception will not be thrown for a null - array input. However, an Object array that contains a null - element may throw an exception. Each method documents its behaviour.

-

-

-
Since:
2.0
-
Version:
$Id: ArrayUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne, Moritz Petersen, Fredrik Westermarck, Nikolay Metchev, Matthew Hawthorne, Tim O'Brien, Pete Gieser, Gary Gregory, Ashwin S, Maarten Coene
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static boolean[]EMPTY_BOOLEAN_ARRAY - -
-          An empty immutable boolean array.
-static Boolean[]EMPTY_BOOLEAN_OBJECT_ARRAY - -
-          An empty immutable Boolean array.
-static byte[]EMPTY_BYTE_ARRAY - -
-          An empty immutable byte array.
-static Byte[]EMPTY_BYTE_OBJECT_ARRAY - -
-          An empty immutable Byte array.
-static char[]EMPTY_CHAR_ARRAY - -
-          An empty immutable char array.
-static Character[]EMPTY_CHARACTER_OBJECT_ARRAY - -
-          An empty immutable Character array.
-static Class[]EMPTY_CLASS_ARRAY - -
-          An empty immutable Class array.
-static double[]EMPTY_DOUBLE_ARRAY - -
-          An empty immutable double array.
-static Double[]EMPTY_DOUBLE_OBJECT_ARRAY - -
-          An empty immutable Double array.
-static float[]EMPTY_FLOAT_ARRAY - -
-          An empty immutable float array.
-static Float[]EMPTY_FLOAT_OBJECT_ARRAY - -
-          An empty immutable Float array.
-static int[]EMPTY_INT_ARRAY - -
-          An empty immutable int array.
-static Integer[]EMPTY_INTEGER_OBJECT_ARRAY - -
-          An empty immutable Integer array.
-static long[]EMPTY_LONG_ARRAY - -
-          An empty immutable long array.
-static Long[]EMPTY_LONG_OBJECT_ARRAY - -
-          An empty immutable Long array.
-static Object[]EMPTY_OBJECT_ARRAY - -
-          An empty immutable Object array.
-static short[]EMPTY_SHORT_ARRAY - -
-          An empty immutable short array.
-static Short[]EMPTY_SHORT_OBJECT_ARRAY - -
-          An empty immutable Short array.
-static String[]EMPTY_STRING_ARRAY - -
-          An empty immutable String array.
-static intINDEX_NOT_FOUND - -
-          The index value when an element is not found in a list or array: -1.
-  - - - - - - - - - - -
-Constructor Summary
ArrayUtils() - -
-          ArrayUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static boolean[]add(boolean[] array, - boolean element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static boolean[]add(boolean[] array, - int index, - boolean element) - -
-          Inserts the specified element at the specified position in the array.
-static byte[]add(byte[] array, - byte element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static byte[]add(byte[] array, - int index, - byte element) - -
-          Inserts the specified element at the specified position in the array.
-static char[]add(char[] array, - char element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static char[]add(char[] array, - int index, - char element) - -
-          Inserts the specified element at the specified position in the array.
-static double[]add(double[] array, - double element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static double[]add(double[] array, - int index, - double element) - -
-          Inserts the specified element at the specified position in the array.
-static float[]add(float[] array, - float element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static float[]add(float[] array, - int index, - float element) - -
-          Inserts the specified element at the specified position in the array.
-static int[]add(int[] array, - int element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static int[]add(int[] array, - int index, - int element) - -
-          Inserts the specified element at the specified position in the array.
-static long[]add(long[] array, - int index, - long element) - -
-          Inserts the specified element at the specified position in the array.
-static long[]add(long[] array, - long element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static Object[]add(Object[] array, - int index, - Object element) - -
-          Inserts the specified element at the specified position in the array.
-static Object[]add(Object[] array, - Object element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static short[]add(short[] array, - int index, - short element) - -
-          Inserts the specified element at the specified position in the array.
-static short[]add(short[] array, - short element) - -
-          Copies the given array and adds the given element at the end of the new array.
-static boolean[]addAll(boolean[] array1, - boolean[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static byte[]addAll(byte[] array1, - byte[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static char[]addAll(char[] array1, - char[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static double[]addAll(double[] array1, - double[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static float[]addAll(float[] array1, - float[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static int[]addAll(int[] array1, - int[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static long[]addAll(long[] array1, - long[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static Object[]addAll(Object[] array1, - Object[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static short[]addAll(short[] array1, - short[] array2) - -
-          Adds all the elements of the given arrays into a new array.
-static boolean[]clone(boolean[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static byte[]clone(byte[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static char[]clone(char[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static double[]clone(double[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static float[]clone(float[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static int[]clone(int[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static long[]clone(long[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static Object[]clone(Object[] array) - -
-          Shallow clones an array returning a typecast result and handling - null.
-static short[]clone(short[] array) - -
-          Clones an array returning a typecast result and handling - null.
-static booleancontains(boolean[] array, - boolean valueToFind) - -
-          Checks if the value is in the given array.
-static booleancontains(byte[] array, - byte valueToFind) - -
-          Checks if the value is in the given array.
-static booleancontains(char[] array, - char valueToFind) - -
-          Checks if the value is in the given array.
-static booleancontains(double[] array, - double valueToFind) - -
-          Checks if the value is in the given array.
-static booleancontains(double[] array, - double valueToFind, - double tolerance) - -
-          Checks if a value falling within the given tolerance is in the - given array.
-static booleancontains(float[] array, - float valueToFind) - -
-          Checks if the value is in the given array.
-static booleancontains(int[] array, - int valueToFind) - -
-          Checks if the value is in the given array.
-static booleancontains(long[] array, - long valueToFind) - -
-          Checks if the value is in the given array.
-static booleancontains(Object[] array, - Object objectToFind) - -
-          Checks if the object is in the given array.
-static booleancontains(short[] array, - short valueToFind) - -
-          Checks if the value is in the given array.
-static intgetLength(Object array) - -
-          Returns the length of the specified array.
-static inthashCode(Object array) - -
-          Get a hashCode for an array handling multi-dimensional arrays correctly.
-static intindexOf(boolean[] array, - boolean valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(boolean[] array, - boolean valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(byte[] array, - byte valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(byte[] array, - byte valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(char[] array, - char valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(char[] array, - char valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(double[] array, - double valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(double[] array, - double valueToFind, - double tolerance) - -
-          Finds the index of the given value within a given tolerance in the array.
-static intindexOf(double[] array, - double valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(double[] array, - double valueToFind, - int startIndex, - double tolerance) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(float[] array, - float valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(float[] array, - float valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(int[] array, - int valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(int[] array, - int valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(long[] array, - long valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(long[] array, - long valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static intindexOf(Object[] array, - Object objectToFind) - -
-          Finds the index of the given object in the array.
-static intindexOf(Object[] array, - Object objectToFind, - int startIndex) - -
-          Finds the index of the given object in the array starting at the given index.
-static intindexOf(short[] array, - short valueToFind) - -
-          Finds the index of the given value in the array.
-static intindexOf(short[] array, - short valueToFind, - int startIndex) - -
-          Finds the index of the given value in the array starting at the given index.
-static booleanisEmpty(boolean[] array) - -
-          Checks if an array of primitive booleans is empty or null.
-static booleanisEmpty(byte[] array) - -
-          Checks if an array of primitive bytes is empty or null.
-static booleanisEmpty(char[] array) - -
-          Checks if an array of primitive chars is empty or null.
-static booleanisEmpty(double[] array) - -
-          Checks if an array of primitive doubles is empty or null.
-static booleanisEmpty(float[] array) - -
-          Checks if an array of primitive floats is empty or null.
-static booleanisEmpty(int[] array) - -
-          Checks if an array of primitive ints is empty or null.
-static booleanisEmpty(long[] array) - -
-          Checks if an array of primitive longs is empty or null.
-static booleanisEmpty(Object[] array) - -
-          Checks if an array of Objects is empty or null.
-static booleanisEmpty(short[] array) - -
-          Checks if an array of primitive shorts is empty or null.
-static booleanisEquals(Object array1, - Object array2) - -
-          Compares two arrays, using equals(), handling multi-dimensional arrays - correctly.
-static booleanisSameLength(boolean[] array1, - boolean[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(byte[] array1, - byte[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(char[] array1, - char[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(double[] array1, - double[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(float[] array1, - float[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(int[] array1, - int[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(long[] array1, - long[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(Object[] array1, - Object[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameLength(short[] array1, - short[] array2) - -
-          Checks whether two arrays are the same length, treating - null arrays as length 0.
-static booleanisSameType(Object array1, - Object array2) - -
-          Checks whether two arrays are the same type taking into account - multi-dimensional arrays.
-static intlastIndexOf(boolean[] array, - boolean valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(boolean[] array, - boolean valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(byte[] array, - byte valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(byte[] array, - byte valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(char[] array, - char valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(char[] array, - char valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(double[] array, - double valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(double[] array, - double valueToFind, - double tolerance) - -
-          Finds the last index of the given value within a given tolerance in the array.
-static intlastIndexOf(double[] array, - double valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(double[] array, - double valueToFind, - int startIndex, - double tolerance) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(float[] array, - float valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(float[] array, - float valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(int[] array, - int valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(int[] array, - int valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(long[] array, - long valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(long[] array, - long valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static intlastIndexOf(Object[] array, - Object objectToFind) - -
-          Finds the last index of the given object within the array.
-static intlastIndexOf(Object[] array, - Object objectToFind, - int startIndex) - -
-          Finds the last index of the given object in the array starting at the given index.
-static intlastIndexOf(short[] array, - short valueToFind) - -
-          Finds the last index of the given value within the array.
-static intlastIndexOf(short[] array, - short valueToFind, - int startIndex) - -
-          Finds the last index of the given value in the array starting at the given index.
-static boolean[]remove(boolean[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static byte[]remove(byte[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static char[]remove(char[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static double[]remove(double[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static float[]remove(float[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static int[]remove(int[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static long[]remove(long[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static Object[]remove(Object[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static short[]remove(short[] array, - int index) - -
-          Removes the element at the specified position from the specified array.
-static boolean[]removeElement(boolean[] array, - boolean element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static byte[]removeElement(byte[] array, - byte element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static char[]removeElement(char[] array, - char element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static double[]removeElement(double[] array, - double element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static float[]removeElement(float[] array, - float element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static int[]removeElement(int[] array, - int element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static long[]removeElement(long[] array, - long element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static Object[]removeElement(Object[] array, - Object element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static short[]removeElement(short[] array, - short element) - -
-          Removes the first occurrence of the specified element from the - specified array.
-static voidreverse(boolean[] array) - -
-          Reverses the order of the given array.
-static voidreverse(byte[] array) - -
-          Reverses the order of the given array.
-static voidreverse(char[] array) - -
-          Reverses the order of the given array.
-static voidreverse(double[] array) - -
-          Reverses the order of the given array.
-static voidreverse(float[] array) - -
-          Reverses the order of the given array.
-static voidreverse(int[] array) - -
-          Reverses the order of the given array.
-static voidreverse(long[] array) - -
-          Reverses the order of the given array.
-static voidreverse(Object[] array) - -
-          Reverses the order of the given array.
-static voidreverse(short[] array) - -
-          Reverses the order of the given array.
-static boolean[]subarray(boolean[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new boolean array containing the elements - between the start and end indices.
-static byte[]subarray(byte[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new byte array containing the elements - between the start and end indices.
-static char[]subarray(char[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new char array containing the elements - between the start and end indices.
-static double[]subarray(double[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new double array containing the elements - between the start and end indices.
-static float[]subarray(float[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new float array containing the elements - between the start and end indices.
-static int[]subarray(int[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new int array containing the elements - between the start and end indices.
-static long[]subarray(long[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new long array containing the elements - between the start and end indices.
-static Object[]subarray(Object[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new array containing the elements between - the start and end indices.
-static short[]subarray(short[] array, - int startIndexInclusive, - int endIndexExclusive) - -
-          Produces a new short array containing the elements - between the start and end indices.
-static MaptoMap(Object[] array) - -
-          Converts the given array into a Map.
-static Boolean[]toObject(boolean[] array) - -
-          Converts an array of primitive booleans to objects.
-static Byte[]toObject(byte[] array) - -
-          Converts an array of primitive bytes to objects.
-static Character[]toObject(char[] array) - -
-          Converts an array of primitive chars to objects.
-static Double[]toObject(double[] array) - -
-          Converts an array of primitive doubles to objects.
-static Float[]toObject(float[] array) - -
-          Converts an array of primitive floats to objects.
-static Integer[]toObject(int[] array) - -
-          Converts an array of primitive ints to objects.
-static Long[]toObject(long[] array) - -
-          Converts an array of primitive longs to objects.
-static Short[]toObject(short[] array) - -
-          Converts an array of primitive shorts to objects.
-static boolean[]toPrimitive(Boolean[] array) - -
-          Converts an array of object Booleans to primitives.
-static boolean[]toPrimitive(Boolean[] array, - boolean valueForNull) - -
-          Converts an array of object Booleans to primitives handling null.
-static byte[]toPrimitive(Byte[] array) - -
-          Converts an array of object Bytes to primitives.
-static byte[]toPrimitive(Byte[] array, - byte valueForNull) - -
-          Converts an array of object Bytes to primitives handling null.
-static char[]toPrimitive(Character[] array) - -
-          Converts an array of object Characters to primitives.
-static char[]toPrimitive(Character[] array, - char valueForNull) - -
-          Converts an array of object Character to primitives handling null.
-static double[]toPrimitive(Double[] array) - -
-          Converts an array of object Doubles to primitives.
-static double[]toPrimitive(Double[] array, - double valueForNull) - -
-          Converts an array of object Doubles to primitives handling null.
-static float[]toPrimitive(Float[] array) - -
-          Converts an array of object Floats to primitives.
-static float[]toPrimitive(Float[] array, - float valueForNull) - -
-          Converts an array of object Floats to primitives handling null.
-static int[]toPrimitive(Integer[] array) - -
-          Converts an array of object Integers to primitives.
-static int[]toPrimitive(Integer[] array, - int valueForNull) - -
-          Converts an array of object Integer to primitives handling null.
-static long[]toPrimitive(Long[] array) - -
-          Converts an array of object Longs to primitives.
-static long[]toPrimitive(Long[] array, - long valueForNull) - -
-          Converts an array of object Long to primitives handling null.
-static short[]toPrimitive(Short[] array) - -
-          Converts an array of object Shorts to primitives.
-static short[]toPrimitive(Short[] array, - short valueForNull) - -
-          Converts an array of object Short to primitives handling null.
-static StringtoString(Object array) - -
-          Outputs an array as a String, treating null as an empty array.
-static StringtoString(Object array, - String stringIfNull) - -
-          Outputs an array as a String handling nulls.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY_OBJECT_ARRAY

-
-public static final Object[] EMPTY_OBJECT_ARRAY
-
-
An empty immutable Object array.
-
- -

-EMPTY_CLASS_ARRAY

-
-public static final Class[] EMPTY_CLASS_ARRAY
-
-
An empty immutable Class array.
-
- -

-EMPTY_STRING_ARRAY

-
-public static final String[] EMPTY_STRING_ARRAY
-
-
An empty immutable String array.
-
- -

-EMPTY_LONG_ARRAY

-
-public static final long[] EMPTY_LONG_ARRAY
-
-
An empty immutable long array.
-
- -

-EMPTY_LONG_OBJECT_ARRAY

-
-public static final Long[] EMPTY_LONG_OBJECT_ARRAY
-
-
An empty immutable Long array.
-
- -

-EMPTY_INT_ARRAY

-
-public static final int[] EMPTY_INT_ARRAY
-
-
An empty immutable int array.
-
- -

-EMPTY_INTEGER_OBJECT_ARRAY

-
-public static final Integer[] EMPTY_INTEGER_OBJECT_ARRAY
-
-
An empty immutable Integer array.
-
- -

-EMPTY_SHORT_ARRAY

-
-public static final short[] EMPTY_SHORT_ARRAY
-
-
An empty immutable short array.
-
- -

-EMPTY_SHORT_OBJECT_ARRAY

-
-public static final Short[] EMPTY_SHORT_OBJECT_ARRAY
-
-
An empty immutable Short array.
-
- -

-EMPTY_BYTE_ARRAY

-
-public static final byte[] EMPTY_BYTE_ARRAY
-
-
An empty immutable byte array.
-
- -

-EMPTY_BYTE_OBJECT_ARRAY

-
-public static final Byte[] EMPTY_BYTE_OBJECT_ARRAY
-
-
An empty immutable Byte array.
-
- -

-EMPTY_DOUBLE_ARRAY

-
-public static final double[] EMPTY_DOUBLE_ARRAY
-
-
An empty immutable double array.
-
- -

-EMPTY_DOUBLE_OBJECT_ARRAY

-
-public static final Double[] EMPTY_DOUBLE_OBJECT_ARRAY
-
-
An empty immutable Double array.
-
- -

-EMPTY_FLOAT_ARRAY

-
-public static final float[] EMPTY_FLOAT_ARRAY
-
-
An empty immutable float array.
-
- -

-EMPTY_FLOAT_OBJECT_ARRAY

-
-public static final Float[] EMPTY_FLOAT_OBJECT_ARRAY
-
-
An empty immutable Float array.
-
- -

-EMPTY_BOOLEAN_ARRAY

-
-public static final boolean[] EMPTY_BOOLEAN_ARRAY
-
-
An empty immutable boolean array.
-
- -

-EMPTY_BOOLEAN_OBJECT_ARRAY

-
-public static final Boolean[] EMPTY_BOOLEAN_OBJECT_ARRAY
-
-
An empty immutable Boolean array.
-
- -

-EMPTY_CHAR_ARRAY

-
-public static final char[] EMPTY_CHAR_ARRAY
-
-
An empty immutable char array.
-
- -

-EMPTY_CHARACTER_OBJECT_ARRAY

-
-public static final Character[] EMPTY_CHARACTER_OBJECT_ARRAY
-
-
An empty immutable Character array.
-
- -

-INDEX_NOT_FOUND

-
-public static final int INDEX_NOT_FOUND
-
-
The index value when an element is not found in a list or array: -1. - This value is returned by methods in this class and can also be used in comparisons with values returned by - various method from List.
- - - - - - - - -
-Constructor Detail
- -

-ArrayUtils

-
-public ArrayUtils()
-
-

ArrayUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as ArrayUtils.clone(new int[] {2}).

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-toString

-
-public static String toString(Object array)
-
-

Outputs an array as a String, treating null as an empty array.

- -

Multi-dimensional arrays are handled correctly, including - multi-dimensional primitive arrays.

- -

The format is that of Java source code, for example {a,b}.

-
Parameters:
array - the array to get a toString for, may be null
Returns:
a String representation of the array, '{}' if null array input
-
-
-
- -

-toString

-
-public static String toString(Object array,
-                              String stringIfNull)
-
-

Outputs an array as a String handling nulls.

- -

Multi-dimensional arrays are handled correctly, including - multi-dimensional primitive arrays.

- -

The format is that of Java source code, for example {a,b}.

-
Parameters:
array - the array to get a toString for, may be null
stringIfNull - the String to return if the array is null
Returns:
a String representation of the array
-
-
-
- -

-hashCode

-
-public static int hashCode(Object array)
-
-

Get a hashCode for an array handling multi-dimensional arrays correctly.

- -

Multi-dimensional primitive arrays are also handled correctly by this method.

-
Parameters:
array - the array to get a hashCode for, may be null
Returns:
a hashCode for the array, zero if null array input
-
-
-
- -

-isEquals

-
-public static boolean isEquals(Object array1,
-                               Object array2)
-
-

Compares two arrays, using equals(), handling multi-dimensional arrays - correctly.

- -

Multi-dimensional primitive arrays are also handled correctly by this method.

-
Parameters:
array1 - the left hand array to compare, may be null
array2 - the right hand array to compare, may be null
Returns:
true if the arrays are equal
-
-
-
- -

-toMap

-
-public static Map toMap(Object[] array)
-
-

Converts the given array into a Map. Each element of the array - must be either a Map.Entry or an Array, containing at least two - elements, where the first element is used as key and the second as - value.

- -

This method can be used to initialize:

-
- // Create a Map mapping colors.
- Map colorMap = MapUtils.toMap(new String[][] {{
-     {"RED", "#FF0000"},
-     {"GREEN", "#00FF00"},
-     {"BLUE", "#0000FF"}});
- 
- -

This method returns null for a null input array.

-
Parameters:
array - an array whose elements are either a Map.Entry or - an Array containing at least two elements, may be null
Returns:
a Map that was created from the array
Throws:
IllegalArgumentException - if one element of this Array is - itself an Array containing less then two elements
IllegalArgumentException - if the array contains elements other - than Map.Entry and an Array
-
-
-
- -

-clone

-
-public static Object[] clone(Object[] array)
-
-

Shallow clones an array returning a typecast result and handling - null.

- -

The objects in the array are not cloned, thus there is no special - handling for multi-dimensional arrays.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to shallow clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static long[] clone(long[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static int[] clone(int[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static short[] clone(short[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static char[] clone(char[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static byte[] clone(byte[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static double[] clone(double[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static float[] clone(float[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-clone

-
-public static boolean[] clone(boolean[] array)
-
-

Clones an array returning a typecast result and handling - null.

- -

This method returns null for a null input array.

-
Parameters:
array - the array to clone, may be null
Returns:
the cloned array, null if null input
-
-
-
- -

-subarray

-
-public static Object[] subarray(Object[] array,
-                                int startIndexInclusive,
-                                int endIndexExclusive)
-
-

Produces a new array containing the elements between - the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

- -

The component type of the subarray is always the same as - that of the input array. Thus, if the input is an array of type - Date, the following usage is envisaged:

- -
- Date[] someDates = (Date[])ArrayUtils.subarray(allDates, 2, 5);
- 
-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static long[] subarray(long[] array,
-                              int startIndexInclusive,
-                              int endIndexExclusive)
-
-

Produces a new long array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static int[] subarray(int[] array,
-                             int startIndexInclusive,
-                             int endIndexExclusive)
-
-

Produces a new int array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static short[] subarray(short[] array,
-                               int startIndexInclusive,
-                               int endIndexExclusive)
-
-

Produces a new short array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static char[] subarray(char[] array,
-                              int startIndexInclusive,
-                              int endIndexExclusive)
-
-

Produces a new char array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static byte[] subarray(byte[] array,
-                              int startIndexInclusive,
-                              int endIndexExclusive)
-
-

Produces a new byte array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static double[] subarray(double[] array,
-                                int startIndexInclusive,
-                                int endIndexExclusive)
-
-

Produces a new double array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static float[] subarray(float[] array,
-                               int startIndexInclusive,
-                               int endIndexExclusive)
-
-

Produces a new float array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-subarray

-
-public static boolean[] subarray(boolean[] array,
-                                 int startIndexInclusive,
-                                 int endIndexExclusive)
-
-

Produces a new boolean array containing the elements - between the start and end indices.

- -

The start index is inclusive, the end index exclusive. - Null array input produces null output.

-
Parameters:
array - the array
startIndexInclusive - the starting index. Undervalue (<0) - is promoted to 0, overvalue (>array.length) results - in an empty array.
endIndexExclusive - elements up to endIndex-1 are present in the - returned subarray. Undervalue (< startIndex) produces - empty array, overvalue (>array.length) is demoted to - array length.
Returns:
a new array containing the elements between - the start and end indices.
Since:
2.1
-
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(Object[] array1,
-                                   Object[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0. - -

Any multi-dimensional aspects of the arrays are ignored.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(long[] array1,
-                                   long[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(int[] array1,
-                                   int[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(short[] array1,
-                                   short[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(char[] array1,
-                                   char[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(byte[] array1,
-                                   byte[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(double[] array1,
-                                   double[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(float[] array1,
-                                   float[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-isSameLength

-
-public static boolean isSameLength(boolean[] array1,
-                                   boolean[] array2)
-
-

Checks whether two arrays are the same length, treating - null arrays as length 0.

-
Parameters:
array1 - the first array, may be null
array2 - the second array, may be null
Returns:
true if length of arrays matches, treating - null as an empty array
-
-
-
- -

-getLength

-
-public static int getLength(Object array)
-
-

Returns the length of the specified array. - This method can deal with Object arrays and with primitive arrays.

- -

If the input array is null, 0 is returned.

- -
- ArrayUtils.getLength(null)            = 0
- ArrayUtils.getLength([])              = 0
- ArrayUtils.getLength([null])          = 1
- ArrayUtils.getLength([true, false])   = 2
- ArrayUtils.getLength([1, 2, 3])       = 3
- ArrayUtils.getLength(["a", "b", "c"]) = 3
- 
-
Parameters:
array - the array to retrieve the length from, may be null
Returns:
The length of the array, or 0 if the array is null
Throws:
IllegalArgumentException - if the object arguement is not an array.
Since:
2.1
-
-
-
-
- -

-isSameType

-
-public static boolean isSameType(Object array1,
-                                 Object array2)
-
-

Checks whether two arrays are the same type taking into account - multi-dimensional arrays.

-
Parameters:
array1 - the first array, must not be null
array2 - the second array, must not be null
Returns:
true if type of arrays matches
Throws:
IllegalArgumentException - if either array is null
-
-
-
- -

-reverse

-
-public static void reverse(Object[] array)
-
-

Reverses the order of the given array.

- -

There is no special handling for multi-dimensional arrays.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(long[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(int[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(short[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(char[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(byte[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(double[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(float[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-reverse

-
-public static void reverse(boolean[] array)
-
-

Reverses the order of the given array.

- -

This method does nothing for a null input array.

-
Parameters:
array - the array to reverse, may be null
-
-
-
- -

-indexOf

-
-public static int indexOf(Object[] array,
-                          Object objectToFind)
-
-

Finds the index of the given object in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
objectToFind - the object to find, may be null
Returns:
the index of the object within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(Object[] array,
-                          Object objectToFind,
-                          int startIndex)
-
-

Finds the index of the given object in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
objectToFind - the object to find, may be null
startIndex - the index to start searching at
Returns:
the index of the object within the array starting at the index, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(Object[] array,
-                              Object objectToFind)
-
-

Finds the last index of the given object within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
objectToFind - the object to find, may be null
Returns:
the last index of the object within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(Object[] array,
-                              Object objectToFind,
-                              int startIndex)
-
-

Finds the last index of the given object in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than - the array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
objectToFind - the object to find, may be null
startIndex - the start index to travers backwards from
Returns:
the last index of the object within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(Object[] array,
-                               Object objectToFind)
-
-

Checks if the object is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
objectToFind - the object to find
Returns:
true if the array contains the object
-
-
-
- -

-indexOf

-
-public static int indexOf(long[] array,
-                          long valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(long[] array,
-                          long valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(long[] array,
-                              long valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(long[] array,
-                              long valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(long[] array,
-                               long valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
-
-
-
- -

-indexOf

-
-public static int indexOf(int[] array,
-                          int valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(int[] array,
-                          int valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(int[] array,
-                              int valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(int[] array,
-                              int valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(int[] array,
-                               int valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
-
-
-
- -

-indexOf

-
-public static int indexOf(short[] array,
-                          short valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(short[] array,
-                          short valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(short[] array,
-                              short valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(short[] array,
-                              short valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(short[] array,
-                               short valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
-
-
-
- -

-indexOf

-
-public static int indexOf(char[] array,
-                          char valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
Since:
2.1
-
-
-
-
- -

-indexOf

-
-public static int indexOf(char[] array,
-                          char valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
Since:
2.1
-
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(char[] array,
-                              char valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
Since:
2.1
-
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(char[] array,
-                              char valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
Since:
2.1
-
-
-
-
- -

-contains

-
-public static boolean contains(char[] array,
-                               char valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
Since:
2.1
-
-
-
-
- -

-indexOf

-
-public static int indexOf(byte[] array,
-                          byte valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(byte[] array,
-                          byte valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(byte[] array,
-                              byte valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(byte[] array,
-                              byte valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(byte[] array,
-                               byte valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
-
-
-
- -

-indexOf

-
-public static int indexOf(double[] array,
-                          double valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(double[] array,
-                          double valueToFind,
-                          double tolerance)
-
-

Finds the index of the given value within a given tolerance in the array. - This method will return the index of the first value which falls between the region - defined by valueToFind - tolerance and valueToFind + tolerance.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
tolerance - tolerance of the search
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(double[] array,
-                          double valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(double[] array,
-                          double valueToFind,
-                          int startIndex,
-                          double tolerance)
-
-

Finds the index of the given value in the array starting at the given index. - This method will return the index of the first value which falls between the region - defined by valueToFind - tolerance and valueToFind + tolerance.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
tolerance - tolerance of the search
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(double[] array,
-                              double valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(double[] array,
-                              double valueToFind,
-                              double tolerance)
-
-

Finds the last index of the given value within a given tolerance in the array. - This method will return the index of the last value which falls between the region - defined by valueToFind - tolerance and valueToFind + tolerance.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
tolerance - tolerance of the search
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(double[] array,
-                              double valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(double[] array,
-                              double valueToFind,
-                              int startIndex,
-                              double tolerance)
-
-

Finds the last index of the given value in the array starting at the given index. - This method will return the index of the last value which falls between the region - defined by valueToFind - tolerance and valueToFind + tolerance.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
tolerance - search for value within plus/minus this amount
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(double[] array,
-                               double valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
-
-
-
- -

-contains

-
-public static boolean contains(double[] array,
-                               double valueToFind,
-                               double tolerance)
-
-

Checks if a value falling within the given tolerance is in the - given array. If the array contains a value within the inclusive range - defined by (value - tolerance) to (value + tolerance).

- -

The method returns false if a null array - is passed in.

-
Parameters:
array - the array to search
valueToFind - the value to find
tolerance - the array contains the tolerance of the search
Returns:
true if value falling within tolerance is in array
-
-
-
- -

-indexOf

-
-public static int indexOf(float[] array,
-                          float valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(float[] array,
-                          float valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(float[] array,
-                              float valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(float[] array,
-                              float valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than the - array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(float[] array,
-                               float valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
-
-
-
- -

-indexOf

-
-public static int indexOf(boolean[] array,
-                          boolean valueToFind)
-
-

Finds the index of the given value in the array.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-indexOf

-
-public static int indexOf(boolean[] array,
-                          boolean valueToFind,
-                          int startIndex)
-
-

Finds the index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex is treated as zero. A startIndex larger than the array - length will return INDEX_NOT_FOUND (-1).

-
Parameters:
array - the array to search through for the object, may be null
valueToFind - the value to find
startIndex - the index to start searching at
Returns:
the index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null - array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(boolean[] array,
-                              boolean valueToFind)
-
-

Finds the last index of the given value within the array.

- -

This method returns INDEX_NOT_FOUND (-1) if - null array input.

-
Parameters:
array - the array to travers backwords looking for the object, may be null
valueToFind - the object to find
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(boolean[] array,
-                              boolean valueToFind,
-                              int startIndex)
-
-

Finds the last index of the given value in the array starting at the given index.

- -

This method returns INDEX_NOT_FOUND (-1) for a null input array.

- -

A negative startIndex will return INDEX_NOT_FOUND (-1). A startIndex larger than - the array length will search from the end of the array.

-
Parameters:
array - the array to traverse for looking for the object, may be null
valueToFind - the value to find
startIndex - the start index to travers backwards from
Returns:
the last index of the value within the array, - INDEX_NOT_FOUND (-1) if not found or null array input
-
-
-
- -

-contains

-
-public static boolean contains(boolean[] array,
-                               boolean valueToFind)
-
-

Checks if the value is in the given array.

- -

The method returns false if a null array is passed in.

-
Parameters:
array - the array to search through
valueToFind - the value to find
Returns:
true if the array contains the object
-
-
-
- -

-toPrimitive

-
-public static char[] toPrimitive(Character[] array)
-
-

Converts an array of object Characters to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Character array, may be null
Returns:
a char array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static char[] toPrimitive(Character[] array,
-                                 char valueForNull)
-
-

Converts an array of object Character to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Character array, may be null
valueForNull - the value to insert if null found
Returns:
a char array, null if null array input
-
-
-
- -

-toObject

-
-public static Character[] toObject(char[] array)
-
-

Converts an array of primitive chars to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - a char array
Returns:
a Character array, null if null array input
-
-
-
- -

-toPrimitive

-
-public static long[] toPrimitive(Long[] array)
-
-

Converts an array of object Longs to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Long array, may be null
Returns:
a long array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static long[] toPrimitive(Long[] array,
-                                 long valueForNull)
-
-

Converts an array of object Long to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Long array, may be null
valueForNull - the value to insert if null found
Returns:
a long array, null if null array input
-
-
-
- -

-toObject

-
-public static Long[] toObject(long[] array)
-
-

Converts an array of primitive longs to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - a long array
Returns:
a Long array, null if null array input
-
-
-
- -

-toPrimitive

-
-public static int[] toPrimitive(Integer[] array)
-
-

Converts an array of object Integers to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Integer array, may be null
Returns:
an int array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static int[] toPrimitive(Integer[] array,
-                                int valueForNull)
-
-

Converts an array of object Integer to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Integer array, may be null
valueForNull - the value to insert if null found
Returns:
an int array, null if null array input
-
-
-
- -

-toObject

-
-public static Integer[] toObject(int[] array)
-
-

Converts an array of primitive ints to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - an int array
Returns:
an Integer array, null if null array input
-
-
-
- -

-toPrimitive

-
-public static short[] toPrimitive(Short[] array)
-
-

Converts an array of object Shorts to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Short array, may be null
Returns:
a byte array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static short[] toPrimitive(Short[] array,
-                                  short valueForNull)
-
-

Converts an array of object Short to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Short array, may be null
valueForNull - the value to insert if null found
Returns:
a byte array, null if null array input
-
-
-
- -

-toObject

-
-public static Short[] toObject(short[] array)
-
-

Converts an array of primitive shorts to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - a short array
Returns:
a Short array, null if null array input
-
-
-
- -

-toPrimitive

-
-public static byte[] toPrimitive(Byte[] array)
-
-

Converts an array of object Bytes to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Byte array, may be null
Returns:
a byte array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static byte[] toPrimitive(Byte[] array,
-                                 byte valueForNull)
-
-

Converts an array of object Bytes to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Byte array, may be null
valueForNull - the value to insert if null found
Returns:
a byte array, null if null array input
-
-
-
- -

-toObject

-
-public static Byte[] toObject(byte[] array)
-
-

Converts an array of primitive bytes to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - a byte array
Returns:
a Byte array, null if null array input
-
-
-
- -

-toPrimitive

-
-public static double[] toPrimitive(Double[] array)
-
-

Converts an array of object Doubles to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Double array, may be null
Returns:
a double array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static double[] toPrimitive(Double[] array,
-                                   double valueForNull)
-
-

Converts an array of object Doubles to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Double array, may be null
valueForNull - the value to insert if null found
Returns:
a double array, null if null array input
-
-
-
- -

-toObject

-
-public static Double[] toObject(double[] array)
-
-

Converts an array of primitive doubles to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - a double array
Returns:
a Double array, null if null array input
-
-
-
- -

-toPrimitive

-
-public static float[] toPrimitive(Float[] array)
-
-

Converts an array of object Floats to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Float array, may be null
Returns:
a float array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static float[] toPrimitive(Float[] array,
-                                  float valueForNull)
-
-

Converts an array of object Floats to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Float array, may be null
valueForNull - the value to insert if null found
Returns:
a float array, null if null array input
-
-
-
- -

-toObject

-
-public static Float[] toObject(float[] array)
-
-

Converts an array of primitive floats to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - a float array
Returns:
a Float array, null if null array input
-
-
-
- -

-toPrimitive

-
-public static boolean[] toPrimitive(Boolean[] array)
-
-

Converts an array of object Booleans to primitives.

- -

This method returns null for a null input array.

-
Parameters:
array - a Boolean array, may be null
Returns:
a boolean array, null if null array input
Throws:
NullPointerException - if array content is null
-
-
-
- -

-toPrimitive

-
-public static boolean[] toPrimitive(Boolean[] array,
-                                    boolean valueForNull)
-
-

Converts an array of object Booleans to primitives handling null.

- -

This method returns null for a null input array.

-
Parameters:
array - a Boolean array, may be null
valueForNull - the value to insert if null found
Returns:
a boolean array, null if null array input
-
-
-
- -

-toObject

-
-public static Boolean[] toObject(boolean[] array)
-
-

Converts an array of primitive booleans to objects.

- -

This method returns null for a null input array.

-
Parameters:
array - a boolean array
Returns:
a Boolean array, null if null array input
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(Object[] array)
-
-

Checks if an array of Objects is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(long[] array)
-
-

Checks if an array of primitive longs is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(int[] array)
-
-

Checks if an array of primitive ints is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(short[] array)
-
-

Checks if an array of primitive shorts is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(char[] array)
-
-

Checks if an array of primitive chars is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(byte[] array)
-
-

Checks if an array of primitive bytes is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(double[] array)
-
-

Checks if an array of primitive doubles is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(float[] array)
-
-

Checks if an array of primitive floats is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-isEmpty

-
-public static boolean isEmpty(boolean[] array)
-
-

Checks if an array of primitive booleans is empty or null.

-
Parameters:
array - the array to test
Returns:
true if the array is empty or null
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static Object[] addAll(Object[] array1,
-                              Object[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(null, null)     = null
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- ArrayUtils.addAll([null], [null]) = [null, null]
- ArrayUtils.addAll(["a", "b", "c"], ["1", "2", "3"]) = ["a", "b", "c", "1", "2", "3"]
- 
-
Parameters:
array1 - the first array whose elements are added to the new array, may be null
array2 - the second array whose elements are added to the new array, may be null
Returns:
The new array, null if null array inputs. - The type of the new array is the type of the first array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static boolean[] addAll(boolean[] array1,
-                               boolean[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new boolean[] array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static char[] addAll(char[] array1,
-                            char[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new char[] array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static byte[] addAll(byte[] array1,
-                            byte[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new byte[] array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static short[] addAll(short[] array1,
-                             short[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new short[] array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static int[] addAll(int[] array1,
-                           int[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new int[] array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static long[] addAll(long[] array1,
-                            long[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new long[] array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static float[] addAll(float[] array1,
-                             float[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new float[] array.
Since:
2.1
-
-
-
-
- -

-addAll

-
-public static double[] addAll(double[] array1,
-                              double[] array2)
-
-

Adds all the elements of the given arrays into a new array.

-

The new array contains all of the element of array1 followed - by all of the elements array2. When an array is returned, it is always - a new array.

- -
- ArrayUtils.addAll(array1, null)   = cloned copy of array1
- ArrayUtils.addAll(null, array2)   = cloned copy of array2
- ArrayUtils.addAll([], [])         = []
- 
-
Parameters:
array1 - the first array whose elements are added to the new array.
array2 - the second array whose elements are added to the new array.
Returns:
The new double[] array.
Since:
2.1
-
-
-
-
- -

-add

-
-public static Object[] add(Object[] array,
-                           Object element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, null)      = [null]
- ArrayUtils.add(null, "a")       = ["a"]
- ArrayUtils.add(["a"], null)     = ["a", null]
- ArrayUtils.add(["a"], "b")      = ["a", "b"]
- ArrayUtils.add(["a", "b"], "c") = ["a", "b", "c"]
- 
-
Parameters:
array - the array to "add" the element to, may be null
element - the object to add
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static boolean[] add(boolean[] array,
-                            boolean element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, true)          = [true]
- ArrayUtils.add([true], false)       = [true, false]
- ArrayUtils.add([true, false], true) = [true, false, true]
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static byte[] add(byte[] array,
-                         byte element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0)   = [0]
- ArrayUtils.add([1], 0)    = [1, 0]
- ArrayUtils.add([1, 0], 1) = [1, 0, 1]
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static char[] add(char[] array,
-                         char element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, '0')       = ['0']
- ArrayUtils.add(['1'], '0')      = ['1', '0']
- ArrayUtils.add(['1', '0'], '1') = ['1', '0', '1']
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static double[] add(double[] array,
-                           double element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0)   = [0]
- ArrayUtils.add([1], 0)    = [1, 0]
- ArrayUtils.add([1, 0], 1) = [1, 0, 1]
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static float[] add(float[] array,
-                          float element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0)   = [0]
- ArrayUtils.add([1], 0)    = [1, 0]
- ArrayUtils.add([1, 0], 1) = [1, 0, 1]
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static int[] add(int[] array,
-                        int element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0)   = [0]
- ArrayUtils.add([1], 0)    = [1, 0]
- ArrayUtils.add([1, 0], 1) = [1, 0, 1]
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static long[] add(long[] array,
-                         long element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0)   = [0]
- ArrayUtils.add([1], 0)    = [1, 0]
- ArrayUtils.add([1, 0], 1) = [1, 0, 1]
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static short[] add(short[] array,
-                          short element)
-
-

Copies the given array and adds the given element at the end of the new array.

- -

The new array contains the same elements of the input - array plus the given element in the last position. The component type of - the new array is the same as that of the input array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0)   = [0]
- ArrayUtils.add([1], 0)    = [1, 0]
- ArrayUtils.add([1, 0], 1) = [1, 0, 1]
- 
-
Parameters:
array - the array to copy and add the element to, may be null
element - the object to add at the last index of the new array
Returns:
A new array containing the existing elements plus the new element
Since:
2.1
-
-
-
-
- -

-add

-
-public static Object[] add(Object[] array,
-                           int index,
-                           Object element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0, null)      = [null]
- ArrayUtils.add(null, 0, "a")       = ["a"]
- ArrayUtils.add(["a"], 1, null)     = ["a", null]
- ArrayUtils.add(["a"], 1, "b")      = ["a", "b"]
- ArrayUtils.add(["a", "b"], 3, "c") = ["a", "b", "c"]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static boolean[] add(boolean[] array,
-                            int index,
-                            boolean element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0, true)          = [true]
- ArrayUtils.add([true], 0, false)       = [false, true]
- ArrayUtils.add([false], 1, true)       = [false, true]
- ArrayUtils.add([true, false], 1, true) = [true, true, false]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static char[] add(char[] array,
-                         int index,
-                         char element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add(null, 0, 'a')            = ['a']
- ArrayUtils.add(['a'], 0, 'b')           = ['b', 'a']
- ArrayUtils.add(['a', 'b'], 0, 'c')      = ['c', 'a', 'b']
- ArrayUtils.add(['a', 'b'], 1, 'k')      = ['a', 'k', 'b']
- ArrayUtils.add(['a', 'b', 'c'], 1, 't') = ['a', 't', 'b', 'c']
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static byte[] add(byte[] array,
-                         int index,
-                         byte element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add([1], 0, 2)         = [2, 1]
- ArrayUtils.add([2, 6], 2, 3)      = [2, 6, 3]
- ArrayUtils.add([2, 6], 0, 1)      = [1, 2, 6]
- ArrayUtils.add([2, 6, 3], 2, 1)   = [2, 6, 1, 3]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static short[] add(short[] array,
-                          int index,
-                          short element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add([1], 0, 2)         = [2, 1]
- ArrayUtils.add([2, 6], 2, 10)     = [2, 6, 10]
- ArrayUtils.add([2, 6], 0, -4)     = [-4, 2, 6]
- ArrayUtils.add([2, 6, 3], 2, 1)   = [2, 6, 1, 3]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static int[] add(int[] array,
-                        int index,
-                        int element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add([1], 0, 2)         = [2, 1]
- ArrayUtils.add([2, 6], 2, 10)     = [2, 6, 10]
- ArrayUtils.add([2, 6], 0, -4)     = [-4, 2, 6]
- ArrayUtils.add([2, 6, 3], 2, 1)   = [2, 6, 1, 3]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static long[] add(long[] array,
-                         int index,
-                         long element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add([1L], 0, 2L)           = [2L, 1L]
- ArrayUtils.add([2L, 6L], 2, 10L)      = [2L, 6L, 10L]
- ArrayUtils.add([2L, 6L], 0, -4L)      = [-4L, 2L, 6L]
- ArrayUtils.add([2L, 6L, 3L], 2, 1L)   = [2L, 6L, 1L, 3L]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static float[] add(float[] array,
-                          int index,
-                          float element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add([1.1f], 0, 2.2f)               = [2.2f, 1.1f]
- ArrayUtils.add([2.3f, 6.4f], 2, 10.5f)        = [2.3f, 6.4f, 10.5f]
- ArrayUtils.add([2.6f, 6.7f], 0, -4.8f)        = [-4.8f, 2.6f, 6.7f]
- ArrayUtils.add([2.9f, 6.0f, 0.3f], 2, 1.0f)   = [2.9f, 6.0f, 1.0f, 0.3f]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-add

-
-public static double[] add(double[] array,
-                           int index,
-                           double element)
-
-

Inserts the specified element at the specified position in the array. - Shifts the element currently at that position (if any) and any subsequent - elements to the right (adds one to their indices).

- -

This method returns a new array with the same elements of the input - array plus the given element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, a new one element array is returned - whose component type is the same as the element.

- -
- ArrayUtils.add([1.1], 0, 2.2)              = [2.2, 1.1]
- ArrayUtils.add([2.3, 6.4], 2, 10.5)        = [2.3, 6.4, 10.5]
- ArrayUtils.add([2.6, 6.7], 0, -4.8)        = [-4.8, 2.6, 6.7]
- ArrayUtils.add([2.9, 6.0, 0.3], 2, 1.0)    = [2.9, 6.0, 1.0, 0.3]
- 
-
Parameters:
array - the array to add the element to, may be null
index - the position of the new object
element - the object to add
Returns:
A new array containing the existing elements and the new element
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index > array.length).
-
-
-
- -

-remove

-
-public static Object[] remove(Object[] array,
-                              int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove(["a"], 0)           = []
- ArrayUtils.remove(["a", "b"], 0)      = ["b"]
- ArrayUtils.remove(["a", "b"], 1)      = ["a"]
- ArrayUtils.remove(["a", "b", "c"], 1) = ["a", "c"]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static Object[] removeElement(Object[] array,
-                                     Object element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, "a")            = null
- ArrayUtils.removeElement([], "a")              = []
- ArrayUtils.removeElement(["a"], "b")           = ["a"]
- ArrayUtils.removeElement(["a", "b"], "a")      = ["b"]
- ArrayUtils.removeElement(["a", "b", "a"], "a") = ["b", "a"]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static boolean[] remove(boolean[] array,
-                               int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove([true], 0)              = []
- ArrayUtils.remove([true, false], 0)       = [false]
- ArrayUtils.remove([true, false], 1)       = [true]
- ArrayUtils.remove([true, true, false], 1) = [true, false]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static boolean[] removeElement(boolean[] array,
-                                      boolean element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, true)                = null
- ArrayUtils.removeElement([], true)                  = []
- ArrayUtils.removeElement([true], false)             = [true]
- ArrayUtils.removeElement([true, false], false)      = [true]
- ArrayUtils.removeElement([true, false, true], true) = [false, true]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static byte[] remove(byte[] array,
-                            int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove([1], 0)          = []
- ArrayUtils.remove([1, 0], 0)       = [0]
- ArrayUtils.remove([1, 0], 1)       = [1]
- ArrayUtils.remove([1, 0, 1], 1)    = [1, 1]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static byte[] removeElement(byte[] array,
-                                   byte element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, 1)        = null
- ArrayUtils.removeElement([], 1)          = []
- ArrayUtils.removeElement([1], 0)         = [1]
- ArrayUtils.removeElement([1, 0], 0)      = [1]
- ArrayUtils.removeElement([1, 0, 1], 1)   = [0, 1]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static char[] remove(char[] array,
-                            int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove(['a'], 0)           = []
- ArrayUtils.remove(['a', 'b'], 0)      = ['b']
- ArrayUtils.remove(['a', 'b'], 1)      = ['a']
- ArrayUtils.remove(['a', 'b', 'c'], 1) = ['a', 'c']
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static char[] removeElement(char[] array,
-                                   char element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, 'a')            = null
- ArrayUtils.removeElement([], 'a')              = []
- ArrayUtils.removeElement(['a'], 'b')           = ['a']
- ArrayUtils.removeElement(['a', 'b'], 'a')      = ['b']
- ArrayUtils.removeElement(['a', 'b', 'a'], 'a') = ['b', 'a']
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static double[] remove(double[] array,
-                              int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove([1.1], 0)           = []
- ArrayUtils.remove([2.5, 6.0], 0)      = [6.0]
- ArrayUtils.remove([2.5, 6.0], 1)      = [2.5]
- ArrayUtils.remove([2.5, 6.0, 3.8], 1) = [2.5, 3.8]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static double[] removeElement(double[] array,
-                                     double element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, 1.1)            = null
- ArrayUtils.removeElement([], 1.1)              = []
- ArrayUtils.removeElement([1.1], 1.2)           = [1.1]
- ArrayUtils.removeElement([1.1, 2.3], 1.1)      = [2.3]
- ArrayUtils.removeElement([1.1, 2.3, 1.1], 1.1) = [2.3, 1.1]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static float[] remove(float[] array,
-                             int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove([1.1], 0)           = []
- ArrayUtils.remove([2.5, 6.0], 0)      = [6.0]
- ArrayUtils.remove([2.5, 6.0], 1)      = [2.5]
- ArrayUtils.remove([2.5, 6.0, 3.8], 1) = [2.5, 3.8]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static float[] removeElement(float[] array,
-                                    float element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, 1.1)            = null
- ArrayUtils.removeElement([], 1.1)              = []
- ArrayUtils.removeElement([1.1], 1.2)           = [1.1]
- ArrayUtils.removeElement([1.1, 2.3], 1.1)      = [2.3]
- ArrayUtils.removeElement([1.1, 2.3, 1.1], 1.1) = [2.3, 1.1]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static int[] remove(int[] array,
-                           int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove([1], 0)         = []
- ArrayUtils.remove([2, 6], 0)      = [6]
- ArrayUtils.remove([2, 6], 1)      = [2]
- ArrayUtils.remove([2, 6, 3], 1)   = [2, 3]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static int[] removeElement(int[] array,
-                                  int element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, 1)      = null
- ArrayUtils.removeElement([], 1)        = []
- ArrayUtils.removeElement([1], 2)       = [1]
- ArrayUtils.removeElement([1, 3], 1)    = [3]
- ArrayUtils.removeElement([1, 3, 1], 1) = [3, 1]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static long[] remove(long[] array,
-                            int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove([1], 0)         = []
- ArrayUtils.remove([2, 6], 0)      = [6]
- ArrayUtils.remove([2, 6], 1)      = [2]
- ArrayUtils.remove([2, 6, 3], 1)   = [2, 3]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static long[] removeElement(long[] array,
-                                   long element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, 1)      = null
- ArrayUtils.removeElement([], 1)        = []
- ArrayUtils.removeElement([1], 2)       = [1]
- ArrayUtils.removeElement([1, 3], 1)    = [3]
- ArrayUtils.removeElement([1, 3, 1], 1) = [3, 1]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
-
- -

-remove

-
-public static short[] remove(short[] array,
-                             int index)
-
-

Removes the element at the specified position from the specified array. - All subsequent elements are shifted to the left (substracts one from - their indices).

- -

This method returns a new array with the same elements of the input - array except the element on the specified position. The component - type of the returned array is always the same as that of the input - array.

- -

If the input array is null, an IndexOutOfBoundsException - will be thrown, because in that case no valid index can be specified.

- -
- ArrayUtils.remove([1], 0)         = []
- ArrayUtils.remove([2, 6], 0)      = [6]
- ArrayUtils.remove([2, 6], 1)      = [2]
- ArrayUtils.remove([2, 6, 3], 1)   = [2, 3]
- 
-
Parameters:
array - the array to remove the element from, may not be null
index - the position of the element to be removed
Returns:
A new array containing the existing elements except the element - at the specified position.
Throws:
IndexOutOfBoundsException - if the index is out of range - (index < 0 || index >= array.length), or if the array is null.
Since:
2.1
-
-
-
-
- -

-removeElement

-
-public static short[] removeElement(short[] array,
-                                    short element)
-
-

Removes the first occurrence of the specified element from the - specified array. All subsequent elements are shifted to the left - (substracts one from their indices). If the array doesn't contains - such an element, no elements are removed from the array.

- -

This method returns a new array with the same elements of the input - array except the first occurrence of the specified element. The component - type of the returned array is always the same as that of the input - array.

- -
- ArrayUtils.removeElement(null, 1)      = null
- ArrayUtils.removeElement([], 1)        = []
- ArrayUtils.removeElement([1], 2)       = [1]
- ArrayUtils.removeElement([1, 3], 1)    = [3]
- ArrayUtils.removeElement([1, 3, 1], 1) = [3, 1]
- 
-
Parameters:
array - the array to remove the element from, may be null
element - the element to be removed
Returns:
A new array containing the existing elements except the first - occurrence of the specified element.
Since:
2.1
-
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/BitField.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/BitField.html deleted file mode 100644 index a94d8ce5..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/BitField.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class BitField - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class BitField

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.BitField
-
-
-
-
public class BitField
extends Object
- -

-

Operations on bit-mapped fields.

-

-

-
Since:
2.0
-
Version:
$Id: BitField.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Apache Jakarta POI, Scott Sanders (sanders at apache dot org), Marc Johnson (mjohnson at apache dot org), Andrew C. Oliver (acoliver at apache dot org), Stephen Colebourne, Pete Gieser, Gary Gregory
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
BitField(int mask) - -
-          Creates a BitField instance.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intclear(int holder) - -
-          Clears the bits.
- byteclearByte(byte holder) - -
-          Clears the bits.
- shortclearShort(short holder) - -
-          Clears the bits.
- intgetRawValue(int holder) - -
-          Obtains the value for the specified BitField, unshifted.
- shortgetShortRawValue(short holder) - -
-          Obtains the value for the specified BitField, unshifted.
- shortgetShortValue(short holder) - -
-          Obtains the value for the specified BitField, appropriately - shifted right, as a short.
- intgetValue(int holder) - -
-          Obtains the value for the specified BitField, appropriately - shifted right.
- booleanisAllSet(int holder) - -
-          Returns whether all of the bits are set or not.
- booleanisSet(int holder) - -
-          Returns whether the field is set or not.
- intset(int holder) - -
-          Sets the bits.
- intsetBoolean(int holder, - boolean flag) - -
-          Sets a boolean BitField.
- bytesetByte(byte holder) - -
-          Sets the bits.
- bytesetByteBoolean(byte holder, - boolean flag) - -
-          Sets a boolean BitField.
- shortsetShort(short holder) - -
-          Sets the bits.
- shortsetShortBoolean(short holder, - boolean flag) - -
-          Sets a boolean BitField.
- shortsetShortValue(short holder, - short value) - -
-          Replaces the bits with new values.
- intsetValue(int holder, - int value) - -
-          Replaces the bits with new values.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-BitField

-
-public BitField(int mask)
-
-

Creates a BitField instance.

-
Parameters:
mask - the mask specifying which bits apply to this - BitField. Bits that are set in this mask are the bits - that this BitField operates on
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public int getValue(int holder)
-
-

Obtains the value for the specified BitField, appropriately - shifted right.

- -

Many users of a BitField will want to treat the specified - bits as an int value, and will not want to be aware that the - value is stored as a BitField (and so shifted left so many - bits).

-
Parameters:
holder - the int data containing the bits we're interested - in
Returns:
the selected bits, shifted right appropriately
See Also:
setValue(int,int)
-
-
-
- -

-getShortValue

-
-public short getShortValue(short holder)
-
-

Obtains the value for the specified BitField, appropriately - shifted right, as a short.

- -

Many users of a BitField will want to treat the specified - bits as an int value, and will not want to be aware that the - value is stored as a BitField (and so shifted left so many - bits).

-
Parameters:
holder - the short data containing the bits we're - interested in
Returns:
the selected bits, shifted right appropriately
See Also:
setShortValue(short,short)
-
-
-
- -

-getRawValue

-
-public int getRawValue(int holder)
-
-

Obtains the value for the specified BitField, unshifted.

-
Parameters:
holder - the int data containing the bits we're - interested in
Returns:
the selected bits
-
-
-
- -

-getShortRawValue

-
-public short getShortRawValue(short holder)
-
-

Obtains the value for the specified BitField, unshifted.

-
Parameters:
holder - the short data containing the bits we're - interested in
Returns:
the selected bits
-
-
-
- -

-isSet

-
-public boolean isSet(int holder)
-
-

Returns whether the field is set or not.

- -

This is most commonly used for a single-bit field, which is - often used to represent a boolean value; the results of using - it for a multi-bit field is to determine whether *any* of its - bits are set.

-
Parameters:
holder - the int data containing the bits we're interested - in
Returns:
true if any of the bits are set, - else false
-
-
-
- -

-isAllSet

-
-public boolean isAllSet(int holder)
-
-

Returns whether all of the bits are set or not.

- -

This is a stricter test than isSet(int), - in that all of the bits in a multi-bit set must be set - for this method to return true.

-
Parameters:
holder - the int data containing the bits we're - interested in
Returns:
true if all of the bits are set, - else false
-
-
-
- -

-setValue

-
-public int setValue(int holder,
-                    int value)
-
-

Replaces the bits with new values.

-
Parameters:
holder - the int data containing the bits we're - interested in
value - the new value for the specified bits
Returns:
the value of holder with the bits from the value - parameter replacing the old bits
See Also:
getValue(int)
-
-
-
- -

-setShortValue

-
-public short setShortValue(short holder,
-                           short value)
-
-

Replaces the bits with new values.

-
Parameters:
holder - the short data containing the bits we're - interested in
value - the new value for the specified bits
Returns:
the value of holder with the bits from the value - parameter replacing the old bits
See Also:
getShortValue(short)
-
-
-
- -

-clear

-
-public int clear(int holder)
-
-

Clears the bits.

-
Parameters:
holder - the int data containing the bits we're - interested in
Returns:
the value of holder with the specified bits cleared - (set to 0)
-
-
-
- -

-clearShort

-
-public short clearShort(short holder)
-
-

Clears the bits.

-
Parameters:
holder - the short data containing the bits we're - interested in
Returns:
the value of holder with the specified bits cleared - (set to 0)
-
-
-
- -

-clearByte

-
-public byte clearByte(byte holder)
-
-

Clears the bits.

-
Parameters:
holder - the byte data containing the bits we're - interested in
Returns:
the value of holder with the specified bits cleared - (set to 0)
-
-
-
- -

-set

-
-public int set(int holder)
-
-

Sets the bits.

-
Parameters:
holder - the int data containing the bits we're - interested in
Returns:
the value of holder with the specified bits set - to 1
-
-
-
- -

-setShort

-
-public short setShort(short holder)
-
-

Sets the bits.

-
Parameters:
holder - the short data containing the bits we're - interested in
Returns:
the value of holder with the specified bits set - to 1
-
-
-
- -

-setByte

-
-public byte setByte(byte holder)
-
-

Sets the bits.

-
Parameters:
holder - the byte data containing the bits we're - interested in
Returns:
the value of holder with the specified bits set - to 1
-
-
-
- -

-setBoolean

-
-public int setBoolean(int holder,
-                      boolean flag)
-
-

Sets a boolean BitField.

-
Parameters:
holder - the int data containing the bits we're - interested in
flag - indicating whether to set or clear the bits
Returns:
the value of holder with the specified bits set or - cleared
-
-
-
- -

-setShortBoolean

-
-public short setShortBoolean(short holder,
-                             boolean flag)
-
-

Sets a boolean BitField.

-
Parameters:
holder - the short data containing the bits we're - interested in
flag - indicating whether to set or clear the bits
Returns:
the value of holder with the specified bits set or - cleared
-
-
-
- -

-setByteBoolean

-
-public byte setByteBoolean(byte holder,
-                           boolean flag)
-
-

Sets a boolean BitField.

-
Parameters:
holder - the byte data containing the bits we're - interested in
flag - indicating whether to set or clear the bits
Returns:
the value of holder with the specified bits set or - cleared
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/BooleanUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/BooleanUtils.html deleted file mode 100644 index 75474cc1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/BooleanUtils.html +++ /dev/null @@ -1,1265 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class BooleanUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class BooleanUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.BooleanUtils
-
-
-
-
public class BooleanUtils
extends Object
- -

-

Operations on boolean primitives and Boolean objects.

- -

This class tries to handle null input gracefully. - An exception will not be thrown for a null input. - Each method documents its behaviour in more detail.

-

-

-
Since:
2.0
-
Version:
$Id: BooleanUtils.java 492378 2007-01-04 01:31:24Z scolebourne $
-
Author:
Stephen Colebourne, Matthew Hawthorne, Gary Gregory
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
BooleanUtils() - -
-          BooleanUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static booleanisFalse(Boolean bool) - -
-          Checks if a Boolean value is false, - handling null by returning false.
-static booleanisNotFalse(Boolean bool) - -
-          Checks if a Boolean value is not false, - handling null by returning true.
-static booleanisNotTrue(Boolean bool) - -
-          Checks if a Boolean value is not true, - handling null by returning true.
-static booleanisTrue(Boolean bool) - -
-          Checks if a Boolean value is true, - handling null by returning false.
-static Booleannegate(Boolean bool) - -
-          Negates the specified boolean.
-static booleantoBoolean(Boolean bool) - -
-          Converts a Boolean to a boolean handling null - by returning false.
-static booleantoBoolean(int value) - -
-          Converts an int to a boolean using the convention that zero - is false.
-static booleantoBoolean(Integer value, - Integer trueValue, - Integer falseValue) - -
-          Converts an Integer to a boolean specifying the conversion values.
-static booleantoBoolean(int value, - int trueValue, - int falseValue) - -
-          Converts an int to a boolean specifying the conversion values.
-static booleantoBoolean(String str) - -
-          Converts a String to a boolean (optimised for performance).
-static booleantoBoolean(String str, - String trueString, - String falseString) - -
-          Converts a String to a Boolean throwing an exception if no match found.
-static booleantoBooleanDefaultIfNull(Boolean bool, - boolean valueIfNull) - -
-          Converts a Boolean to a boolean handling null.
-static BooleantoBooleanObject(boolean bool) - -
-          Boolean factory that avoids creating new Boolean objecs all the time.
-static BooleantoBooleanObject(int value) - -
-          Converts an int to a Boolean using the convention that zero - is false.
-static BooleantoBooleanObject(Integer value) - -
-          Converts an Integer to a Boolean using the convention that zero - is false.
-static BooleantoBooleanObject(Integer value, - Integer trueValue, - Integer falseValue, - Integer nullValue) - -
-          Converts an Integer to a Boolean specifying the conversion values.
-static BooleantoBooleanObject(int value, - int trueValue, - int falseValue, - int nullValue) - -
-          Converts an int to a Boolean specifying the conversion values.
-static BooleantoBooleanObject(String str) - -
-          Converts a String to a Boolean.
-static BooleantoBooleanObject(String str, - String trueString, - String falseString, - String nullString) - -
-          Converts a String to a Boolean throwing an exception if no match.
-static inttoInteger(boolean bool) - -
-          Converts a boolean to an int using the convention that - zero is false.
-static inttoInteger(boolean bool, - int trueValue, - int falseValue) - -
-          Converts a boolean to an int specifying the conversion values.
-static inttoInteger(Boolean bool, - int trueValue, - int falseValue, - int nullValue) - -
-          Converts a Boolean to an int specifying the conversion values.
-static IntegertoIntegerObject(boolean bool) - -
-          Converts a boolean to an Integer using the convention that - zero is false.
-static IntegertoIntegerObject(Boolean bool) - -
-          Converts a Boolean to a Integer using the convention that - zero is false.
-static IntegertoIntegerObject(boolean bool, - Integer trueValue, - Integer falseValue) - -
-          Converts a boolean to an Integer specifying the conversion values.
-static IntegertoIntegerObject(Boolean bool, - Integer trueValue, - Integer falseValue, - Integer nullValue) - -
-          Converts a Boolean to an Integer specifying the conversion values.
-static StringtoString(boolean bool, - String trueString, - String falseString) - -
-          Converts a boolean to a String returning one of the input Strings.
-static StringtoString(Boolean bool, - String trueString, - String falseString, - String nullString) - -
-          Converts a Boolean to a String returning one of the input Strings.
-static StringtoStringOnOff(boolean bool) - -
-          Converts a boolean to a String returning 'on' - or 'off'.
-static StringtoStringOnOff(Boolean bool) - -
-          Converts a Boolean to a String returning 'on', - 'off', or null.
-static StringtoStringTrueFalse(boolean bool) - -
-          Converts a boolean to a String returning 'true' - or 'false'.
-static StringtoStringTrueFalse(Boolean bool) - -
-          Converts a Boolean to a String returning 'true', - 'false', or null.
-static StringtoStringYesNo(boolean bool) - -
-          Converts a boolean to a String returning 'yes' - or 'no'.
-static StringtoStringYesNo(Boolean bool) - -
-          Converts a Boolean to a String returning 'yes', - 'no', or null.
-static booleanxor(boolean[] array) - -
-          Performs an xor on a set of booleans.
-static Booleanxor(Boolean[] array) - -
-          Performs an xor on an array of Booleans.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-BooleanUtils

-
-public BooleanUtils()
-
-

BooleanUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as BooleanUtils.toBooleanObject(true);.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-negate

-
-public static Boolean negate(Boolean bool)
-
-

Negates the specified boolean.

- -

If null is passed in, null will be returned.

- -
-   BooleanUtils.negate(Boolean.TRUE)  = Boolean.FALSE;
-   BooleanUtils.negate(Boolean.FALSE) = Boolean.TRUE;
-   BooleanUtils.negate(null)          = null;
- 
-
Parameters:
bool - the Boolean to negate, may be null
Returns:
the negated Boolean, or null if null input
-
-
-
- -

-isTrue

-
-public static boolean isTrue(Boolean bool)
-
-

Checks if a Boolean value is true, - handling null by returning false.

- -
-   BooleanUtils.isTrue(Boolean.TRUE)  = true
-   BooleanUtils.isTrue(Boolean.FALSE) = false
-   BooleanUtils.isTrue(null)          = false
- 
-
Parameters:
bool - the boolean to check, null returns false
Returns:
true only if the input is non-null and true
Since:
2.1
-
-
-
-
- -

-isNotTrue

-
-public static boolean isNotTrue(Boolean bool)
-
-

Checks if a Boolean value is not true, - handling null by returning true.

- -
-   BooleanUtils.isNotTrue(Boolean.TRUE)  = false
-   BooleanUtils.isNotTrue(Boolean.FALSE) = true
-   BooleanUtils.isNotTrue(null)          = true
- 
-
Parameters:
bool - the boolean to check, null returns true
Returns:
true if the input is null or false
Since:
2.3
-
-
-
-
- -

-isFalse

-
-public static boolean isFalse(Boolean bool)
-
-

Checks if a Boolean value is false, - handling null by returning false.

- -
-   BooleanUtils.isFalse(Boolean.TRUE)  = false
-   BooleanUtils.isFalse(Boolean.FALSE) = true
-   BooleanUtils.isFalse(null)          = false
- 
-
Parameters:
bool - the boolean to check, null returns false
Returns:
true only if the input is non-null and false
Since:
2.1
-
-
-
-
- -

-isNotFalse

-
-public static boolean isNotFalse(Boolean bool)
-
-

Checks if a Boolean value is not false, - handling null by returning true.

- -
-   BooleanUtils.isNotFalse(Boolean.TRUE)  = true
-   BooleanUtils.isNotFalse(Boolean.FALSE) = false
-   BooleanUtils.isNotFalse(null)          = true
- 
-
Parameters:
bool - the boolean to check, null returns true
Returns:
true if the input is null or true
Since:
2.3
-
-
-
-
- -

-toBooleanObject

-
-public static Boolean toBooleanObject(boolean bool)
-
-

Boolean factory that avoids creating new Boolean objecs all the time.

- -

This method was added to JDK1.4 but is available here for earlier JDKs.

- -
-   BooleanUtils.toBooleanObject(false) = Boolean.FALSE
-   BooleanUtils.toBooleanObject(true)  = Boolean.TRUE
- 
-
Parameters:
bool - the boolean to convert
Returns:
Boolean.TRUE or Boolean.FALSE as appropriate
-
-
-
- -

-toBoolean

-
-public static boolean toBoolean(Boolean bool)
-
-

Converts a Boolean to a boolean handling null - by returning false.

- -
-   BooleanUtils.toBoolean(Boolean.TRUE)  = true
-   BooleanUtils.toBoolean(Boolean.FALSE) = false
-   BooleanUtils.toBoolean(null)          = false
- 
-
Parameters:
bool - the boolean to convert
Returns:
true or false, - null returns false
-
-
-
- -

-toBooleanDefaultIfNull

-
-public static boolean toBooleanDefaultIfNull(Boolean bool,
-                                             boolean valueIfNull)
-
-

Converts a Boolean to a boolean handling null.

- -
-   BooleanUtils.toBooleanDefaultIfNull(Boolean.TRUE, false) = true
-   BooleanUtils.toBooleanDefaultIfNull(Boolean.FALSE, true) = false
-   BooleanUtils.toBooleanDefaultIfNull(null, true)          = true
- 
-
Parameters:
bool - the boolean to convert
valueIfNull - the boolean value to return if null
Returns:
true or false
-
-
-
- -

-toBoolean

-
-public static boolean toBoolean(int value)
-
-

Converts an int to a boolean using the convention that zero - is false.

- -
-   BooleanUtils.toBoolean(0) = false
-   BooleanUtils.toBoolean(1) = true
-   BooleanUtils.toBoolean(2) = true
- 
-
Parameters:
value - the int to convert
Returns:
true if non-zero, false - if zero
-
-
-
- -

-toBooleanObject

-
-public static Boolean toBooleanObject(int value)
-
-

Converts an int to a Boolean using the convention that zero - is false.

- -
-   BooleanUtils.toBoolean(0) = Boolean.FALSE
-   BooleanUtils.toBoolean(1) = Boolean.TRUE
-   BooleanUtils.toBoolean(2) = Boolean.TRUE
- 
-
Parameters:
value - the int to convert
Returns:
Boolean.TRUE if non-zero, Boolean.FALSE if zero, - null if null
-
-
-
- -

-toBooleanObject

-
-public static Boolean toBooleanObject(Integer value)
-
-

Converts an Integer to a Boolean using the convention that zero - is false.

- -

null will be converted to null.

- -
-   BooleanUtils.toBoolean(new Integer(0))    = Boolean.FALSE
-   BooleanUtils.toBoolean(new Integer(1))    = Boolean.TRUE
-   BooleanUtils.toBoolean(new Integer(null)) = null
- 
-
Parameters:
value - the Integer to convert
Returns:
Boolean.TRUE if non-zero, Boolean.FALSE if zero, - null if null input
-
-
-
- -

-toBoolean

-
-public static boolean toBoolean(int value,
-                                int trueValue,
-                                int falseValue)
-
-

Converts an int to a boolean specifying the conversion values.

- -
-   BooleanUtils.toBoolean(0, 1, 0) = false
-   BooleanUtils.toBoolean(1, 1, 0) = true
-   BooleanUtils.toBoolean(2, 1, 2) = false
-   BooleanUtils.toBoolean(2, 2, 0) = true
- 
-
Parameters:
value - the Integer to convert
trueValue - the value to match for true
falseValue - the value to match for false
Returns:
true or false
Throws:
IllegalArgumentException - if no match
-
-
-
- -

-toBoolean

-
-public static boolean toBoolean(Integer value,
-                                Integer trueValue,
-                                Integer falseValue)
-
-

Converts an Integer to a boolean specifying the conversion values.

- -
-   BooleanUtils.toBoolean(new Integer(0), new Integer(1), new Integer(0)) = false
-   BooleanUtils.toBoolean(new Integer(1), new Integer(1), new Integer(0)) = true
-   BooleanUtils.toBoolean(new Integer(2), new Integer(1), new Integer(2)) = false
-   BooleanUtils.toBoolean(new Integer(2), new Integer(2), new Integer(0)) = true
-   BooleanUtils.toBoolean(null, null, new Integer(0))                     = true
- 
-
Parameters:
value - the Integer to convert
trueValue - the value to match for true, - may be null
falseValue - the value to match for false, - may be null
Returns:
true or false
Throws:
IllegalArgumentException - if no match
-
-
-
- -

-toBooleanObject

-
-public static Boolean toBooleanObject(int value,
-                                      int trueValue,
-                                      int falseValue,
-                                      int nullValue)
-
-

Converts an int to a Boolean specifying the conversion values.

- -
-   BooleanUtils.toBooleanObject(0, 0, 2, 3) = Boolean.TRUE
-   BooleanUtils.toBooleanObject(2, 1, 2, 3) = Boolean.FALSE
-   BooleanUtils.toBooleanObject(3, 1, 2, 3) = null
- 
-
Parameters:
value - the Integer to convert
trueValue - the value to match for true
falseValue - the value to match for false
nullValue - the value to to match for null
Returns:
Boolean.TRUE, Boolean.FALSE, or null
Throws:
IllegalArgumentException - if no match
-
-
-
- -

-toBooleanObject

-
-public static Boolean toBooleanObject(Integer value,
-                                      Integer trueValue,
-                                      Integer falseValue,
-                                      Integer nullValue)
-
-

Converts an Integer to a Boolean specifying the conversion values.

- -
-   BooleanUtils.toBooleanObject(new Integer(0), new Integer(0), new Integer(2), new Integer(3)) = Boolean.TRUE
-   BooleanUtils.toBooleanObject(new Integer(2), new Integer(1), new Integer(2), new Integer(3)) = Boolean.FALSE
-   BooleanUtils.toBooleanObject(new Integer(3), new Integer(1), new Integer(2), new Integer(3)) = null
- 
-
Parameters:
value - the Integer to convert
trueValue - the value to match for true, - may be null
falseValue - the value to match for false, - may be null
nullValue - the value to to match for null, - may be null
Returns:
Boolean.TRUE, Boolean.FALSE, or null
Throws:
IllegalArgumentException - if no match
-
-
-
- -

-toInteger

-
-public static int toInteger(boolean bool)
-
-

Converts a boolean to an int using the convention that - zero is false.

- -
-   BooleanUtils.toInteger(true)  = 1
-   BooleanUtils.toInteger(false) = 0
- 
-
Parameters:
bool - the boolean to convert
Returns:
one if true, zero if false
-
-
-
- -

-toIntegerObject

-
-public static Integer toIntegerObject(boolean bool)
-
-

Converts a boolean to an Integer using the convention that - zero is false.

- -
-   BooleanUtils.toIntegerObject(true)  = new Integer(1)
-   BooleanUtils.toIntegerObject(false) = new Integer(0)
- 
-
Parameters:
bool - the boolean to convert
Returns:
one if true, zero if false
-
-
-
- -

-toIntegerObject

-
-public static Integer toIntegerObject(Boolean bool)
-
-

Converts a Boolean to a Integer using the convention that - zero is false.

- -

null will be converted to null.

- -
-   BooleanUtils.toIntegerObject(Boolean.TRUE)  = new Integer(1)
-   BooleanUtils.toIntegerObject(Boolean.FALSE) = new Integer(0)
- 
-
Parameters:
bool - the Boolean to convert
Returns:
one if Boolean.TRUE, zero if Boolean.FALSE, null if null
-
-
-
- -

-toInteger

-
-public static int toInteger(boolean bool,
-                            int trueValue,
-                            int falseValue)
-
-

Converts a boolean to an int specifying the conversion values.

- -
-   BooleanUtils.toInteger(true, 1, 0)  = 1
-   BooleanUtils.toInteger(false, 1, 0) = 0
- 
-
Parameters:
bool - the to convert
trueValue - the value to return if true
falseValue - the value to return if false
Returns:
the appropriate value
-
-
-
- -

-toInteger

-
-public static int toInteger(Boolean bool,
-                            int trueValue,
-                            int falseValue,
-                            int nullValue)
-
-

Converts a Boolean to an int specifying the conversion values.

- -
-   BooleanUtils.toInteger(Boolean.TRUE, 1, 0, 2)  = 1
-   BooleanUtils.toInteger(Boolean.FALSE, 1, 0, 2) = 0
-   BooleanUtils.toInteger(null, 1, 0, 2)          = 2
- 
-
Parameters:
bool - the Boolean to convert
trueValue - the value to return if true
falseValue - the value to return if false
nullValue - the value to return if null
Returns:
the appropriate value
-
-
-
- -

-toIntegerObject

-
-public static Integer toIntegerObject(boolean bool,
-                                      Integer trueValue,
-                                      Integer falseValue)
-
-

Converts a boolean to an Integer specifying the conversion values.

- -
-   BooleanUtils.toIntegerObject(true, new Integer(1), new Integer(0))  = new Integer(1)
-   BooleanUtils.toIntegerObject(false, new Integer(1), new Integer(0)) = new Integer(0)
- 
-
Parameters:
bool - the to convert
trueValue - the value to return if true, - may be null
falseValue - the value to return if false, - may be null
Returns:
the appropriate value
-
-
-
- -

-toIntegerObject

-
-public static Integer toIntegerObject(Boolean bool,
-                                      Integer trueValue,
-                                      Integer falseValue,
-                                      Integer nullValue)
-
-

Converts a Boolean to an Integer specifying the conversion values.

- -
-   BooleanUtils.toIntegerObject(Boolean.TRUE, new Integer(1), new Integer(0), new Integer(2))  = new Integer(1)
-   BooleanUtils.toIntegerObject(Boolean.FALSE, new Integer(1), new Integer(0), new Integer(2)) = new Integer(0)
-   BooleanUtils.toIntegerObject(null, new Integer(1), new Integer(0), new Integer(2))          = new Integer(2)
- 
-
Parameters:
bool - the Boolean to convert
trueValue - the value to return if true, - may be null
falseValue - the value to return if false, - may be null
nullValue - the value to return if null, - may be null
Returns:
the appropriate value
-
-
-
- -

-toBooleanObject

-
-public static Boolean toBooleanObject(String str)
-
-

Converts a String to a Boolean.

- -

'true', 'on' or 'yes' - (case insensitive) will return true. - 'false', 'off' or 'no' - (case insensitive) will return false. - Otherwise, null is returned.

- -
-   BooleanUtils.toBooleanObject(null)    = null
-   BooleanUtils.toBooleanObject("true")  = Boolean.TRUE
-   BooleanUtils.toBooleanObject("false") = Boolean.FALSE
-   BooleanUtils.toBooleanObject("on")    = Boolean.TRUE
-   BooleanUtils.toBooleanObject("ON")    = Boolean.TRUE
-   BooleanUtils.toBooleanObject("off")   = Boolean.FALSE
-   BooleanUtils.toBooleanObject("oFf")   = Boolean.FALSE
-   BooleanUtils.toBooleanObject("blue")  = null
- 
-
Parameters:
str - the String to check
Returns:
the Boolean value of the string, - null if no match or null input
-
-
-
- -

-toBooleanObject

-
-public static Boolean toBooleanObject(String str,
-                                      String trueString,
-                                      String falseString,
-                                      String nullString)
-
-

Converts a String to a Boolean throwing an exception if no match.

- -
-   BooleanUtils.toBooleanObject("true", "true", "false", "null")  = Boolean.TRUE
-   BooleanUtils.toBooleanObject("false", "true", "false", "null") = Boolean.FALSE
-   BooleanUtils.toBooleanObject("null", "true", "false", "null")  = null
- 
-
Parameters:
str - the String to check
trueString - the String to match for true - (case sensitive), may be null
falseString - the String to match for false - (case sensitive), may be null
nullString - the String to match for null - (case sensitive), may be null
Returns:
the Boolean value of the string, - null if no match or null input
-
-
-
- -

-toBoolean

-
-public static boolean toBoolean(String str)
-
-

Converts a String to a boolean (optimised for performance).

- -

'true', 'on' or 'yes' - (case insensitive) will return true. Otherwise, - false is returned.

- -

This method performs 4 times faster (JDK1.4) than - Boolean.valueOf(String). However, this method accepts - 'on' and 'yes' as true values. - -

-   BooleanUtils.toBoolean(null)    = false
-   BooleanUtils.toBoolean("true")  = true
-   BooleanUtils.toBoolean("TRUE")  = true
-   BooleanUtils.toBoolean("tRUe")  = true
-   BooleanUtils.toBoolean("on")    = true
-   BooleanUtils.toBoolean("yes")   = true
-   BooleanUtils.toBoolean("false") = false
-   BooleanUtils.toBoolean("x gti") = false
- 
-
Parameters:
str - the String to check
Returns:
the boolean value of the string, false if no match
-
-
-
- -

-toBoolean

-
-public static boolean toBoolean(String str,
-                                String trueString,
-                                String falseString)
-
-

Converts a String to a Boolean throwing an exception if no match found.

- -

null is returned if there is no match.

- -
-   BooleanUtils.toBoolean("true", "true", "false")  = true
-   BooleanUtils.toBoolean("false", "true", "false") = false
- 
-
Parameters:
str - the String to check
trueString - the String to match for true - (case sensitive), may be null
falseString - the String to match for false - (case sensitive), may be null
Returns:
the boolean value of the string
Throws:
IllegalArgumentException - if the String doesn't match
-
-
-
- -

-toStringTrueFalse

-
-public static String toStringTrueFalse(Boolean bool)
-
-

Converts a Boolean to a String returning 'true', - 'false', or null.

- -
-   BooleanUtils.toStringTrueFalse(Boolean.TRUE)  = "true"
-   BooleanUtils.toStringTrueFalse(Boolean.FALSE) = "false"
-   BooleanUtils.toStringTrueFalse(null)          = null;
- 
-
Parameters:
bool - the Boolean to check
Returns:
'true', 'false', - or null
-
-
-
- -

-toStringOnOff

-
-public static String toStringOnOff(Boolean bool)
-
-

Converts a Boolean to a String returning 'on', - 'off', or null.

- -
-   BooleanUtils.toStringOnOff(Boolean.TRUE)  = "on"
-   BooleanUtils.toStringOnOff(Boolean.FALSE) = "off"
-   BooleanUtils.toStringOnOff(null)          = null;
- 
-
Parameters:
bool - the Boolean to check
Returns:
'on', 'off', - or null
-
-
-
- -

-toStringYesNo

-
-public static String toStringYesNo(Boolean bool)
-
-

Converts a Boolean to a String returning 'yes', - 'no', or null.

- -
-   BooleanUtils.toStringYesNo(Boolean.TRUE)  = "yes"
-   BooleanUtils.toStringYesNo(Boolean.FALSE) = "no"
-   BooleanUtils.toStringYesNo(null)          = null;
- 
-
Parameters:
bool - the Boolean to check
Returns:
'yes', 'no', - or null
-
-
-
- -

-toString

-
-public static String toString(Boolean bool,
-                              String trueString,
-                              String falseString,
-                              String nullString)
-
-

Converts a Boolean to a String returning one of the input Strings.

- -
-   BooleanUtils.toString(Boolean.TRUE, "true", "false", null)   = "true"
-   BooleanUtils.toString(Boolean.FALSE, "true", "false", null)  = "false"
-   BooleanUtils.toString(null, "true", "false", null)           = null;
- 
-
Parameters:
bool - the Boolean to check
trueString - the String to return if true, - may be null
falseString - the String to return if false, - may be null
nullString - the String to return if null, - may be null
Returns:
one of the three input Strings
-
-
-
- -

-toStringTrueFalse

-
-public static String toStringTrueFalse(boolean bool)
-
-

Converts a boolean to a String returning 'true' - or 'false'.

- -
-   BooleanUtils.toStringTrueFalse(true)   = "true"
-   BooleanUtils.toStringTrueFalse(false)  = "false"
- 
-
Parameters:
bool - the Boolean to check
Returns:
'true', 'false', - or null
-
-
-
- -

-toStringOnOff

-
-public static String toStringOnOff(boolean bool)
-
-

Converts a boolean to a String returning 'on' - or 'off'.

- -
-   BooleanUtils.toStringOnOff(true)   = "on"
-   BooleanUtils.toStringOnOff(false)  = "off"
- 
-
Parameters:
bool - the Boolean to check
Returns:
'on', 'off', - or null
-
-
-
- -

-toStringYesNo

-
-public static String toStringYesNo(boolean bool)
-
-

Converts a boolean to a String returning 'yes' - or 'no'.

- -
-   BooleanUtils.toStringYesNo(true)   = "yes"
-   BooleanUtils.toStringYesNo(false)  = "no"
- 
-
Parameters:
bool - the Boolean to check
Returns:
'yes', 'no', - or null
-
-
-
- -

-toString

-
-public static String toString(boolean bool,
-                              String trueString,
-                              String falseString)
-
-

Converts a boolean to a String returning one of the input Strings.

- -
-   BooleanUtils.toString(true, "true", "false")   = "true"
-   BooleanUtils.toString(false, "true", "false")  = "false"
- 
-
Parameters:
bool - the Boolean to check
trueString - the String to return if true, - may be null
falseString - the String to return if false, - may be null
Returns:
one of the two input Strings
-
-
-
- -

-xor

-
-public static boolean xor(boolean[] array)
-
-

Performs an xor on a set of booleans.

- -
-   BooleanUtils.xor(new boolean[] { true, true })   = false
-   BooleanUtils.xor(new boolean[] { false, false }) = false
-   BooleanUtils.xor(new boolean[] { true, false })  = true
- 
-
Parameters:
array - an array of booleans
Returns:
true if the xor is successful.
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty.
-
-
-
- -

-xor

-
-public static Boolean xor(Boolean[] array)
-
-

Performs an xor on an array of Booleans.

- -
-   BooleanUtils.xor(new Boolean[] { Boolean.TRUE, Boolean.TRUE })   = Boolean.FALSE
-   BooleanUtils.xor(new Boolean[] { Boolean.FALSE, Boolean.FALSE }) = Boolean.FALSE
-   BooleanUtils.xor(new Boolean[] { Boolean.TRUE, Boolean.FALSE })  = Boolean.TRUE
- 
-
Parameters:
array - an array of Booleans
Returns:
true if the xor is successful.
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty.
IllegalArgumentException - if array contains a null
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharEncoding.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharEncoding.html deleted file mode 100644 index 893c88ba..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharEncoding.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class CharEncoding - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class CharEncoding

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.CharEncoding
-
-
-
-
public class CharEncoding
extends Object
- -

-

- Character encoding names required of every implementation of the Java platform. -

- -

- According to JRE character - encoding names: -

- Every implementation of the Java platform is required to support the following character encodings. Consult the - release documentation for your implementation to see if any other encodings are supported. -

-

-

-

-
Since:
2.1
-
Version:
$Id: CharEncoding.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Apache Software Foundation
-
See Also:
JRE character encoding - names
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static StringISO_8859_1 - -
-           - ISO Latin Alphabet #1, also known as ISO-LATIN-1.
-static StringUS_ASCII - -
-           - Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
-static StringUTF_16 - -
-           - Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either - order accepted on input, big-endian used on output).
-static StringUTF_16BE - -
-           - Sixteen-bit Unicode Transformation Format, big-endian byte order.
-static StringUTF_16LE - -
-           - Sixteen-bit Unicode Transformation Format, little-endian byte order.
-static StringUTF_8 - -
-           - Eight-bit Unicode Transformation Format.
-  - - - - - - - - - - -
-Constructor Summary
CharEncoding() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static booleanisSupported(String name) - -
-           - Returns whether the named charset is supported.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ISO_8859_1

-
-public static final String ISO_8859_1
-
-

- ISO Latin Alphabet #1, also known as ISO-LATIN-1. -

-

- Every implementation of the Java platform is required to support this character encoding. -

-
See Also:
JRE character - encoding names
-
-
-
- -

-US_ASCII

-
-public static final String US_ASCII
-
-

- Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. -

-

- Every implementation of the Java platform is required to support this character encoding. -

-
See Also:
JRE character - encoding names
-
-
-
- -

-UTF_16

-
-public static final String UTF_16
-
-

- Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either - order accepted on input, big-endian used on output). -

-

- Every implementation of the Java platform is required to support this character encoding. -

-
See Also:
JRE character - encoding names
-
-
-
- -

-UTF_16BE

-
-public static final String UTF_16BE
-
-

- Sixteen-bit Unicode Transformation Format, big-endian byte order. -

-

- Every implementation of the Java platform is required to support this character encoding. -

-
See Also:
JRE character - encoding names
-
-
-
- -

-UTF_16LE

-
-public static final String UTF_16LE
-
-

- Sixteen-bit Unicode Transformation Format, little-endian byte order. -

-

- Every implementation of the Java platform is required to support this character encoding. -

-
See Also:
JRE character - encoding names
-
-
-
- -

-UTF_8

-
-public static final String UTF_8
-
-

- Eight-bit Unicode Transformation Format. -

-

- Every implementation of the Java platform is required to support this character encoding. -

-
See Also:
JRE character - encoding names
-
-
- - - - - - - - -
-Constructor Detail
- -

-CharEncoding

-
-public CharEncoding()
-
-
- - - - - - - - -
-Method Detail
- -

-isSupported

-
-public static boolean isSupported(String name)
-
-

- Returns whether the named charset is supported. -

-

- This is similar to - java.nio.charset.Charset.isSupported(String) -

-
Parameters:
name - the name of the requested charset; may be either a canonical name or an alias
Returns:
true if, and only if, support for the named charset is available in the current Java - virtual machine
See Also:
JRE character - encoding names
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharRange.html deleted file mode 100644 index d724d1ba..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharRange.html +++ /dev/null @@ -1,461 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class CharRange - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class CharRange

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.CharRange
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class CharRange
extends Object
implements Serializable
- -

-

A contiguous range of characters, optionally negated.

- -

Instances are immutable.

-

-

-
Since:
1.0
-
Version:
$Id: CharRange.java 471626 2006-11-06 04:02:09Z bayard $
-
Author:
Stephen Colebourne, Chris Feldhacker, Gary Gregory
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
CharRange(char ch) - -
-          Constructs a CharRange over a single character.
CharRange(char ch, - boolean negated) - -
-          Constructs a CharRange over a single character, - optionally negating the range.
CharRange(char start, - char end) - -
-          Constructs a CharRange over a set of characters.
CharRange(char start, - char end, - boolean negated) - -
-          Constructs a CharRange over a set of characters, - optionally negating the range.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontains(char ch) - -
-          Is the character specified contained in this range.
- booleancontains(CharRange range) - -
-          Are all the characters of the passed in range contained in - this range.
- booleanequals(Object obj) - -
-          Compares two CharRange objects, returning true if they represent - exactly the same range of characters defined in the same way.
- chargetEnd() - -
-          Gets the end character for this character range.
- chargetStart() - -
-          Gets the start character for this character range.
- inthashCode() - -
-          Gets a hashCode compatible with the equals method.
- booleanisNegated() - -
-          Is this CharRange negated.
- StringtoString() - -
-          Gets a string representation of the character range.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CharRange

-
-public CharRange(char ch)
-
-

Constructs a CharRange over a single character.

-
Parameters:
ch - only character in this range
-
-
-
- -

-CharRange

-
-public CharRange(char ch,
-                 boolean negated)
-
-

Constructs a CharRange over a single character, - optionally negating the range.

- -

A negated range includes everything except the specified char.

-
Parameters:
ch - only character in this range
negated - true to express everything except the range
-
-
-
- -

-CharRange

-
-public CharRange(char start,
-                 char end)
-
-

Constructs a CharRange over a set of characters.

-
Parameters:
start - first character, inclusive, in this range
end - last character, inclusive, in this range
-
-
-
- -

-CharRange

-
-public CharRange(char start,
-                 char end,
-                 boolean negated)
-
-

Constructs a CharRange over a set of characters, - optionally negating the range.

- -

A negated range includes everything except that defined by the - start and end characters.

- -

If start and end are in the wrong order, they are reversed. - Thus a-e is the same as e-a.

-
Parameters:
start - first character, inclusive, in this range
end - last character, inclusive, in this range
negated - true to express everything except the range
-
-
- - - - - - - - -
-Method Detail
- -

-getStart

-
-public char getStart()
-
-

Gets the start character for this character range.

-
-
-
-
Returns:
the start char (inclusive)
-
-
-
- -

-getEnd

-
-public char getEnd()
-
-

Gets the end character for this character range.

-
-
-
-
Returns:
the end char (inclusive)
-
-
-
- -

-isNegated

-
-public boolean isNegated()
-
-

Is this CharRange negated.

- -

A negated range includes everything except that defined by the - start and end characters.

-
-
-
-
Returns:
true is negated
-
-
-
- -

-contains

-
-public boolean contains(char ch)
-
-

Is the character specified contained in this range.

-
-
-
-
Parameters:
ch - the character to check
Returns:
true if this range contains the input character
-
-
-
- -

-contains

-
-public boolean contains(CharRange range)
-
-

Are all the characters of the passed in range contained in - this range.

-
-
-
-
Parameters:
range - the range to check against
Returns:
true if this range entirely contains the input range
Throws:
IllegalArgumentException - if null input
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares two CharRange objects, returning true if they represent - exactly the same range of characters defined in the same way.

-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare to
Returns:
true if equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode compatible with the equals method.

-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashCode
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets a string representation of the character range.

-
Overrides:
toString in class Object
-
-
-
Returns:
string representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharSet.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharSet.html deleted file mode 100644 index 73617fcf..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharSet.html +++ /dev/null @@ -1,565 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class CharSet - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class CharSet

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.CharSet
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class CharSet
extends Object
implements Serializable
- -

-

A set of characters.

- -

Instances are immutable, but instances of subclasses may not be.

-

-

-
Since:
1.0
-
Version:
$Id: CharSet.java 471626 2006-11-06 04:02:09Z bayard $
-
Author:
Stephen Colebourne, Phil Steitz, Pete Gieser, Gary Gregory
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static CharSetASCII_ALPHA - -
-          A CharSet defining ASCII alphabetic characters "a-zA-Z".
-static CharSetASCII_ALPHA_LOWER - -
-          A CharSet defining ASCII alphabetic characters "a-z".
-static CharSetASCII_ALPHA_UPPER - -
-          A CharSet defining ASCII alphabetic characters "A-Z".
-static CharSetASCII_NUMERIC - -
-          A CharSet defining ASCII alphabetic characters "0-9".
-protected static MapCOMMON - -
-          A Map of the common cases used in the factory.
-static CharSetEMPTY - -
-          A CharSet defining no characters.
-  - - - - - - - - - - - - - - - -
-Constructor Summary
-protected CharSet(String setStr) - -
-          Constructs a new CharSet using the set syntax.
-protected CharSet(String[] set) - -
-          Constructs a new CharSet using the set syntax.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidadd(String str) - -
-          Add a set definition string to the CharSet.
- booleancontains(char ch) - -
-          Does the CharSet contain the specified - character ch.
- booleanequals(Object obj) - -
-          Compares two CharSet objects, returning true if they represent - exactly the same set of characters defined in the same way.
- CharRange[]getCharRanges() - -
-          Gets the internal set as an array of CharRange objects.
-static CharSetgetInstance(String setStr) - -
-          Factory method to create a new CharSet using a special syntax.
- inthashCode() - -
-          Gets a hashCode compatible with the equals method.
- StringtoString() - -
-          Gets a string representation of the set.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY

-
-public static final CharSet EMPTY
-
-
A CharSet defining no characters.
-
Since:
2.0
-
-
-
-
- -

-ASCII_ALPHA

-
-public static final CharSet ASCII_ALPHA
-
-
A CharSet defining ASCII alphabetic characters "a-zA-Z".
-
Since:
2.0
-
-
-
-
- -

-ASCII_ALPHA_LOWER

-
-public static final CharSet ASCII_ALPHA_LOWER
-
-
A CharSet defining ASCII alphabetic characters "a-z".
-
Since:
2.0
-
-
-
-
- -

-ASCII_ALPHA_UPPER

-
-public static final CharSet ASCII_ALPHA_UPPER
-
-
A CharSet defining ASCII alphabetic characters "A-Z".
-
Since:
2.0
-
-
-
-
- -

-ASCII_NUMERIC

-
-public static final CharSet ASCII_NUMERIC
-
-
A CharSet defining ASCII alphabetic characters "0-9".
-
Since:
2.0
-
-
-
-
- -

-COMMON

-
-protected static final Map COMMON
-
-
A Map of the common cases used in the factory. - Subclasses can add more common patterns if desired.
-
Since:
2.0
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-CharSet

-
-protected CharSet(String setStr)
-
-

Constructs a new CharSet using the set syntax.

-
Parameters:
setStr - the String describing the set, may be null
Since:
2.0
-
-
-
-
- -

-CharSet

-
-protected CharSet(String[] set)
-
-

Constructs a new CharSet using the set syntax. - Each string is merged in with the set.

-
Parameters:
set - Strings to merge into the initial set
Throws:
NullPointerException - if set is null
-
-
- - - - - - - - -
-Method Detail
- -

-getInstance

-
-public static CharSet getInstance(String setStr)
-
-

Factory method to create a new CharSet using a special syntax.

- -
    -
  • null or empty string ("") - - set containing no characters
  • -
  • Single character, such as "a" - - set containing just that character
  • -
  • Multi character, such as "a-e" - - set containing characters from one character to the other
  • -
  • Negated, such as "^a" or "^a-e" - - set containing all characters except those defined
  • -
  • Combinations, such as "abe-g" - - set containing all the characters from the individual sets
  • -
- -

The matching order is:

-
    -
  1. Negated multi character range, such as "^a-e" -
  2. Ordinary multi character range, such as "a-e" -
  3. Negated single character, such as "^a" -
  4. Ordinary single character, such as "a" -
-

Matching works left to right. Once a match is found the - search starts again from the next character.

- -

If the same range is defined twice using the same syntax, only - one range will be kept. - Thus, "a-ca-c" creates only one range of "a-c".

- -

If the start and end of a range are in the wrong order, - they are reversed. Thus "a-e" is the same as "e-a". - As a result, "a-ee-a" would create only one range, - as the "a-e" and "e-a" are the same.

- -

The set of characters represented is the union of the specified ranges.

- -

All CharSet objects returned by this method will be immutable.

-
-
-
-
Parameters:
setStr - the String describing the set, may be null
Returns:
a CharSet instance
Since:
2.0
-
-
-
-
- -

-add

-
-protected void add(String str)
-
-

Add a set definition string to the CharSet.

-
-
-
-
Parameters:
str - set definition string
-
-
-
- -

-getCharRanges

-
-public CharRange[] getCharRanges()
-
-

Gets the internal set as an array of CharRange objects.

-
-
-
-
Returns:
an array of immutable CharRange objects
Since:
2.0
-
-
-
-
- -

-contains

-
-public boolean contains(char ch)
-
-

Does the CharSet contain the specified - character ch.

-
-
-
-
Parameters:
ch - the character to check for
Returns:
true if the set contains the characters
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares two CharSet objects, returning true if they represent - exactly the same set of characters defined in the same way.

- -

The two sets abc and a-c are not - equal according to this method.

-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare to
Returns:
true if equal
Since:
2.0
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode compatible with the equals method.

-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashCode
Since:
2.0
-
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets a string representation of the set.

-
Overrides:
toString in class Object
-
-
-
Returns:
string representation of the set
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharSetUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharSetUtils.html deleted file mode 100644 index 29014c7b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharSetUtils.html +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class CharSetUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class CharSetUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.CharSetUtils
-
-
-
-
public class CharSetUtils
extends Object
- -

-

Operations on CharSets.

- -

This class handles null input gracefully. - An exception will not be thrown for a null input. - Each method documents its behaviour in more detail.

-

-

-
Since:
1.0
-
Version:
$Id: CharSetUtils.java 471626 2006-11-06 04:02:09Z bayard $
-
Author:
Stephen Colebourne, Phil Steitz, Gary Gregory
-
See Also:
CharSet
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
CharSetUtils() - -
-          CharSetUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static intcount(String str, - String set) - -
-          Takes an argument in set-syntax, see evaluateSet, - and returns the number of characters present in the specified string.
-static intcount(String str, - String[] set) - -
-          Takes an argument in set-syntax, see evaluateSet, - and returns the number of characters present in the specified string.
-static Stringdelete(String str, - String set) - -
-          Takes an argument in set-syntax, see evaluateSet, - and deletes any of characters present in the specified string.
-static Stringdelete(String str, - String[] set) - -
-          Takes an argument in set-syntax, see evaluateSet, - and deletes any of characters present in the specified string.
-static CharSetevaluateSet(String[] set) - -
-          Deprecated. Use CharSet.getInstance(String). - Method will be removed in Commons Lang 3.0.
-static Stringkeep(String str, - String set) - -
-          Takes an argument in set-syntax, see evaluateSet, - and keeps any of characters present in the specified string.
-static Stringkeep(String str, - String[] set) - -
-          Takes an argument in set-syntax, see evaluateSet, - and keeps any of characters present in the specified string.
-static Stringsqueeze(String str, - String set) - -
-          Squeezes any repetitions of a character that is mentioned in the - supplied set.
-static Stringsqueeze(String str, - String[] set) - -
-          Squeezes any repetitions of a character that is mentioned in the - supplied set.
-static Stringtranslate(String str, - String searchChars, - String replaceChars) - -
-          Deprecated. Use StringUtils.replaceChars(String, String, String). - Method will be removed in Commons Lang 3.0. - NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer - than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement - string whereas StringUtils#replaceChars will delete
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CharSetUtils

-
-public CharSetUtils()
-
-

CharSetUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as CharSetUtils.evaluateSet(null);.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-evaluateSet

-
-public static CharSet evaluateSet(String[] set)
-
-
Deprecated. Use CharSet.getInstance(String). - Method will be removed in Commons Lang 3.0. -

-

Creates a CharSet instance which allows a certain amount of - set logic to be performed.

-

The syntax is:

-
    -
  • "aeio" which implies 'a','e',..
  • -
  • "^e" implies not e.
  • -
  • "ej-m" implies e,j->m. e,j,k,l,m.
  • -
- -
- CharSetUtils.evaluateSet(null)    = null
- CharSetUtils.evaluateSet([])      = CharSet matching nothing
- CharSetUtils.evaluateSet(["a-e"]) = CharSet matching a,b,c,d,e
- 
-
Parameters:
set - the set, may be null
Returns:
a CharSet instance, null if null input
-
-
-
- -

-squeeze

-
-public static String squeeze(String str,
-                             String set)
-
-

Squeezes any repetitions of a character that is mentioned in the - supplied set.

- -
- CharSetUtils.squeeze(null, *)        = null
- CharSetUtils.squeeze("", *)          = ""
- CharSetUtils.squeeze(*, null)        = *
- CharSetUtils.squeeze(*, "")          = *
- CharSetUtils.squeeze("hello", "k-p") = "helo"
- CharSetUtils.squeeze("hello", "a-e") = "hello"
- 
-
Parameters:
str - the string to squeeze, may be null
set - the character set to use for manipulation, may be null
Returns:
modified String, null if null string input
See Also:
for set-syntax.
-
-
-
- -

-squeeze

-
-public static String squeeze(String str,
-                             String[] set)
-
-

Squeezes any repetitions of a character that is mentioned in the - supplied set.

- -

An example is:

-
    -
  • squeeze("hello", {"el"}) => "helo"
  • -
-
Parameters:
str - the string to squeeze, may be null
set - the character set to use for manipulation, may be null
Returns:
modified String, null if null string input
See Also:
for set-syntax.
-
-
-
- -

-count

-
-public static int count(String str,
-                        String set)
-
-

Takes an argument in set-syntax, see evaluateSet, - and returns the number of characters present in the specified string.

- -
- CharSetUtils.count(null, *)        = 0
- CharSetUtils.count("", *)          = 0
- CharSetUtils.count(*, null)        = 0
- CharSetUtils.count(*, "")          = 0
- CharSetUtils.count("hello", "k-p") = 3
- CharSetUtils.count("hello", "a-e") = 1
- 
-
Parameters:
str - String to count characters in, may be null
set - String set of characters to count, may be null
Returns:
character count, zero if null string input
See Also:
for set-syntax.
-
-
-
- -

-count

-
-public static int count(String str,
-                        String[] set)
-
-

Takes an argument in set-syntax, see evaluateSet, - and returns the number of characters present in the specified string.

- -

An example would be:

-
    -
  • count("hello", {"c-f", "o"}) returns 2.
  • -
-
Parameters:
str - String to count characters in, may be null
set - String[] set of characters to count, may be null
Returns:
character count, zero if null string input
See Also:
for set-syntax.
-
-
-
- -

-keep

-
-public static String keep(String str,
-                          String set)
-
-

Takes an argument in set-syntax, see evaluateSet, - and keeps any of characters present in the specified string.

- -
- CharSetUtils.keep(null, *)        = null
- CharSetUtils.keep("", *)          = ""
- CharSetUtils.keep(*, null)        = ""
- CharSetUtils.keep(*, "")          = ""
- CharSetUtils.keep("hello", "hl")  = "hll"
- CharSetUtils.keep("hello", "le")  = "ell"
- 
-
Parameters:
str - String to keep characters from, may be null
set - String set of characters to keep, may be null
Returns:
modified String, null if null string input
Since:
2.0
-
See Also:
for set-syntax.
-
-
-
- -

-keep

-
-public static String keep(String str,
-                          String[] set)
-
-

Takes an argument in set-syntax, see evaluateSet, - and keeps any of characters present in the specified string.

- -

An example would be:

-
    -
  • keep("hello", {"c-f", "o"}) - returns "eo"
  • -
-
Parameters:
str - String to keep characters from, may be null
set - String[] set of characters to keep, may be null
Returns:
modified String, null if null string input
Since:
2.0
-
See Also:
for set-syntax.
-
-
-
- -

-delete

-
-public static String delete(String str,
-                            String set)
-
-

Takes an argument in set-syntax, see evaluateSet, - and deletes any of characters present in the specified string.

- -
- CharSetUtils.delete(null, *)        = null
- CharSetUtils.delete("", *)          = ""
- CharSetUtils.delete(*, null)        = *
- CharSetUtils.delete(*, "")          = *
- CharSetUtils.delete("hello", "hl")  = "eo"
- CharSetUtils.delete("hello", "le")  = "ho"
- 
-
Parameters:
str - String to delete characters from, may be null
set - String set of characters to delete, may be null
Returns:
modified String, null if null string input
See Also:
for set-syntax.
-
-
-
- -

-delete

-
-public static String delete(String str,
-                            String[] set)
-
-

Takes an argument in set-syntax, see evaluateSet, - and deletes any of characters present in the specified string.

- -

An example would be:

-
    -
  • delete("hello", {"c-f", "o"}) returns - "hll"
  • -
-
Parameters:
str - String to delete characters from, may be null
set - String[] set of characters to delete, may be null
Returns:
modified String, null if null string input
See Also:
for set-syntax.
-
-
-
- -

-translate

-
-public static String translate(String str,
-                               String searchChars,
-                               String replaceChars)
-
-
Deprecated. Use StringUtils.replaceChars(String, String, String). - Method will be removed in Commons Lang 3.0. - NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer - than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement - string whereas StringUtils#replaceChars will delete -

-

Translate characters in a String. - This is a multi character search and replace routine.

- -

An example is:

-
    -
  • translate("hello", "ho", "jy") - => jelly
  • -
- -

If the length of characters to search for is greater than the - length of characters to replace, then the last character is - used.

- -
- CharSetUtils.translate(null, *, *) = null
- CharSetUtils.translate("", *, *)   = ""
- 
-
Parameters:
str - String to replace characters in, may be null
searchChars - a set of characters to search for, must not be null
replaceChars - a set of characters to replace, must not be null or empty ("")
Returns:
translated String, null if null string input
Throws:
NullPointerException - if searchChars or replaceChars - is null
ArrayIndexOutOfBoundsException - if replaceChars is empty ("")
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharUtils.html deleted file mode 100644 index d87588c8..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/CharUtils.html +++ /dev/null @@ -1,888 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class CharUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class CharUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.CharUtils
-
-
-
-
public class CharUtils
extends Object
- -

-

Operations on char primitives and Character objects.

- -

This class tries to handle null input gracefully. - An exception will not be thrown for a null input. - Each method documents its behaviour in more detail.

-

-

-
Since:
2.1
-
Version:
$Id: CharUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne
-
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-static charCR - -
-           -/code> carriage return CR ('\r').
-static charLF - -
-           - linefeed LF ('\n').
-  - - - - - - - - - - -
-Constructor Summary
CharUtils() - -
-          CharUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static booleanisAscii(char ch) - -
-          Checks whether the character is ASCII 7 bit.
-static booleanisAsciiAlpha(char ch) - -
-          Checks whether the character is ASCII 7 bit alphabetic.
-static booleanisAsciiAlphaLower(char ch) - -
-          Checks whether the character is ASCII 7 bit alphabetic lower case.
-static booleanisAsciiAlphanumeric(char ch) - -
-          Checks whether the character is ASCII 7 bit numeric.
-static booleanisAsciiAlphaUpper(char ch) - -
-          Checks whether the character is ASCII 7 bit alphabetic upper case.
-static booleanisAsciiControl(char ch) - -
-          Checks whether the character is ASCII 7 bit control.
-static booleanisAsciiNumeric(char ch) - -
-          Checks whether the character is ASCII 7 bit numeric.
-static booleanisAsciiPrintable(char ch) - -
-          Checks whether the character is ASCII 7 bit printable.
-static chartoChar(Character ch) - -
-          Converts the Character to a char throwing an exception for null.
-static chartoChar(Character ch, - char defaultValue) - -
-          Converts the Character to a char handling null.
-static chartoChar(String str) - -
-          Converts the String to a char using the first character, throwing - an exception on empty Strings.
-static chartoChar(String str, - char defaultValue) - -
-          Converts the String to a char using the first character, defaulting - the value on empty Strings.
-static CharactertoCharacterObject(char ch) - -
-          Converts the character to a Character.
-static CharactertoCharacterObject(String str) - -
-          Converts the String to a Character using the first character, returning - null for empty Strings.
-static inttoIntValue(char ch) - -
-          Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.
-static inttoIntValue(Character ch) - -
-          Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.
-static inttoIntValue(Character ch, - int defaultValue) - -
-          Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.
-static inttoIntValue(char ch, - int defaultValue) - -
-          Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.
-static StringtoString(char ch) - -
-          Converts the character to a String that contains the one character.
-static StringtoString(Character ch) - -
-          Converts the character to a String that contains the one character.
-static StringunicodeEscaped(char ch) - -
-          Converts the string to the unicode format ' '.
-static StringunicodeEscaped(Character ch) - -
-          Converts the string to the unicode format ' '.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-LF

-
-public static final char LF
-
-
- linefeed LF ('\n').
-
See Also:
JLF: Escape Sequences - for Character and String Literals
Since:
2.2
-
-
-
-
- -

-CR

-
-public static final char CR
-
-
-/code> carriage return CR ('\r').
-
See Also:
JLF: Escape Sequences - for Character and String Literals
Since:
2.2
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-CharUtils

-
-public CharUtils()
-
-

CharUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as CharUtils.toString('c');.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-toCharacterObject

-
-public static Character toCharacterObject(char ch)
-
-

Converts the character to a Character.

- -

For ASCII 7 bit characters, this uses a cache that will return the - same Character object each time.

- -
-   CharUtils.toCharacterObject(' ')  = ' '
-   CharUtils.toCharacterObject('A')  = 'A'
- 
-
Parameters:
ch - the character to convert
Returns:
a Character of the specified character
-
-
-
- -

-toCharacterObject

-
-public static Character toCharacterObject(String str)
-
-

Converts the String to a Character using the first character, returning - null for empty Strings.

- -

For ASCII 7 bit characters, this uses a cache that will return the - same Character object each time.

- -
-   CharUtils.toCharacterObject(null) = null
-   CharUtils.toCharacterObject("")   = null
-   CharUtils.toCharacterObject("A")  = 'A'
-   CharUtils.toCharacterObject("BA") = 'B'
- 
-
Parameters:
str - the character to convert
Returns:
the Character value of the first letter of the String
-
-
-
- -

-toChar

-
-public static char toChar(Character ch)
-
-

Converts the Character to a char throwing an exception for null.

- -
-   CharUtils.toChar(null) = IllegalArgumentException
-   CharUtils.toChar(' ')  = ' '
-   CharUtils.toChar('A')  = 'A'
- 
-
Parameters:
ch - the character to convert
Returns:
the char value of the Character
Throws:
IllegalArgumentException - if the Character is null
-
-
-
- -

-toChar

-
-public static char toChar(Character ch,
-                          char defaultValue)
-
-

Converts the Character to a char handling null.

- -
-   CharUtils.toChar(null, 'X') = 'X'
-   CharUtils.toChar(' ', 'X')  = ' '
-   CharUtils.toChar('A', 'X')  = 'A'
- 
-
Parameters:
ch - the character to convert
defaultValue - the value to use if the Character is null
Returns:
the char value of the Character or the default if null
-
-
-
- -

-toChar

-
-public static char toChar(String str)
-
-

Converts the String to a char using the first character, throwing - an exception on empty Strings.

- -
-   CharUtils.toChar(null) = IllegalArgumentException
-   CharUtils.toChar("")   = IllegalArgumentException
-   CharUtils.toChar("A")  = 'A'
-   CharUtils.toChar("BA") = 'B'
- 
-
Parameters:
str - the character to convert
Returns:
the char value of the first letter of the String
Throws:
IllegalArgumentException - if the String is empty
-
-
-
- -

-toChar

-
-public static char toChar(String str,
-                          char defaultValue)
-
-

Converts the String to a char using the first character, defaulting - the value on empty Strings.

- -
-   CharUtils.toChar(null, 'X') = 'X'
-   CharUtils.toChar("", 'X')   = 'X'
-   CharUtils.toChar("A", 'X')  = 'A'
-   CharUtils.toChar("BA", 'X') = 'B'
- 
-
Parameters:
str - the character to convert
defaultValue - the value to use if the Character is null
Returns:
the char value of the first letter of the String or the default if null
-
-
-
- -

-toIntValue

-
-public static int toIntValue(char ch)
-
-

Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.

- -

This method coverts the char '1' to the int 1 and so on.

- -
-   CharUtils.toIntValue('3')  = 3
-   CharUtils.toIntValue('A')  = IllegalArgumentException
- 
-
Parameters:
ch - the character to convert
Returns:
the int value of the character
Throws:
IllegalArgumentException - if the character is not ASCII numeric
-
-
-
- -

-toIntValue

-
-public static int toIntValue(char ch,
-                             int defaultValue)
-
-

Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.

- -

This method coverts the char '1' to the int 1 and so on.

- -
-   CharUtils.toIntValue('3', -1)  = 3
-   CharUtils.toIntValue('A', -1)  = -1
- 
-
Parameters:
ch - the character to convert
defaultValue - the default value to use if the character is not numeric
Returns:
the int value of the character
-
-
-
- -

-toIntValue

-
-public static int toIntValue(Character ch)
-
-

Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.

- -

This method coverts the char '1' to the int 1 and so on.

- -
-   CharUtils.toIntValue(null) = IllegalArgumentException
-   CharUtils.toIntValue('3')  = 3
-   CharUtils.toIntValue('A')  = IllegalArgumentException
- 
-
Parameters:
ch - the character to convert, not null
Returns:
the int value of the character
Throws:
IllegalArgumentException - if the Character is not ASCII numeric or is null
-
-
-
- -

-toIntValue

-
-public static int toIntValue(Character ch,
-                             int defaultValue)
-
-

Converts the character to the Integer it represents, throwing an - exception if the character is not numeric.

- -

This method coverts the char '1' to the int 1 and so on.

- -
-   CharUtils.toIntValue(null, -1) = -1
-   CharUtils.toIntValue('3', -1)  = 3
-   CharUtils.toIntValue('A', -1)  = -1
- 
-
Parameters:
ch - the character to convert
defaultValue - the default value to use if the character is not numeric
Returns:
the int value of the character
-
-
-
- -

-toString

-
-public static String toString(char ch)
-
-

Converts the character to a String that contains the one character.

- -

For ASCII 7 bit characters, this uses a cache that will return the - same String object each time.

- -
-   CharUtils.toString(' ')  = " "
-   CharUtils.toString('A')  = "A"
- 
-
Parameters:
ch - the character to convert
Returns:
a String containing the one specified character
-
-
-
- -

-toString

-
-public static String toString(Character ch)
-
-

Converts the character to a String that contains the one character.

- -

For ASCII 7 bit characters, this uses a cache that will return the - same String object each time.

- -

If null is passed in, null will be returned.

- -
-   CharUtils.toString(null) = null
-   CharUtils.toString(' ')  = " "
-   CharUtils.toString('A')  = "A"
- 
-
Parameters:
ch - the character to convert
Returns:
a String containing the one specified character
-
-
-
- -

-unicodeEscaped

-
-public static String unicodeEscaped(char ch)
-
-

Converts the string to the unicode format ' '.

- -

This format is the Java source code format.

- -
-   CharUtils.unicodeEscaped(' ') = " "
-   CharUtils.unicodeEscaped('A') = "A"
- 
-
Parameters:
ch - the character to convert
Returns:
the escaped unicode string
-
-
-
- -

-unicodeEscaped

-
-public static String unicodeEscaped(Character ch)
-
-

Converts the string to the unicode format ' '.

- -

This format is the Java source code format.

- -

If null is passed in, null will be returned.

- -
-   CharUtils.unicodeEscaped(null) = null
-   CharUtils.unicodeEscaped(' ')  = " "
-   CharUtils.unicodeEscaped('A')  = "A"
- 
-
Parameters:
ch - the character to convert, may be null
Returns:
the escaped unicode string, null if null input
-
-
-
- -

-isAscii

-
-public static boolean isAscii(char ch)
-
-

Checks whether the character is ASCII 7 bit.

- -
-   CharUtils.isAscii('a')  = true
-   CharUtils.isAscii('A')  = true
-   CharUtils.isAscii('3')  = true
-   CharUtils.isAscii('-')  = true
-   CharUtils.isAscii('\n') = true
-   CharUtils.isAscii('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if less than 128
-
-
-
- -

-isAsciiPrintable

-
-public static boolean isAsciiPrintable(char ch)
-
-

Checks whether the character is ASCII 7 bit printable.

- -
-   CharUtils.isAsciiPrintable('a')  = true
-   CharUtils.isAsciiPrintable('A')  = true
-   CharUtils.isAsciiPrintable('3')  = true
-   CharUtils.isAsciiPrintable('-')  = true
-   CharUtils.isAsciiPrintable('\n') = false
-   CharUtils.isAsciiPrintable('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if between 32 and 126 inclusive
-
-
-
- -

-isAsciiControl

-
-public static boolean isAsciiControl(char ch)
-
-

Checks whether the character is ASCII 7 bit control.

- -
-   CharUtils.isAsciiControl('a')  = false
-   CharUtils.isAsciiControl('A')  = false
-   CharUtils.isAsciiControl('3')  = false
-   CharUtils.isAsciiControl('-')  = false
-   CharUtils.isAsciiControl('\n') = true
-   CharUtils.isAsciiControl('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if less than 32 or equals 127
-
-
-
- -

-isAsciiAlpha

-
-public static boolean isAsciiAlpha(char ch)
-
-

Checks whether the character is ASCII 7 bit alphabetic.

- -
-   CharUtils.isAsciiAlpha('a')  = true
-   CharUtils.isAsciiAlpha('A')  = true
-   CharUtils.isAsciiAlpha('3')  = false
-   CharUtils.isAsciiAlpha('-')  = false
-   CharUtils.isAsciiAlpha('\n') = false
-   CharUtils.isAsciiAlpha('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if between 65 and 90 or 97 and 122 inclusive
-
-
-
- -

-isAsciiAlphaUpper

-
-public static boolean isAsciiAlphaUpper(char ch)
-
-

Checks whether the character is ASCII 7 bit alphabetic upper case.

- -
-   CharUtils.isAsciiAlphaUpper('a')  = false
-   CharUtils.isAsciiAlphaUpper('A')  = true
-   CharUtils.isAsciiAlphaUpper('3')  = false
-   CharUtils.isAsciiAlphaUpper('-')  = false
-   CharUtils.isAsciiAlphaUpper('\n') = false
-   CharUtils.isAsciiAlphaUpper('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if between 65 and 90 inclusive
-
-
-
- -

-isAsciiAlphaLower

-
-public static boolean isAsciiAlphaLower(char ch)
-
-

Checks whether the character is ASCII 7 bit alphabetic lower case.

- -
-   CharUtils.isAsciiAlphaLower('a')  = true
-   CharUtils.isAsciiAlphaLower('A')  = false
-   CharUtils.isAsciiAlphaLower('3')  = false
-   CharUtils.isAsciiAlphaLower('-')  = false
-   CharUtils.isAsciiAlphaLower('\n') = false
-   CharUtils.isAsciiAlphaLower('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if between 97 and 122 inclusive
-
-
-
- -

-isAsciiNumeric

-
-public static boolean isAsciiNumeric(char ch)
-
-

Checks whether the character is ASCII 7 bit numeric.

- -
-   CharUtils.isAsciiNumeric('a')  = false
-   CharUtils.isAsciiNumeric('A')  = false
-   CharUtils.isAsciiNumeric('3')  = true
-   CharUtils.isAsciiNumeric('-')  = false
-   CharUtils.isAsciiNumeric('\n') = false
-   CharUtils.isAsciiNumeric('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if between 48 and 57 inclusive
-
-
-
- -

-isAsciiAlphanumeric

-
-public static boolean isAsciiAlphanumeric(char ch)
-
-

Checks whether the character is ASCII 7 bit numeric.

- -
-   CharUtils.isAsciiAlphanumeric('a')  = true
-   CharUtils.isAsciiAlphanumeric('A')  = true
-   CharUtils.isAsciiAlphanumeric('3')  = true
-   CharUtils.isAsciiAlphanumeric('-')  = false
-   CharUtils.isAsciiAlphanumeric('\n') = false
-   CharUtils.isAsciiAlphanumeric('©') = false
- 
-
Parameters:
ch - the character to check
Returns:
true if between 48 and 57 or 65 and 90 or 97 and 122 inclusive
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ClassUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ClassUtils.html deleted file mode 100644 index eaa8973d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ClassUtils.html +++ /dev/null @@ -1,799 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ClassUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class ClassUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.ClassUtils
-
-
-
-
public class ClassUtils
extends Object
- -

-

Operates on classes without using reflection.

- -

This class handles invalid null inputs as best it can. - Each method documents its behaviour in more detail.

-

-

-
Since:
2.0
-
Version:
$Id: ClassUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne, Gary Gregory, Norm Deane, Alban Peignier
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static StringINNER_CLASS_SEPARATOR - -
-          The inner class separator String: "$".
-static charINNER_CLASS_SEPARATOR_CHAR - -
-          The inner class separator character: '$' == {@value}.
-static StringPACKAGE_SEPARATOR - -
-          The package separator String: ".".
-static charPACKAGE_SEPARATOR_CHAR - -
-          The package separator character: '.' == {@value}.
-  - - - - - - - - - - -
-Constructor Summary
ClassUtils() - -
-          ClassUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static ListconvertClassesToClassNames(List classes) - -
-          Given a List of Class objects, this method converts - them into class names.
-static ListconvertClassNamesToClasses(List classNames) - -
-          Given a List of class names, this method converts them into classes.
-static ListgetAllInterfaces(Class cls) - -
-          Gets a List of all interfaces implemented by the given - class and its superclasses.
-static ListgetAllSuperclasses(Class cls) - -
-          Gets a List of superclasses for the given class.
-static ClassgetClass(ClassLoader classLoader, - String className) - -
-          Returns the (initialized) class represented by className - using the classLoader.
-static ClassgetClass(ClassLoader classLoader, - String className, - boolean initialize) - -
-          Returns the class represented by className using the - classLoader.
-static ClassgetClass(String className) - -
-          Returns the (initialized )class represented by className - using the current thread's context class loader.
-static ClassgetClass(String className, - boolean initialize) - -
-          Returns the class represented by className using the - current thread's context class loader.
-static StringgetPackageName(Class cls) - -
-          Gets the package name of a Class.
-static StringgetPackageName(Object object, - String valueIfNull) - -
-          Gets the package name of an Object.
-static StringgetPackageName(String className) - -
-          Gets the package name from a String.
-static MethodgetPublicMethod(Class cls, - String methodName, - Class[] parameterTypes) - -
-          Returns the desired Method much like Class.getMethod, however - it ensures that the returned Method is from a public class or interface and not - from an anonymous inner class.
-static StringgetShortClassName(Class cls) - -
-          Gets the class name minus the package name from a Class.
-static StringgetShortClassName(Object object, - String valueIfNull) - -
-          Gets the class name minus the package name for an Object.
-static StringgetShortClassName(String className) - -
-          Gets the class name minus the package name from a String.
-static booleanisAssignable(Class[] classArray, - Class[] toClassArray) - -
-          Checks if an array of Classes can be assigned to another array of Classes.
-static booleanisAssignable(Class cls, - Class toClass) - -
-          Checks if one Class can be assigned to a variable of - another Class.
-static booleanisInnerClass(Class cls) - -
-          Is the specified class an inner class or static nested class.
-static Class[]primitivesToWrappers(Class[] classes) - -
-          Converts the specified array of primitive Class objects to an array of - its corresponding wrapper Class objects.
-static ClassprimitiveToWrapper(Class cls) - -
-          Converts the specified primitive Class object to its corresponding - wrapper Class object.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-PACKAGE_SEPARATOR_CHAR

-
-public static final char PACKAGE_SEPARATOR_CHAR
-
-

The package separator character: '.' == {@value}.

-
- -

-PACKAGE_SEPARATOR

-
-public static final String PACKAGE_SEPARATOR
-
-

The package separator String: ".".

-
- -

-INNER_CLASS_SEPARATOR_CHAR

-
-public static final char INNER_CLASS_SEPARATOR_CHAR
-
-

The inner class separator character: '$' == {@value}.

-
- -

-INNER_CLASS_SEPARATOR

-
-public static final String INNER_CLASS_SEPARATOR
-
-

The inner class separator String: "$".

- - - - - - - - -
-Constructor Detail
- -

-ClassUtils

-
-public ClassUtils()
-
-

ClassUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as - ClassUtils.getShortClassName(cls).

- -

This constructor is public to permit tools that require a JavaBean - instance to operate.

- - - - - - - - -
-Method Detail
- -

-getShortClassName

-
-public static String getShortClassName(Object object,
-                                       String valueIfNull)
-
-

Gets the class name minus the package name for an Object.

-
Parameters:
object - the class to get the short name for, may be null
valueIfNull - the value to return if null
Returns:
the class name of the object without the package name, or the null value
-
-
-
- -

-getShortClassName

-
-public static String getShortClassName(Class cls)
-
-

Gets the class name minus the package name from a Class.

-
Parameters:
cls - the class to get the short name for.
Returns:
the class name without the package name or an empty string
-
-
-
- -

-getShortClassName

-
-public static String getShortClassName(String className)
-
-

Gets the class name minus the package name from a String.

- -

The string passed in is assumed to be a class name - it is not checked.

-
Parameters:
className - the className to get the short name for
Returns:
the class name of the class without the package name or an empty string
-
-
-
- -

-getPackageName

-
-public static String getPackageName(Object object,
-                                    String valueIfNull)
-
-

Gets the package name of an Object.

-
Parameters:
object - the class to get the package name for, may be null
valueIfNull - the value to return if null
Returns:
the package name of the object, or the null value
-
-
-
- -

-getPackageName

-
-public static String getPackageName(Class cls)
-
-

Gets the package name of a Class.

-
Parameters:
cls - the class to get the package name for, may be null.
Returns:
the package name or an empty string
-
-
-
- -

-getPackageName

-
-public static String getPackageName(String className)
-
-

Gets the package name from a String.

- -

The string passed in is assumed to be a class name - it is not checked.

-

If the class is unpackaged, return an empty string.

-
Parameters:
className - the className to get the package name for, may be null
Returns:
the package name or an empty string
-
-
-
- -

-getAllSuperclasses

-
-public static List getAllSuperclasses(Class cls)
-
-

Gets a List of superclasses for the given class.

-
Parameters:
cls - the class to look up, may be null
Returns:
the List of superclasses in order going up from this one - null if null input
-
-
-
- -

-getAllInterfaces

-
-public static List getAllInterfaces(Class cls)
-
-

Gets a List of all interfaces implemented by the given - class and its superclasses.

- -

The order is determined by looking through each interface in turn as - declared in the source file and following its hierarchy up. Then each - superclass is considered in the same way. Later duplicates are ignored, - so the order is maintained.

-
Parameters:
cls - the class to look up, may be null
Returns:
the List of interfaces in order, - null if null input
-
-
-
- -

-convertClassNamesToClasses

-
-public static List convertClassNamesToClasses(List classNames)
-
-

Given a List of class names, this method converts them into classes.

- -

A new List is returned. If the class name cannot be found, null - is stored in the List. If the class name in the List is - null, null is stored in the output List.

-
Parameters:
classNames - the classNames to change
Returns:
a List of Class objects corresponding to the class names, - null if null input
Throws:
ClassCastException - if classNames contains a non String entry
-
-
-
- -

-convertClassesToClassNames

-
-public static List convertClassesToClassNames(List classes)
-
-

Given a List of Class objects, this method converts - them into class names.

- -

A new List is returned. null objects will be copied into - the returned list as null.

-
Parameters:
classes - the classes to change
Returns:
a List of class names corresponding to the Class objects, - null if null input
Throws:
ClassCastException - if classes contains a non-Class entry
-
-
-
- -

-isAssignable

-
-public static boolean isAssignable(Class[] classArray,
-                                   Class[] toClassArray)
-
-

Checks if an array of Classes can be assigned to another array of Classes.

- -

This method calls isAssignable for each - Class pair in the input arrays. It can be used to check if a set of arguments - (the first parameter) are suitably compatible with a set of method parameter types - (the second parameter).

- -

Unlike the Class.isAssignableFrom(java.lang.Class) method, this - method takes into account widenings of primitive classes and - nulls.

- -

Primitive widenings allow an int to be assigned to a long, - float or double. This method returns the correct - result for these cases.

- -

Null may be assigned to any reference type. This method will - return true if null is passed in and the toClass is - non-primitive.

- -

Specifically, this method tests whether the type represented by the - specified Class parameter can be converted to the type - represented by this Class object via an identity conversion - widening primitive or widening reference conversion. See - The Java Language Specification, - sections 5.1.1, 5.1.2 and 5.1.4 for details.

-
Parameters:
classArray - the array of Classes to check, may be null
toClassArray - the array of Classes to try to assign into, may be null
Returns:
true if assignment possible
-
-
-
- -

-isAssignable

-
-public static boolean isAssignable(Class cls,
-                                   Class toClass)
-
-

Checks if one Class can be assigned to a variable of - another Class.

- -

Unlike the Class.isAssignableFrom(java.lang.Class) method, - this method takes into account widenings of primitive classes and - nulls.

- -

Primitive widenings allow an int to be assigned to a long, float or - double. This method returns the correct result for these cases.

- -

Null may be assigned to any reference type. This method - will return true if null is passed in and the - toClass is non-primitive.

- -

Specifically, this method tests whether the type represented by the - specified Class parameter can be converted to the type - represented by this Class object via an identity conversion - widening primitive or widening reference conversion. See - The Java Language Specification, - sections 5.1.1, 5.1.2 and 5.1.4 for details.

-
Parameters:
cls - the Class to check, may be null
toClass - the Class to try to assign into, returns false if null
Returns:
true if assignment possible
-
-
-
- -

-primitiveToWrapper

-
-public static Class primitiveToWrapper(Class cls)
-
-

Converts the specified primitive Class object to its corresponding - wrapper Class object.

- -

NOTE: From v2.2, this method handles Void.TYPE, - returning Void.TYPE.

-
Parameters:
cls - the class to convert, may be null
Returns:
the wrapper class for cls or cls if - cls is not a primitive. null if null input.
Since:
2.1
-
-
-
-
- -

-primitivesToWrappers

-
-public static Class[] primitivesToWrappers(Class[] classes)
-
-

Converts the specified array of primitive Class objects to an array of - its corresponding wrapper Class objects.

-
Parameters:
classes - the class array to convert, may be null or empty
Returns:
an array which contains for each given class, the wrapper class or - the original class if class is not a primitive. null if null input. - Empty array if an empty array passed in.
Since:
2.1
-
-
-
-
- -

-isInnerClass

-
-public static boolean isInnerClass(Class cls)
-
-

Is the specified class an inner class or static nested class.

-
Parameters:
cls - the class to check, may be null
Returns:
true if the class is an inner or static nested class, - false if not or null
-
-
-
- -

-getClass

-
-public static Class getClass(ClassLoader classLoader,
-                             String className,
-                             boolean initialize)
-                      throws ClassNotFoundException
-
-
Returns the class represented by className using the - classLoader. This implementation supports names like - "java.lang.String[]" as well as "[Ljava.lang.String;".
-
Parameters:
classLoader - the class loader to use to load the class
className - the class name
initialize - whether the class must be initialized
Returns:
the class represented by className using the classLoader
Throws:
ClassNotFoundException - if the class is not found
-
-
-
- -

-getClass

-
-public static Class getClass(ClassLoader classLoader,
-                             String className)
-                      throws ClassNotFoundException
-
-
Returns the (initialized) class represented by className - using the classLoader. This implementation supports names - like "java.lang.String[]" as well as - "[Ljava.lang.String;".
-
Parameters:
classLoader - the class loader to use to load the class
className - the class name
Returns:
the class represented by className using the classLoader
Throws:
ClassNotFoundException - if the class is not found
-
-
-
- -

-getClass

-
-public static Class getClass(String className)
-                      throws ClassNotFoundException
-
-
Returns the (initialized )class represented by className - using the current thread's context class loader. This implementation - supports names like "java.lang.String[]" as well as - "[Ljava.lang.String;".
-
Parameters:
className - the class name
Returns:
the class represented by className using the current thread's context class loader
Throws:
ClassNotFoundException - if the class is not found
-
-
-
- -

-getClass

-
-public static Class getClass(String className,
-                             boolean initialize)
-                      throws ClassNotFoundException
-
-
Returns the class represented by className using the - current thread's context class loader. This implementation supports - names like "java.lang.String[]" as well as - "[Ljava.lang.String;".
-
Parameters:
className - the class name
initialize - whether the class must be initialized
Returns:
the class represented by className using the current thread's context class loader
Throws:
ClassNotFoundException - if the class is not found
-
-
-
- -

-getPublicMethod

-
-public static Method getPublicMethod(Class cls,
-                                     String methodName,
-                                     Class[] parameterTypes)
-                              throws SecurityException,
-                                     NoSuchMethodException
-
-

Returns the desired Method much like Class.getMethod, however - it ensures that the returned Method is from a public class or interface and not - from an anonymous inner class. This means that the Method is invokable and - doesn't fall foul of Java bug - 4071957). - -

Set set = Collections.unmodifiableSet(...);
-  Method method = ClassUtils.getPublicMethod(set.getClass(), "isEmpty",  new Class[0]);
-  Object result = method.invoke(set, new Object[]);
-

-
Parameters:
cls - the class to check, not null
methodName - the name of the method
parameterTypes - the list of parameters
Returns:
the method
Throws:
NullPointerException - if the class is null
SecurityException - if a a security violation occured
NoSuchMethodException - if the method is not found in the given class - or if the metothod doen't conform with the requirements
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/IllegalClassException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/IllegalClassException.html deleted file mode 100644 index 56c41a1e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/IllegalClassException.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class IllegalClassException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class IllegalClassException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--java.lang.RuntimeException
-                    |
-                    +--java.lang.IllegalArgumentException
-                          |
-                          +--org.apache.commons.lang.IllegalClassException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class IllegalClassException
extends IllegalArgumentException
- -

-

Thrown when an object is an instance of an unexpected type (a class or interface). - This exception supplements the standard IllegalArgumentException - by providing a more semantically rich description of the problem.

- -

IllegalClassException represents the case where a method takes - in a genericly typed parameter like Object (typically because it has to due to some - other interface it implements), but this implementation only actually accepts a specific - type, for example String. This exception would be used in place of - IllegalArgumentException, yet it still extends it.

- -
- public void foo(Object obj) {
-   if (obj instanceof String == false) {
-     throw new IllegalClassException(String.class, obj);
-   }
-   // do something with the string
- }
- 
-

-

-
Since:
2.0
-
Version:
$Id: IllegalClassException.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Matthew Hawthorne, Gary Gregory, Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
IllegalClassException(Class expected, - Class actual) - -
-          Instantiates with the expected and actual types.
IllegalClassException(Class expected, - Object actual) - -
-          Instantiates with the expected type, and actual object.
IllegalClassException(String message) - -
-          Instantiates with the specified message.
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-IllegalClassException

-
-public IllegalClassException(Class expected,
-                             Object actual)
-
-

Instantiates with the expected type, and actual object.

-
Parameters:
expected - the expected type
actual - the actual object
Since:
2.1
-
-
-
-
- -

-IllegalClassException

-
-public IllegalClassException(Class expected,
-                             Class actual)
-
-

Instantiates with the expected and actual types.

-
Parameters:
expected - the expected type
actual - the actual type
-
-
-
- -

-IllegalClassException

-
-public IllegalClassException(String message)
-
-

Instantiates with the specified message.

-
Parameters:
message - the exception message
-
-
- - - - -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/IncompleteArgumentException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/IncompleteArgumentException.html deleted file mode 100644 index baa71552..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/IncompleteArgumentException.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class IncompleteArgumentException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class IncompleteArgumentException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--java.lang.RuntimeException
-                    |
-                    +--java.lang.IllegalArgumentException
-                          |
-                          +--org.apache.commons.lang.IncompleteArgumentException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class IncompleteArgumentException
extends IllegalArgumentException
- -

-

Thrown to indicate an incomplete argument to a method. - This exception supplements the standard IllegalArgumentException - by providing a more semantically rich description of the problem.

- -

IncompleteArgumentException represents the case where a method takes - in a parameter that has a number of properties, some of which have not been set. - A case might be a search requirements bean that must have three properties set - in order for the method to run, but only one is actually set. - This exception would be used in place of - IllegalArgumentException, yet it still extends it.

- -
- public void foo(PersonSearcher search) {
-   if (search.getSurname() == null ||
-       search.getForename() == null ||
-       search.getSex() == null) {
-     throw new IncompleteArgumentException("search");
-   }
-   // do something with the searcher
- }
- 
-

-

-
Since:
2.0
-
Version:
$Id: IncompleteArgumentException.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Matthew Hawthorne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
IncompleteArgumentException(String argName) - -
-          Instantiates with the specified description.
IncompleteArgumentException(String argName, - String[] items) - -
-          Instantiates with the specified description.
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-IncompleteArgumentException

-
-public IncompleteArgumentException(String argName)
-
-

Instantiates with the specified description.

-
Parameters:
argName - a description of the incomplete argument
-
-
-
- -

-IncompleteArgumentException

-
-public IncompleteArgumentException(String argName,
-                                   String[] items)
-
-

Instantiates with the specified description.

-
Parameters:
argName - a description of the incomplete argument
items - an array describing the arguments missing
-
-
- - - - -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/LocaleUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/LocaleUtils.html deleted file mode 100644 index 245164f4..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/LocaleUtils.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class LocaleUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class LocaleUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.LocaleUtils
-
-
-
-
public class LocaleUtils
extends Object
- -

-

Operations to assist when working with a Locale.

- -

This class tries to handle null input gracefully. - An exception will not be thrown for a null input. - Each method documents its behaviour in more detail.

-

-

-
Since:
2.2
-
Version:
$Id: LocaleUtils.java 489749 2006-12-22 20:34:37Z bayard $
-
Author:
Stephen Colebourne
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
LocaleUtils() - -
-          LocaleUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static ListavailableLocaleList() - -
-          Obtains an unmodifiable list of installed locales.
-static SetavailableLocaleSet() - -
-          Obtains an unmodifiable set of installed locales.
-static ListcountriesByLanguage(String languageCode) - -
-          Obtains the list of countries supported for a given language.
-static booleanisAvailableLocale(Locale locale) - -
-          Checks if the locale specified is in the list of available locales.
-static ListlanguagesByCountry(String countryCode) - -
-          Obtains the list of languages supported for a given country.
-static ListlocaleLookupList(Locale locale) - -
-          Obtains the list of locales to search through when performing - a locale search.
-static ListlocaleLookupList(Locale locale, - Locale defaultLocale) - -
-          Obtains the list of locales to search through when performing - a locale search.
-static LocaletoLocale(String str) - -
-          Converts a String to a Locale.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-LocaleUtils

-
-public LocaleUtils()
-
-

LocaleUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as LocaleUtils.toLocale("en_GB");.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-toLocale

-
-public static Locale toLocale(String str)
-
-

Converts a String to a Locale.

- -

This method takes the string format of a locale and creates the - locale object from it.

- -
-   LocaleUtils.toLocale("en")         = new Locale("en", "")
-   LocaleUtils.toLocale("en_GB")      = new Locale("en", "GB")
-   LocaleUtils.toLocale("en_GB_xxx")  = new Locale("en", "GB", "xxx")   (#)
- 
- -

(#) The behaviour of the JDK variant constructor changed between JDK1.3 and JDK1.4. - In JDK1.3, the constructor upper cases the variant, in JDK1.4, it doesn't. - Thus, the result from getVariant() may vary depending on your JDK.

- -

This method validates the input strictly. - The language code must be lowercase. - The country code must be uppercase. - The separator must be an underscore. - The length must be correct. -

-
Parameters:
str - the locale String to convert, null returns null
Returns:
a Locale, null if null input
Throws:
IllegalArgumentException - if the string is an invalid format
-
-
-
- -

-localeLookupList

-
-public static List localeLookupList(Locale locale)
-
-

Obtains the list of locales to search through when performing - a locale search.

- -
- localeLookupList(Locale("fr","CA","xxx"))
-   = [Locale("fr","CA","xxx"), Locale("fr","CA"), Locale("fr")]
- 
-
Parameters:
locale - the locale to start from
Returns:
the unmodifiable list of Locale objects, 0 being locale, never null
-
-
-
- -

-localeLookupList

-
-public static List localeLookupList(Locale locale,
-                                    Locale defaultLocale)
-
-

Obtains the list of locales to search through when performing - a locale search.

- -
- localeLookupList(Locale("fr", "CA", "xxx"), Locale("en"))
-   = [Locale("fr","CA","xxx"), Locale("fr","CA"), Locale("fr"), Locale("en"]
- 
- -

The result list begins with the most specific locale, then the - next more general and so on, finishing with the default locale. - The list will never contain the same locale twice.

-
Parameters:
locale - the locale to start from, null returns empty list
defaultLocale - the default locale to use if no other is found
Returns:
the unmodifiable list of Locale objects, 0 being locale, never null
-
-
-
- -

-availableLocaleList

-
-public static List availableLocaleList()
-
-

Obtains an unmodifiable list of installed locales.

- -

This method is a wrapper around Locale.getAvailableLocales(). - It is more efficient, as the JDK method must create a new array each - time it is called.

-
Returns:
the unmodifiable list of available locales
-
-
-
- -

-availableLocaleSet

-
-public static Set availableLocaleSet()
-
-

Obtains an unmodifiable set of installed locales.

- -

This method is a wrapper around Locale.getAvailableLocales(). - It is more efficient, as the JDK method must create a new array each - time it is called.

-
Returns:
the unmodifiable set of available locales
-
-
-
- -

-isAvailableLocale

-
-public static boolean isAvailableLocale(Locale locale)
-
-

Checks if the locale specified is in the list of available locales.

-
Parameters:
locale - the Locale object to check if it is available
Returns:
true if the locale is a known locale
-
-
-
- -

-languagesByCountry

-
-public static List languagesByCountry(String countryCode)
-
-

Obtains the list of languages supported for a given country.

- -

This method takes a country code and searches to find the - languages available for that country. Variant locales are removed.

-
Parameters:
countryCode - the 2 letter country code, null returns empty
Returns:
an unmodifiable List of Locale objects, never null
-
-
-
- -

-countriesByLanguage

-
-public static List countriesByLanguage(String languageCode)
-
-

Obtains the list of countries supported for a given language.

- -

This method takes a language code and searches to find the - countries available for that language. Variant locales are removed.

-
Parameters:
languageCode - the 2 letter language code, null returns empty
Returns:
an unmodifiable List of Locale objects, never null
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NotImplementedException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NotImplementedException.html deleted file mode 100644 index ad1ad978..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NotImplementedException.html +++ /dev/null @@ -1,645 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NotImplementedException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class NotImplementedException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--java.lang.RuntimeException
-                    |
-                    +--java.lang.UnsupportedOperationException
-                          |
-                          +--org.apache.commons.lang.NotImplementedException
-
-
-
All Implemented Interfaces:
Nestable, Serializable
-
-
-
-
public class NotImplementedException
extends UnsupportedOperationException
implements Nestable
- -

-

Thrown to indicate that a block of code has not been implemented. - This exception supplements UnsupportedOperationException - by providing a more semantically rich description of the problem.

- -

NotImplementedException represents the case where the - author has yet to implement the logic at this point in the program. - This can act as an exception based TODO tag. - Because this logic might be within a catch block, this exception - suports exception chaining.

- -
- public void foo() {
-   try {
-     // do something that throws an Exception
-   } catch (Exception ex) {
-     // don't know what to do here yet
-     throw new NotImplementedException("TODO", ex);
-   }
- }
- 
-

-

-
Since:
2.0
-
Version:
$Id: NotImplementedException.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Matthew Hawthorne, Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NotImplementedException() - -
-          Constructs a new NotImplementedException with default message.
NotImplementedException(Class clazz) - -
-          Constructs a new NotImplementedException referencing the specified class.
NotImplementedException(String msg) - -
-          Constructs a new NotImplementedException with specified - detail message.
NotImplementedException(String msg, - Throwable cause) - -
-          Constructs a new NotImplementedException with specified - detail message and nested Throwable.
NotImplementedException(Throwable cause) - -
-          Constructs a new NotImplementedException with specified - nested Throwable and default message.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ThrowablegetCause() - -
-          Gets the root cause of this exception.
- StringgetMessage() - -
-          Gets the combined the error message of this and any nested errors.
- StringgetMessage(int index) - -
-          Returns the error message of the Throwable in the chain - of Throwables at the specified index, numbered from 0.
- String[]getMessages() - -
-          Returns the error message of this and any nested Throwable objects.
- ThrowablegetThrowable(int index) - -
-          Returns the Throwable in the chain by index.
- intgetThrowableCount() - -
-          Returns the number of nested Throwables represented by - this Nestable, including this Nestable.
- Throwable[]getThrowables() - -
-          Returns this Nestable and any nested Throwables - in an array of Throwables, one element for each - Throwable.
- intindexOfThrowable(Class type) - -
-          Returns the index of the first occurrence of the specified type.
- intindexOfThrowable(Class type, - int fromIndex) - -
-          Returns the index of the first occurrence of the specified type starting - from the specified index.
- voidprintPartialStackTrace(PrintWriter out) - -
-          Prints the stack trace for this exception only (root cause not included) - using the specified writer.
- voidprintStackTrace() - -
-          Prints the stack trace of this exception.
- voidprintStackTrace(PrintStream out) - -
-          Prints the stack trace of this exception to the specified stream.
- voidprintStackTrace(PrintWriter out) - -
-          Prints the stack trace of this exception to the specified writer.
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NotImplementedException

-
-public NotImplementedException()
-
-
Constructs a new NotImplementedException with default message.
-
Since:
2.1
-
-
-
-
- -

-NotImplementedException

-
-public NotImplementedException(String msg)
-
-
Constructs a new NotImplementedException with specified - detail message.
-
Parameters:
msg - the error message.
-
-
-
- -

-NotImplementedException

-
-public NotImplementedException(Throwable cause)
-
-
Constructs a new NotImplementedException with specified - nested Throwable and default message.
-
Parameters:
cause - the exception that caused this exception to be thrown
Since:
2.1
-
-
-
-
- -

-NotImplementedException

-
-public NotImplementedException(String msg,
-                               Throwable cause)
-
-
Constructs a new NotImplementedException with specified - detail message and nested Throwable.
-
Parameters:
msg - the error message
cause - the exception that caused this exception to be thrown
Since:
2.1
-
-
-
-
- -

-NotImplementedException

-
-public NotImplementedException(Class clazz)
-
-
Constructs a new NotImplementedException referencing the specified class.
-
Parameters:
clazz - the Class that has not implemented the method
-
-
- - - - - - - - -
-Method Detail
- -

-getCause

-
-public Throwable getCause()
-
-
Gets the root cause of this exception.
-
Specified by:
getCause in interface Nestable
-
-
-
Returns:
the root cause of this exception.
Since:
2.1
-
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
Gets the combined the error message of this and any nested errors.
-
Specified by:
getMessage in interface Nestable
Overrides:
getMessage in class Throwable
-
-
-
Returns:
the error message
Since:
2.1
-
-
-
-
- -

-getMessage

-
-public String getMessage(int index)
-
-
Returns the error message of the Throwable in the chain - of Throwables at the specified index, numbered from 0.
-
Specified by:
getMessage in interface Nestable
-
-
-
Parameters:
index - the index of the Throwable in the chain
Returns:
the error message, or null if the Throwable at the - specified index in the chain does not contain a message
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the chain
Since:
2.1
-
-
-
-
- -

-getMessages

-
-public String[] getMessages()
-
-
Returns the error message of this and any nested Throwable objects. - Each throwable returns a message, a null string is included in the array if - there is no message for a particular Throwable.
-
Specified by:
getMessages in interface Nestable
-
-
-
Returns:
the error messages
Since:
2.1
-
-
-
-
- -

-getThrowable

-
-public Throwable getThrowable(int index)
-
-
Returns the Throwable in the chain by index.
-
Specified by:
getThrowable in interface Nestable
-
-
-
Parameters:
index - the index to retrieve
Returns:
the Throwable
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the chain
Since:
2.1
-
-
-
-
- -

-getThrowableCount

-
-public int getThrowableCount()
-
-
Returns the number of nested Throwables represented by - this Nestable, including this Nestable.
-
Specified by:
getThrowableCount in interface Nestable
-
-
-
Returns:
the throwable count
Since:
2.1
-
-
-
-
- -

-getThrowables

-
-public Throwable[] getThrowables()
-
-
Returns this Nestable and any nested Throwables - in an array of Throwables, one element for each - Throwable.
-
Specified by:
getThrowables in interface Nestable
-
-
-
Returns:
the Throwables
Since:
2.1
-
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type)
-
-
Returns the index of the first occurrence of the specified type. - If there is no match, -1 is returned.
-
Specified by:
indexOfThrowable in interface Nestable
-
-
-
Parameters:
type - the type to search for
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
Since:
2.1
-
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type,
-                            int fromIndex)
-
-
Returns the index of the first occurrence of the specified type starting - from the specified index. If there is no match, -1 is returned.
-
Specified by:
indexOfThrowable in interface Nestable
-
-
-
Parameters:
type - the type to search for
fromIndex - the index of the starting position in the chain to be searched
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
Throws:
IndexOutOfBoundsException - if the fromIndex argument - is negative or not less than the count of Throwables in the chain
Since:
2.1
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace()
-
-
Prints the stack trace of this exception. - Includes information from the exception, if any, which caused this exception.
-
Overrides:
printStackTrace in class Throwable
-
-
-
Since:
2.1
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintStream out)
-
-
Prints the stack trace of this exception to the specified stream. - Includes information from the exception, if any, which caused this exception.
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
-
Parameters:
out - the stream to write to
Since:
2.1
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintWriter out)
-
-
Prints the stack trace of this exception to the specified writer. - Includes information from the exception, if any, which caused this exception.
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
-
Parameters:
out - the writer to write to
Since:
2.1
-
-
-
-
- -

-printPartialStackTrace

-
-public final void printPartialStackTrace(PrintWriter out)
-
-
Prints the stack trace for this exception only (root cause not included) - using the specified writer.
-
Specified by:
printPartialStackTrace in interface Nestable
-
-
-
Parameters:
out - the writer to write to
Since:
2.1
-
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NullArgumentException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NullArgumentException.html deleted file mode 100644 index aab29d01..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NullArgumentException.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NullArgumentException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class NullArgumentException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--java.lang.RuntimeException
-                    |
-                    +--java.lang.IllegalArgumentException
-                          |
-                          +--org.apache.commons.lang.NullArgumentException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class NullArgumentException
extends IllegalArgumentException
- -

-

Thrown to indicate that an argument was null and should - not have been. - This exception supplements the standard IllegalArgumentException - by providing a more semantically rich description of the problem.

- -

NullArgumentException represents the case where a method takes - in a parameter that must not be null. - Some coding standards would use NullPointerException for this case, - others will use IllegalArgumentException. - Thus this exception would be used in place of - IllegalArgumentException, yet it still extends it.

- -
- public void foo(String str) {
-   if (str == null) {
-     throw new NullArgumentException("str");
-   }
-   // do something with the string
- }
- 
-

-

-
Since:
2.0
-
Version:
$Id: NullArgumentException.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Matthew Hawthorne, Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
NullArgumentException(String argName) - -
-          Instantiates with the given argument name.
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NullArgumentException

-
-public NullArgumentException(String argName)
-
-

Instantiates with the given argument name.

-
Parameters:
argName - the name of the argument that was null.
-
-
- - - - -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NumberRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NumberRange.html deleted file mode 100644 index f94d63fb..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NumberRange.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NumberRange - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class NumberRange

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.NumberRange
-
-
-Deprecated. Use one of the Range classes in org.apache.commons.lang.math. - Class will be removed in Commons Lang 3.0. -

-

-
public final class NumberRange
extends Object
- -

-

Represents a range of Number objects.

- -

This class uses double comparisons. This means that it - is unsuitable for dealing with large Long, BigDecimal - or BigInteger numbers.

-

-

-
Since:
1.0
-
Version:
$Revision: 437554 $ $Date: 2006-08-27 23:21:41 -0700 (Sun, 27 Aug 2006) $
-
Author:
Christopher Elkins, Stephen Colebourne
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NumberRange(Number num) - -
-          Deprecated. Constructs a new NumberRange using - number as both the minimum and maximum in - this range.
NumberRange(Number min, - Number max) - -
-          Deprecated. Constructs a new NumberRange with the specified - minimum and maximum numbers.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object obj) - -
-          Deprecated. Indicates whether some other Object is - "equal" to this one.
- NumbergetMaximum() - -
-          Deprecated. Returns the maximum number in this range.
- NumbergetMinimum() - -
-          Deprecated. Returns the minimum number in this range.
- inthashCode() - -
-          Deprecated. Returns a hash code value for this object.
- booleanincludesNumber(Number number) - -
-          Deprecated. Tests whether the specified number occurs within - this range using double comparison.
- booleanincludesRange(NumberRange range) - -
-          Deprecated. Tests whether the specified range occurs entirely within this - range using double comparison.
- booleanoverlaps(NumberRange range) - -
-          Deprecated. Tests whether the specified range overlaps with this range - using double comparison.
- StringtoString() - -
-          Deprecated. Returns the string representation of this range.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NumberRange

-
-public NumberRange(Number num)
-
-
Deprecated. 

Constructs a new NumberRange using - number as both the minimum and maximum in - this range.

-
Parameters:
num - the number to use for this range
Throws:
NullPointerException - if the number is null
-
-
-
- -

-NumberRange

-
-public NumberRange(Number min,
-                   Number max)
-
-
Deprecated. 

Constructs a new NumberRange with the specified - minimum and maximum numbers.

- -

If the maximum is less than the minimum, the range will be constructed - from the minimum value to the minimum value, not what you would expect!.

-
Parameters:
min - the minimum number in this range
max - the maximum number in this range
Throws:
NullPointerException - if either the minimum or maximum number is - null
-
-
- - - - - - - - -
-Method Detail
- -

-getMinimum

-
-public Number getMinimum()
-
-
Deprecated. 

Returns the minimum number in this range.

-
Returns:
the minimum number in this range
-
-
-
- -

-getMaximum

-
-public Number getMaximum()
-
-
Deprecated. 

Returns the maximum number in this range.

-
Returns:
the maximum number in this range
-
-
-
- -

-includesNumber

-
-public boolean includesNumber(Number number)
-
-
Deprecated. 

Tests whether the specified number occurs within - this range using double comparison.

-
Parameters:
number - the number to test
Returns:
true if the specified number occurs within this - range; otherwise, false
-
-
-
- -

-includesRange

-
-public boolean includesRange(NumberRange range)
-
-
Deprecated. 

Tests whether the specified range occurs entirely within this - range using double comparison.

-
Parameters:
range - the range to test
Returns:
true if the specified range occurs entirely within - this range; otherwise, false
-
-
-
- -

-overlaps

-
-public boolean overlaps(NumberRange range)
-
-
Deprecated. 

Tests whether the specified range overlaps with this range - using double comparison.

-
Parameters:
range - the range to test
Returns:
true if the specified range overlaps with this - range; otherwise, false
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Deprecated. 

Indicates whether some other Object is - "equal" to this one.

-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is the same as the obj - argument; false otherwise
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Deprecated. 

Returns a hash code value for this object.

-
Overrides:
hashCode in class Object
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-toString

-
-public String toString()
-
-
Deprecated. 

Returns the string representation of this range.

- -

This string is the string representation of the minimum and - maximum numbers in the range, separated by a hyphen. If a number - is negative, then it is enclosed in parentheses.

-
Overrides:
toString in class Object
-
-
-
Returns:
the string representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NumberUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NumberUtils.html deleted file mode 100644 index b73bfa59..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/NumberUtils.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NumberUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class NumberUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.NumberUtils
-
-
-Deprecated. Moved to org.apache.commons.lang.math. - Class will be removed in Commons Lang 3.0. -

-

-
public final class NumberUtils
extends Object
- -

-

Provides extra functionality for Java Number classes.

-

-

-
Since:
1.0
-
Version:
$Id: NumberUtils.java 488819 2006-12-19 21:50:04Z bayard $
-
Author:
Rand McNeely, Stephen Colebourne, Steve Downey, Eric Pugh, Phil Steitz
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
NumberUtils() - -
-          Deprecated. NumberUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static intcompare(double lhs, - double rhs) - -
-          Deprecated. Compares two doubles for order.
-static intcompare(float lhs, - float rhs) - -
-          Deprecated. Compares two floats for order.
-static BigDecimalcreateBigDecimal(String val) - -
-          Deprecated. Convert a String to a BigDecimal.
-static BigIntegercreateBigInteger(String val) - -
-          Deprecated. Convert a String to a BigInteger.
-static DoublecreateDouble(String val) - -
-          Deprecated. Convert a String to a Double.
-static FloatcreateFloat(String val) - -
-          Deprecated. Convert a String to a Float.
-static IntegercreateInteger(String val) - -
-          Deprecated. Convert a String to a Integer, handling - hex and octal notations.
-static LongcreateLong(String val) - -
-          Deprecated. Convert a String to a Long.
-static NumbercreateNumber(String val) - -
-          Deprecated. Turns a string value into a java.lang.Number.
-static booleanisDigits(String str) - -
-          Deprecated. Checks whether the String contains only - digit characters.
-static booleanisNumber(String str) - -
-          Deprecated. Checks whether the String a valid Java number.
-static intmaximum(int a, - int b, - int c) - -
-          Deprecated. Gets the maximum of three int values.
-static longmaximum(long a, - long b, - long c) - -
-          Deprecated. Gets the maximum of three long values.
-static intminimum(int a, - int b, - int c) - -
-          Deprecated. Gets the minimum of three int values.
-static longminimum(long a, - long b, - long c) - -
-          Deprecated. Gets the minimum of three long values.
-static intstringToInt(String str) - -
-          Deprecated. Convert a String to an int, returning - zero if the conversion fails.
-static intstringToInt(String str, - int defaultValue) - -
-          Deprecated. Convert a String to an int, returning a - default value if the conversion fails.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NumberUtils

-
-public NumberUtils()
-
-
Deprecated. 

NumberUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as NumberUtils.stringToInt("6");.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-stringToInt

-
-public static int stringToInt(String str)
-
-
Deprecated. 

Convert a String to an int, returning - zero if the conversion fails.

-
Parameters:
str - the string to convert
Returns:
the int represented by the string, or zero if - conversion fails
-
-
-
- -

-stringToInt

-
-public static int stringToInt(String str,
-                              int defaultValue)
-
-
Deprecated. 

Convert a String to an int, returning a - default value if the conversion fails.

-
Parameters:
str - the string to convert
defaultValue - the default value
Returns:
the int represented by the string, or the default if conversion fails
-
-
-
- -

-createNumber

-
-public static Number createNumber(String val)
-                           throws NumberFormatException
-
-
Deprecated. 

Turns a string value into a java.lang.Number.

- -

First, the value is examined for a type qualifier on the end - ('f','F','d','D','l','L'). If it is found, it starts - trying to create successively larger types from the type specified - until one is found that can hold the value.

- -

If a type specifier is not found, it will check for a decimal point - and then try successively larger types from Integer to - BigInteger and from Float to - BigDecimal.

- -

If the string starts with 0x or -0x, it - will be interpreted as a hexadecimal integer. Values with leading - 0's will not be interpreted as octal.

-
Parameters:
val - String containing a number
Returns:
Number created from the string
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createFloat

-
-public static Float createFloat(String val)
-
-
Deprecated. 

Convert a String to a Float.

-
Parameters:
val - a String to convert
Returns:
converted Float
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createDouble

-
-public static Double createDouble(String val)
-
-
Deprecated. 

Convert a String to a Double.

-
Parameters:
val - a String to convert
Returns:
converted Double
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createInteger

-
-public static Integer createInteger(String val)
-
-
Deprecated. 

Convert a String to a Integer, handling - hex and octal notations.

-
Parameters:
val - a String to convert
Returns:
converted Integer
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createLong

-
-public static Long createLong(String val)
-
-
Deprecated. 

Convert a String to a Long.

-
Parameters:
val - a String to convert
Returns:
converted Long
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createBigInteger

-
-public static BigInteger createBigInteger(String val)
-
-
Deprecated. 

Convert a String to a BigInteger.

-
Parameters:
val - a String to convert
Returns:
converted BigInteger
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createBigDecimal

-
-public static BigDecimal createBigDecimal(String val)
-
-
Deprecated. 

Convert a String to a BigDecimal.

-
Parameters:
val - a String to convert
Returns:
converted BigDecimal
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-minimum

-
-public static long minimum(long a,
-                           long b,
-                           long c)
-
-
Deprecated. 

Gets the minimum of three long values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-minimum

-
-public static int minimum(int a,
-                          int b,
-                          int c)
-
-
Deprecated. 

Gets the minimum of three int values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-maximum

-
-public static long maximum(long a,
-                           long b,
-                           long c)
-
-
Deprecated. 

Gets the maximum of three long values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-maximum

-
-public static int maximum(int a,
-                          int b,
-                          int c)
-
-
Deprecated. 

Gets the maximum of three int values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-compare

-
-public static int compare(double lhs,
-                          double rhs)
-
-
Deprecated. 

Compares two doubles for order.

- -

This method is more comprehensive than the standard Java greater - than, less than and equals operators.

-
    -
  • It returns -1 if the first value is less than the second. -
  • It returns +1 if the first value is greater than the second. -
  • It returns 0 if the values are equal. -
- -

- The ordering is as follows, largest to smallest: -

    -
  • NaN -
  • Positive infinity -
  • Maximum double -
  • Normal positive numbers -
  • +0.0 -
  • -0.0 -
  • Normal negative numbers -
  • Minimum double (-Double.MAX_VALUE) -
  • Negative infinity -
-

- -

Comparing NaN with NaN will - return 0.

-
Parameters:
lhs - the first double
rhs - the second double
Returns:
-1 if lhs is less, +1 if greater, - 0 if equal to rhs
-
-
-
- -

-compare

-
-public static int compare(float lhs,
-                          float rhs)
-
-
Deprecated. 

Compares two floats for order.

- -

This method is more comprehensive than the standard Java greater than, - less than and equals operators.

-
    -
  • It returns -1 if the first value is less than the second. -
  • It returns +1 if the first value is greater than the second. -
  • It returns 0 if the values are equal. -
- -

The ordering is as follows, largest to smallest: -

    -
  • NaN -
  • Positive infinity -
  • Maximum float -
  • Normal positive numbers -
  • +0.0 -
  • -0.0 -
  • Normal negative numbers -
  • Minimum float (-Float.MAX_VALUE) -
  • Negative infinity -
- -

Comparing NaN with NaN will return - 0.

-
Parameters:
lhs - the first float
rhs - the second float
Returns:
-1 if lhs is less, +1 if greater, - 0 if equal to rhs
-
-
-
- -

-isDigits

-
-public static boolean isDigits(String str)
-
-
Deprecated. 

Checks whether the String contains only - digit characters.

- -

Null and empty String will return - false.

-
Parameters:
str - the String to check
Returns:
true if str contains only unicode numeric
-
-
-
- -

-isNumber

-
-public static boolean isNumber(String str)
-
-
Deprecated. 

Checks whether the String a valid Java number.

- -

Valid numbers include hexadecimal marked with the 0x - qualifier, scientific notation and numbers marked with a type - qualifier (e.g. 123L).

- -

Null and empty String will return - false.

-
Parameters:
str - the String to check
Returns:
true if the string is a correctly formatted number
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ObjectUtils.Null.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ObjectUtils.Null.html deleted file mode 100644 index 4aa12fe1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ObjectUtils.Null.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ObjectUtils.Null - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class ObjectUtils.Null

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.ObjectUtils.Null
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
Enclosing class:
ObjectUtils
-
-
-
-
public static class ObjectUtils.Null
extends Object
implements Serializable
- -

-

Class used as a null placeholder where null - has another meaning.

- -

For example, in a HashMap the - HashMap.get(java.lang.Object) method returns - null if the Map contains - null or if there is no matching key. The - Null placeholder can be used to distinguish between - these two cases.

- -

Another example is Hashtable, where null - cannot be stored.

-

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - -


- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ObjectUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ObjectUtils.html deleted file mode 100644 index eb8af241..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/ObjectUtils.html +++ /dev/null @@ -1,538 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ObjectUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class ObjectUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.ObjectUtils
-
-
-
-
public class ObjectUtils
extends Object
- -

-

Operations on Object.

- -

This class tries to handle null input gracefully. - An exception will generally not be thrown for a null input. - Each method documents its behaviour in more detail.

-

-

-
Since:
1.0
-
Version:
$Id: ObjectUtils.java 491050 2006-12-29 17:04:00Z scolebourne $
-
Author:
Nissim Karpenstein, Janek Bogucki, Daniel Rall, Stephen Colebourne, Gary Gregory, Mario Winterer, David J. M. Karlsen
-
-
- -

- - - - - - - - - - - -
-Inner Class Summary
-static classObjectUtils.Null - -
-          Class used as a null placeholder where null - has another meaning.
-  - - - - - - - - - - - -
-Field Summary
-static ObjectUtils.NullNULL - -
-          Singleton used as a null placeholder where - null has another meaning.
-  - - - - - - - - - - -
-Constructor Summary
ObjectUtils() - -
-          ObjectUtils instances should NOT be constructed in - standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static StringBufferappendIdentityToString(StringBuffer buffer, - Object object) - -
-          Appends the toString that would be produced by Object - if a class did not override toString itself.
-static ObjectdefaultIfNull(Object object, - Object defaultValue) - -
-          Returns a default value if the object passed is - null.
-static booleanequals(Object object1, - Object object2) - -
-          Compares two objects for equality, where either one or both - objects may be null.
-static inthashCode(Object obj) - -
-          Gets the hash code of an object returning zero when the - object is null.
-static StringidentityToString(Object object) - -
-          Gets the toString that would be produced by Object - if a class did not override toString itself.
-static Objectmax(Comparable c1, - Comparable c2) - -
-          Null safe comparison of Comparables.
-static Objectmin(Comparable c1, - Comparable c2) - -
-          Null safe comparison of Comparables.
-static StringtoString(Object obj) - -
-          Gets the toString of an Object returning - an empty string ("") if null input.
-static StringtoString(Object obj, - String nullStr) - -
-          Gets the toString of an Object returning - a specified text if null input.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-NULL

-
-public static final ObjectUtils.Null NULL
-
-

Singleton used as a null placeholder where - null has another meaning.

- -

For example, in a HashMap the - HashMap.get(java.lang.Object) method returns - null if the Map contains - null or if there is no matching key. The - Null placeholder can be used to distinguish between - these two cases.

- -

Another example is Hashtable, where null - cannot be stored.

- -

This instance is Serializable.

- - - - - - - - -
-Constructor Detail
- -

-ObjectUtils

-
-public ObjectUtils()
-
-

ObjectUtils instances should NOT be constructed in - standard programming. Instead, the class should be used as - ObjectUtils.defaultIfNull("a","b");.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-defaultIfNull

-
-public static Object defaultIfNull(Object object,
-                                   Object defaultValue)
-
-

Returns a default value if the object passed is - null.

- -
- ObjectUtils.defaultIfNull(null, null)      = null
- ObjectUtils.defaultIfNull(null, "")        = ""
- ObjectUtils.defaultIfNull(null, "zz")      = "zz"
- ObjectUtils.defaultIfNull("abc", *)        = "abc"
- ObjectUtils.defaultIfNull(Boolean.TRUE, *) = Boolean.TRUE
- 
-
Parameters:
object - the Object to test, may be null
defaultValue - the default value to return, may be null
Returns:
object if it is not null, defaultValue otherwise
-
-
-
- -

-equals

-
-public static boolean equals(Object object1,
-                             Object object2)
-
-

Compares two objects for equality, where either one or both - objects may be null.

- -
- ObjectUtils.equals(null, null)                  = true
- ObjectUtils.equals(null, "")                    = false
- ObjectUtils.equals("", null)                    = false
- ObjectUtils.equals("", "")                      = true
- ObjectUtils.equals(Boolean.TRUE, null)          = false
- ObjectUtils.equals(Boolean.TRUE, "true")        = false
- ObjectUtils.equals(Boolean.TRUE, Boolean.TRUE)  = true
- ObjectUtils.equals(Boolean.TRUE, Boolean.FALSE) = false
- 
-
Parameters:
object1 - the first object, may be null
object2 - the second object, may be null
Returns:
true if the values of both objects are the same
-
-
-
- -

-hashCode

-
-public static int hashCode(Object obj)
-
-

Gets the hash code of an object returning zero when the - object is null.

- -
- ObjectUtils.hashCode(null)   = 0
- ObjectUtils.hashCode(obj)    = obj.hashCode()
- 
-
Parameters:
obj - the object to obtain the hash code of, may be null
Returns:
the hash code of the object, or zero if null
Since:
2.1
-
-
-
-
- -

-identityToString

-
-public static String identityToString(Object object)
-
-

Gets the toString that would be produced by Object - if a class did not override toString itself. null - will return null.

- -
- ObjectUtils.identityToString(null)         = null
- ObjectUtils.identityToString("")           = "java.lang.String@1e23"
- ObjectUtils.identityToString(Boolean.TRUE) = "java.lang.Boolean@7fa"
- 
-
Parameters:
object - the object to create a toString for, may be - null
Returns:
the default toString text, or null if - null passed in
-
-
-
- -

-appendIdentityToString

-
-public static StringBuffer appendIdentityToString(StringBuffer buffer,
-                                                  Object object)
-
-

Appends the toString that would be produced by Object - if a class did not override toString itself. null - will return null.

- -
- ObjectUtils.appendIdentityToString(*, null)            = null
- ObjectUtils.appendIdentityToString(null, "")           = "java.lang.String@1e23"
- ObjectUtils.appendIdentityToString(null, Boolean.TRUE) = "java.lang.Boolean@7fa"
- ObjectUtils.appendIdentityToString(buf, Boolean.TRUE)  = buf.append("java.lang.Boolean@7fa")
- 
-
Parameters:
buffer - the buffer to append to, may be null
object - the object to create a toString for, may be null
Returns:
the default toString text, or null if - null passed in
Since:
2.0
-
-
-
-
- -

-toString

-
-public static String toString(Object obj)
-
-

Gets the toString of an Object returning - an empty string ("") if null input.

- -
- ObjectUtils.toString(null)         = ""
- ObjectUtils.toString("")           = ""
- ObjectUtils.toString("bat")        = "bat"
- ObjectUtils.toString(Boolean.TRUE) = "true"
- 
-
Parameters:
obj - the Object to toString, may be null
Returns:
the passed in Object's toString, or nullStr if null input
Since:
2.0
-
See Also:
StringUtils.defaultString(String), -String.valueOf(Object)
-
-
-
- -

-toString

-
-public static String toString(Object obj,
-                              String nullStr)
-
-

Gets the toString of an Object returning - a specified text if null input.

- -
- ObjectUtils.toString(null, null)           = null
- ObjectUtils.toString(null, "null")         = "null"
- ObjectUtils.toString("", "null")           = ""
- ObjectUtils.toString("bat", "null")        = "bat"
- ObjectUtils.toString(Boolean.TRUE, "null") = "true"
- 
-
Parameters:
obj - the Object to toString, may be null
nullStr - the String to return if null input, may be null
Returns:
the passed in Object's toString, or nullStr if null input
Since:
2.0
-
See Also:
StringUtils.defaultString(String,String), -String.valueOf(Object)
-
-
-
- -

-min

-
-public static Object min(Comparable c1,
-                         Comparable c2)
-
-
Null safe comparison of Comparables.
-
Parameters:
c1 - the first comparable, may be null
c2 - the second comparable, may be null
Returns:
    -
  • If both objects are non-null and unequal, the lesser object. -
  • If both objects are non-null and equal, c1. -
  • If one of the comparables is null, the non-null object. -
  • If both the comparables are null, null is returned. -
-
-
-
- -

-max

-
-public static Object max(Comparable c1,
-                         Comparable c2)
-
-
Null safe comparison of Comparables.
-
Parameters:
c1 - the first comparable, may be null
c2 - the second comparable, may be null
Returns:
    -
  • If both objects are non-null and unequal, the greater object. -
  • If both objects are non-null and equal, c1. -
  • If one of the comparables is null, the non-null object. -
  • If both the comparables are null, null is returned. -
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/RandomStringUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/RandomStringUtils.html deleted file mode 100644 index f59b41d2..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/RandomStringUtils.html +++ /dev/null @@ -1,538 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class RandomStringUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class RandomStringUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.RandomStringUtils
-
-
-
-
public class RandomStringUtils
extends Object
- -

-

Operations for random Strings.

-

Currently private high surrogate characters are ignored. - These are unicode characters that fall between the values 56192 (db80) - and 56319 (dbff) as we don't know how to handle them. - High and low surrogates are correctly dealt with - that is if a - high surrogate is randomly chosen, 55296 (d800) to 56191 (db7f) - then it is followed by a low surrogate. If a low surrogate is chosen, - 56320 (dc00) to 57343 (dfff) then it is placed after a randomly - chosen high surrogate.

-

-

-
Since:
1.0
-
Version:
$Id: RandomStringUtils.java 471626 2006-11-06 04:02:09Z bayard $
-
Author:
Steven Caswell, Stephen Colebourne, Gary Gregory, Phil Steitz
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
RandomStringUtils() - -
-          RandomStringUtils instances should NOT be constructed in - standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static Stringrandom(int count) - -
-          Creates a random string whose length is the number of characters - specified.
-static Stringrandom(int count, - boolean letters, - boolean numbers) - -
-          Creates a random string whose length is the number of characters - specified.
-static Stringrandom(int count, - char[] chars) - -
-          Creates a random string whose length is the number of characters - specified.
-static Stringrandom(int count, - int start, - int end, - boolean letters, - boolean numbers) - -
-          Creates a random string whose length is the number of characters - specified.
-static Stringrandom(int count, - int start, - int end, - boolean letters, - boolean numbers, - char[] chars) - -
-          Creates a random string based on a variety of options, using - default source of randomness.
-static Stringrandom(int count, - int start, - int end, - boolean letters, - boolean numbers, - char[] chars, - Random random) - -
-          Creates a random string based on a variety of options, using - supplied source of randomness.
-static Stringrandom(int count, - String chars) - -
-          Creates a random string whose length is the number of characters - specified.
-static StringrandomAlphabetic(int count) - -
-          Creates a random string whose length is the number of characters - specified.
-static StringrandomAlphanumeric(int count) - -
-          Creates a random string whose length is the number of characters - specified.
-static StringrandomAscii(int count) - -
-          Creates a random string whose length is the number of characters - specified.
-static StringrandomNumeric(int count) - -
-          Creates a random string whose length is the number of characters - specified.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-RandomStringUtils

-
-public RandomStringUtils()
-
-

RandomStringUtils instances should NOT be constructed in - standard programming. Instead, the class should be used as - RandomStringUtils.random(5);.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-random

-
-public static String random(int count)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of all characters.

-
Parameters:
count - the length of random string to create
Returns:
the random string
-
-
-
- -

-randomAscii

-
-public static String randomAscii(int count)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of characters whose - ASCII value is between 32 and 126 (inclusive).

-
Parameters:
count - the length of random string to create
Returns:
the random string
-
-
-
- -

-randomAlphabetic

-
-public static String randomAlphabetic(int count)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of alphabetic - characters.

-
Parameters:
count - the length of random string to create
Returns:
the random string
-
-
-
- -

-randomAlphanumeric

-
-public static String randomAlphanumeric(int count)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of alpha-numeric - characters.

-
Parameters:
count - the length of random string to create
Returns:
the random string
-
-
-
- -

-randomNumeric

-
-public static String randomNumeric(int count)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of numeric - characters.

-
Parameters:
count - the length of random string to create
Returns:
the random string
-
-
-
- -

-random

-
-public static String random(int count,
-                            boolean letters,
-                            boolean numbers)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of alpha-numeric - characters as indicated by the arguments.

-
Parameters:
count - the length of random string to create
letters - if true, generated string will include - alphabetic characters
numbers - if true, generated string will include - numeric characters
Returns:
the random string
-
-
-
- -

-random

-
-public static String random(int count,
-                            int start,
-                            int end,
-                            boolean letters,
-                            boolean numbers)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of alpha-numeric - characters as indicated by the arguments.

-
Parameters:
count - the length of random string to create
start - the position in set of chars to start at
end - the position in set of chars to end before
letters - if true, generated string will include - alphabetic characters
numbers - if true, generated string will include - numeric characters
Returns:
the random string
-
-
-
- -

-random

-
-public static String random(int count,
-                            int start,
-                            int end,
-                            boolean letters,
-                            boolean numbers,
-                            char[] chars)
-
-

Creates a random string based on a variety of options, using - default source of randomness.

- -

This method has exactly the same semantics as - random(int,int,int,boolean,boolean,char[],Random), but - instead of using an externally supplied source of randomness, it uses - the internal static Random instance.

-
Parameters:
count - the length of random string to create
start - the position in set of chars to start at
end - the position in set of chars to end before
letters - only allow letters?
numbers - only allow numbers?
chars - the set of chars to choose randoms from. - If null, then it will use the set of all chars.
Returns:
the random string
Throws:
ArrayIndexOutOfBoundsException - if there are not - (end - start) + 1 characters in the set array.
-
-
-
- -

-random

-
-public static String random(int count,
-                            int start,
-                            int end,
-                            boolean letters,
-                            boolean numbers,
-                            char[] chars,
-                            Random random)
-
-

Creates a random string based on a variety of options, using - supplied source of randomness.

- -

If start and end are both 0, start and end are set - to ' ' and 'z', the ASCII printable - characters, will be used, unless letters and numbers are both - false, in which case, start and end are set to - 0 and Integer.MAX_VALUE. - -

If set is not null, characters between start and - end are chosen.

- -

This method accepts a user-supplied Random - instance to use as a source of randomness. By seeding a single - Random instance with a fixed seed and using it for each call, - the same random sequence of strings can be generated repeatedly - and predictably.

-
Parameters:
count - the length of random string to create
start - the position in set of chars to start at
end - the position in set of chars to end before
letters - only allow letters?
numbers - only allow numbers?
chars - the set of chars to choose randoms from. - If null, then it will use the set of all chars.
random - a source of randomness.
Returns:
the random string
Throws:
ArrayIndexOutOfBoundsException - if there are not - (end - start) + 1 characters in the set array.
IllegalArgumentException - if count < 0.
Since:
2.0
-
-
-
-
- -

-random

-
-public static String random(int count,
-                            String chars)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of characters - specified.

-
Parameters:
count - the length of random string to create
chars - the String containing the set of characters to use, - may be null
Returns:
the random string
Throws:
IllegalArgumentException - if count < 0.
-
-
-
- -

-random

-
-public static String random(int count,
-                            char[] chars)
-
-

Creates a random string whose length is the number of characters - specified.

- -

Characters will be chosen from the set of characters specified.

-
Parameters:
count - the length of random string to create
chars - the character array containing the set of characters to use, - may be null
Returns:
the random string
Throws:
IllegalArgumentException - if count < 0.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SerializationException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SerializationException.html deleted file mode 100644 index 7da6f539..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SerializationException.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class SerializationException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class SerializationException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--java.lang.RuntimeException
-                    |
-                    +--org.apache.commons.lang.exception.NestableRuntimeException
-                          |
-                          +--org.apache.commons.lang.SerializationException
-
-
-
All Implemented Interfaces:
Nestable, Serializable
-
-
-
-
public class SerializationException
extends NestableRuntimeException
- -

-

Exception thrown when the Serialization process fails.

- -

The original error is wrapped within this one.

-

-

-
Since:
1.0
-
Version:
$Id: SerializationException.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - -
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
delegate
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
SerializationException() - -
-          Constructs a new SerializationException without specified - detail message.
SerializationException(String msg) - -
-          Constructs a new SerializationException with specified - detail message.
SerializationException(String msg, - Throwable cause) - -
-          Constructs a new SerializationException with specified - detail message and nested Throwable.
SerializationException(Throwable cause) - -
-          Constructs a new SerializationException with specified - nested Throwable.
-  - - - - - - - - - - -
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SerializationException

-
-public SerializationException()
-
-

Constructs a new SerializationException without specified - detail message.

-
- -

-SerializationException

-
-public SerializationException(String msg)
-
-

Constructs a new SerializationException with specified - detail message.

-
Parameters:
msg - The error message.
-
-
-
- -

-SerializationException

-
-public SerializationException(Throwable cause)
-
-

Constructs a new SerializationException with specified - nested Throwable.

-
Parameters:
cause - The Exception or Error - that caused this exception to be thrown.
-
-
-
- -

-SerializationException

-
-public SerializationException(String msg,
-                              Throwable cause)
-
-

Constructs a new SerializationException with specified - detail message and nested Throwable.

-
Parameters:
msg - The error message.
cause - The Exception or Error - that caused this exception to be thrown.
-
-
- - - - -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SerializationUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SerializationUtils.html deleted file mode 100644 index 91cd3fa0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SerializationUtils.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class SerializationUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class SerializationUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.SerializationUtils
-
-
-
-
public class SerializationUtils
extends Object
- -

-

Assists with the serialization process and performs additional functionality based - on serialization.

-

-

    -
  • Deep clone using serialization -
  • Serialize managing finally and IOException -
  • Deserialize managing finally and IOException -
- -

This class throws exceptions for invalid null inputs. - Each method documents its behaviour in more detail.

-

-

-
Since:
1.0
-
Version:
$Id: SerializationUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Nissim Karpenstein, Janek Bogucki, Daniel Rall, Stephen Colebourne, Jeff Varszegi, Gary Gregory
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
SerializationUtils() - -
-          SerializationUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static Objectclone(Serializable object) - -
-          Deep clone an Object using serialization.
-static Objectdeserialize(byte[] objectData) - -
-          Deserializes a single Object from an array of bytes.
-static Objectdeserialize(InputStream inputStream) - -
-          Deserializes an Object from the specified stream.
-static byte[]serialize(Serializable obj) - -
-          Serializes an Object to a byte array for - storage/serialization.
-static voidserialize(Serializable obj, - OutputStream outputStream) - -
-          Serializes an Object to the specified stream.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SerializationUtils

-
-public SerializationUtils()
-
-

SerializationUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as SerializationUtils.clone(object).

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

-
Since:
2.0
-
-
-
- - - - - - - - -
-Method Detail
- -

-clone

-
-public static Object clone(Serializable object)
-
-

Deep clone an Object using serialization.

- -

This is many times slower than writing clone methods by hand - on all objects in your object graph. However, for complex object - graphs, or for those that don't support deep cloning this can - be a simple alternative implementation. Of course all the objects - must be Serializable.

-
Parameters:
object - the Serializable object to clone
Returns:
the cloned object
Throws:
SerializationException - (runtime) if the serialization fails
-
-
-
- -

-serialize

-
-public static void serialize(Serializable obj,
-                             OutputStream outputStream)
-
-

Serializes an Object to the specified stream.

- -

The stream will be closed once the object is written. - This avoids the need for a finally clause, and maybe also exception - handling, in the application code.

- -

The stream passed in is not buffered internally within this method. - This is the responsibility of your application if desired.

-
Parameters:
obj - the object to serialize to bytes, may be null
outputStream - the stream to write to, must not be null
Throws:
IllegalArgumentException - if outputStream is null
SerializationException - (runtime) if the serialization fails
-
-
-
- -

-serialize

-
-public static byte[] serialize(Serializable obj)
-
-

Serializes an Object to a byte array for - storage/serialization.

-
Parameters:
obj - the object to serialize to bytes
Returns:
a byte[] with the converted Serializable
Throws:
SerializationException - (runtime) if the serialization fails
-
-
-
- -

-deserialize

-
-public static Object deserialize(InputStream inputStream)
-
-

Deserializes an Object from the specified stream.

- -

The stream will be closed once the object is written. This - avoids the need for a finally clause, and maybe also exception - handling, in the application code.

- -

The stream passed in is not buffered internally within this method. - This is the responsibility of your application if desired.

-
Parameters:
inputStream - the serialized object input stream, must not be null
Returns:
the deserialized object
Throws:
IllegalArgumentException - if inputStream is null
SerializationException - (runtime) if the serialization fails
-
-
-
- -

-deserialize

-
-public static Object deserialize(byte[] objectData)
-
-

Deserializes a single Object from an array of bytes.

-
Parameters:
objectData - the serialized object, must not be null
Returns:
the deserialized object
Throws:
IllegalArgumentException - if objectData is null
SerializationException - (runtime) if the serialization fails
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/StringEscapeUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/StringEscapeUtils.html deleted file mode 100644 index 72d44cc8..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/StringEscapeUtils.html +++ /dev/null @@ -1,730 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StringEscapeUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class StringEscapeUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.StringEscapeUtils
-
-
-
-
public class StringEscapeUtils
extends Object
- -

-

Escapes and unescapes Strings for - Java, Java Script, HTML, XML, and SQL.

-

-

-
Since:
2.0
-
Version:
$Id: StringEscapeUtils.java 471626 2006-11-06 04:02:09Z bayard $
-
Author:
Apache Jakarta Turbine, Purple Technology, Alexander Day Chaffee, Antony Riley, Helge Tesgaard, Sean Brown, Gary Gregory, Phil Steitz, Pete Gieser
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
StringEscapeUtils() - -
-          StringEscapeUtils instances should NOT be constructed in - standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static StringescapeHtml(String str) - -
-          Escapes the characters in a String using HTML entities.
-static voidescapeHtml(Writer writer, - String string) - -
-          Escapes the characters in a String using HTML entities and writes - them to a Writer.
-static StringescapeJava(String str) - -
-          Escapes the characters in a String using Java String rules.
-static voidescapeJava(Writer out, - String str) - -
-          Escapes the characters in a String using Java String rules to - a Writer.
-static StringescapeJavaScript(String str) - -
-          Escapes the characters in a String using JavaScript String rules.
-static voidescapeJavaScript(Writer out, - String str) - -
-          Escapes the characters in a String using JavaScript String rules - to a Writer.
-static StringescapeSql(String str) - -
-          Escapes the characters in a String to be suitable to pass to - an SQL query.
-static StringescapeXml(String str) - -
-          Escapes the characters in a String using XML entities.
-static voidescapeXml(Writer writer, - String str) - -
-          Escapes the characters in a String using XML entities.
-static StringunescapeHtml(String str) - -
-          Unescapes a string containing entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes.
-static voidunescapeHtml(Writer writer, - String string) - -
-          Unescapes a string containing entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes.
-static StringunescapeJava(String str) - -
-          Unescapes any Java literals found in the String.
-static voidunescapeJava(Writer out, - String str) - -
-          Unescapes any Java literals found in the String to a - Writer.
-static StringunescapeJavaScript(String str) - -
-          Unescapes any JavaScript literals found in the String.
-static voidunescapeJavaScript(Writer out, - String str) - -
-          Unescapes any JavaScript literals found in the String to a - Writer.
-static StringunescapeXml(String str) - -
-          Unescapes a string containing XML entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes.
-static voidunescapeXml(Writer writer, - String str) - -
-          Unescapes a string containing XML entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-StringEscapeUtils

-
-public StringEscapeUtils()
-
-

StringEscapeUtils instances should NOT be constructed in - standard programming.

- -

Instead, the class should be used as: -

StringEscapeUtils.escapeJava("foo");

- -

This constructor is public to permit tools that require a JavaBean - instance to operate.

- - - - - - - - -
-Method Detail
- -

-escapeJava

-
-public static String escapeJava(String str)
-
-

Escapes the characters in a String using Java String rules.

- -

Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.)

- -

So a tab becomes the characters '\\' and - 't'.

- -

The only difference between Java strings and JavaScript strings - is that in JavaScript, a single quote must be escaped.

- -

Example: -

- input string: He didn't say, "Stop!"
- output string: He didn't say, \"Stop!\"
- 
-

-
Parameters:
str - String to escape values in, may be null
Returns:
String with escaped values, null if null string input
-
-
-
- -

-escapeJava

-
-public static void escapeJava(Writer out,
-                              String str)
-                       throws IOException
-
-

Escapes the characters in a String using Java String rules to - a Writer.

- -

A null string input has no effect.

-
Parameters:
out - Writer to write escaped string into
str - String to escape values in, may be null
Throws:
IllegalArgumentException - if the Writer is null
IOException - if error occurs on underlying Writer
See Also:
escapeJava(java.lang.String)
-
-
-
- -

-escapeJavaScript

-
-public static String escapeJavaScript(String str)
-
-

Escapes the characters in a String using JavaScript String rules.

-

Escapes any values it finds into their JavaScript String form. - Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.)

- -

So a tab becomes the characters '\\' and - 't'.

- -

The only difference between Java strings and JavaScript strings - is that in JavaScript, a single quote must be escaped.

- -

Example: -

- input string: He didn't say, "Stop!"
- output string: He didn\'t say, \"Stop!\"
- 
-

-
Parameters:
str - String to escape values in, may be null
Returns:
String with escaped values, null if null string input
-
-
-
- -

-escapeJavaScript

-
-public static void escapeJavaScript(Writer out,
-                                    String str)
-                             throws IOException
-
-

Escapes the characters in a String using JavaScript String rules - to a Writer.

- -

A null string input has no effect.

-
Parameters:
out - Writer to write escaped string into
str - String to escape values in, may be null
Throws:
IllegalArgumentException - if the Writer is null
IOException - if error occurs on underlying Writer
See Also:
escapeJavaScript(java.lang.String)
-
-
-
- -

-unescapeJava

-
-public static String unescapeJava(String str)
-
-

Unescapes any Java literals found in the String. - For example, it will turn a sequence of '\' and - 'n' into a newline character, unless the '\' - is preceded by another '\'.

-
Parameters:
str - the String to unescape, may be null
Returns:
a new unescaped String, null if null string input
-
-
-
- -

-unescapeJava

-
-public static void unescapeJava(Writer out,
-                                String str)
-                         throws IOException
-
-

Unescapes any Java literals found in the String to a - Writer.

- -

For example, it will turn a sequence of '\' and - 'n' into a newline character, unless the '\' - is preceded by another '\'.

- -

A null string input has no effect.

-
Parameters:
out - the Writer used to output unescaped characters
str - the String to unescape, may be null
Throws:
IllegalArgumentException - if the Writer is null
IOException - if error occurs on underlying Writer
-
-
-
- -

-unescapeJavaScript

-
-public static String unescapeJavaScript(String str)
-
-

Unescapes any JavaScript literals found in the String.

- -

For example, it will turn a sequence of '\' and 'n' - into a newline character, unless the '\' is preceded by another - '\'.

-
Parameters:
str - the String to unescape, may be null
Returns:
A new unescaped String, null if null string input
See Also:
unescapeJava(String)
-
-
-
- -

-unescapeJavaScript

-
-public static void unescapeJavaScript(Writer out,
-                                      String str)
-                               throws IOException
-
-

Unescapes any JavaScript literals found in the String to a - Writer.

- -

For example, it will turn a sequence of '\' and 'n' - into a newline character, unless the '\' is preceded by another - '\'.

- -

A null string input has no effect.

-
Parameters:
out - the Writer used to output unescaped characters
str - the String to unescape, may be null
Throws:
IllegalArgumentException - if the Writer is null
IOException - if error occurs on underlying Writer
See Also:
unescapeJava(Writer,String)
-
-
-
- -

-escapeHtml

-
-public static String escapeHtml(String str)
-
-

Escapes the characters in a String using HTML entities.

- -

- For example: -

-

"bread" & "butter"

- becomes: -

- &quot;bread&quot; &amp; &quot;butter&quot;. -

- -

Supports all known HTML 4.0 entities, including funky accents. - Note that the commonly used apostrophe escape character (&apos;) - is not a legal entity and so is not supported).

-
Parameters:
str - the String to escape, may be null
Returns:
a new escaped String, null if null string input
See Also:
unescapeHtml(String), -ISO Entities, -HTML 3.2 Character Entities for ISO Latin-1, -HTML 4.0 Character entity references, -HTML 4.01 Character References, -HTML 4.01 Code positions
-
-
-
- -

-escapeHtml

-
-public static void escapeHtml(Writer writer,
-                              String string)
-                       throws IOException
-
-

Escapes the characters in a String using HTML entities and writes - them to a Writer.

- -

- For example: -

- "bread" & "butter" -

becomes:

- &quot;bread&quot; &amp; &quot;butter&quot;. - -

Supports all known HTML 4.0 entities, including funky accents. - Note that the commonly used apostrophe escape character (&apos;) - is not a legal entity and so is not supported).

-
Parameters:
writer - the writer receiving the escaped string, not null
string - the String to escape, may be null
Throws:
IllegalArgumentException - if the writer is null
IOException - when Writer passed throws the exception from - calls to the Writer.write(int) methods.
See Also:
escapeHtml(String), -unescapeHtml(String), -ISO Entities, -HTML 3.2 Character Entities for ISO Latin-1, -HTML 4.0 Character entity references, -HTML 4.01 Character References, -HTML 4.01 Code positions
-
-
-
- -

-unescapeHtml

-
-public static String unescapeHtml(String str)
-
-

Unescapes a string containing entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes. Supports HTML 4.0 entities.

- -

For example, the string "&lt;Fran&ccedil;ais&gt;" - will become "<Français>"

- -

If an entity is unrecognized, it is left alone, and inserted - verbatim into the result string. e.g. "&gt;&zzzz;x" will - become ">&zzzz;x".

-
Parameters:
str - the String to unescape, may be null
Returns:
a new unescaped String, null if null string input
See Also:
escapeHtml(Writer, String)
-
-
-
- -

-unescapeHtml

-
-public static void unescapeHtml(Writer writer,
-                                String string)
-                         throws IOException
-
-

Unescapes a string containing entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes. Supports HTML 4.0 entities.

- -

For example, the string "&lt;Fran&ccedil;ais&gt;" - will become "<Français>"

- -

If an entity is unrecognized, it is left alone, and inserted - verbatim into the result string. e.g. "&gt;&zzzz;x" will - become ">&zzzz;x".

-
Parameters:
writer - the writer receiving the unescaped string, not null
string - the String to unescape, may be null
Throws:
IllegalArgumentException - if the writer is null
IOException - if an IOException occurs
See Also:
escapeHtml(String)
-
-
-
- -

-escapeXml

-
-public static void escapeXml(Writer writer,
-                             String str)
-                      throws IOException
-
-

Escapes the characters in a String using XML entities.

- -

For example: "bread" & "butter" => - &quot;bread&quot; &amp; &quot;butter&quot;. -

- -

Supports only the five basic XML entities (gt, lt, quot, amp, apos). - Does not support DTDs or external entities.

- -

Note that unicode characters greater than 0x7f are currently escaped to - their numerical \\u equivalent. This may change in future releases.

-
Parameters:
writer - the writer receiving the unescaped string, not null
str - the String to escape, may be null
Throws:
IllegalArgumentException - if the writer is null
IOException - if there is a problem writing
See Also:
unescapeXml(java.lang.String)
-
-
-
- -

-escapeXml

-
-public static String escapeXml(String str)
-
-

Escapes the characters in a String using XML entities.

- -

For example: "bread" & "butter" => - &quot;bread&quot; &amp; &quot;butter&quot;. -

- -

Supports only the five basic XML entities (gt, lt, quot, amp, apos). - Does not support DTDs or external entities.

- -

Note that unicode characters greater than 0x7f are currently escaped to - their numerical \\u equivalent. This may change in future releases.

-
Parameters:
str - the String to escape, may be null
Returns:
a new escaped String, null if null string input
See Also:
unescapeXml(java.lang.String)
-
-
-
- -

-unescapeXml

-
-public static void unescapeXml(Writer writer,
-                               String str)
-                        throws IOException
-
-

Unescapes a string containing XML entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes.

- -

Supports only the five basic XML entities (gt, lt, quot, amp, apos). - Does not support DTDs or external entities.

- -

Note that numerical \\u unicode codes are unescaped to their respective - unicode characters. This may change in future releases.

-
Parameters:
writer - the writer receiving the unescaped string, not null
str - the String to unescape, may be null
Throws:
IllegalArgumentException - if the writer is null
IOException - if there is a problem writing
See Also:
escapeXml(String)
-
-
-
- -

-unescapeXml

-
-public static String unescapeXml(String str)
-
-

Unescapes a string containing XML entity escapes to a string - containing the actual Unicode characters corresponding to the - escapes.

- -

Supports only the five basic XML entities (gt, lt, quot, amp, apos). - Does not support DTDs or external entities.

- -

Note that numerical \\u unicode codes are unescaped to their respective - unicode characters. This may change in future releases.

-
Parameters:
str - the String to unescape, may be null
Returns:
a new unescaped String, null if null string input
See Also:
escapeXml(String)
-
-
-
- -

-escapeSql

-
-public static String escapeSql(String str)
-
-

Escapes the characters in a String to be suitable to pass to - an SQL query.

- -

For example, -

statement.executeQuery("SELECT * FROM MOVIES WHERE TITLE='" + 
-   StringEscapeUtils.escapeSql("McHale's Navy") + 
-   "'");
-

- -

At present, this method only turns single-quotes into doubled single-quotes - ("McHale's Navy" => "McHale''s Navy"). It does not - handle the cases of percent (%) or underscore (_) for use in LIKE clauses.

- - see http://www.jguru.com/faq/view.jsp?EID=8881
-
Parameters:
str - the string to escape, may be null
Returns:
a new String, escaped for SQL, null if null string input
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/StringUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/StringUtils.html deleted file mode 100644 index 2785003b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/StringUtils.html +++ /dev/null @@ -1,5226 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StringUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class StringUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.StringUtils
-
-
-
-
public class StringUtils
extends Object
- -

-

Operations on String that are - null safe.

- -
    -
  • IsEmpty/IsBlank - - checks if a String contains text
  • -
  • Trim/Strip - - removes leading and trailing whitespace
  • -
  • Equals - - compares two strings null-safe
  • -
  • IndexOf/LastIndexOf/Contains - - null-safe index-of checks -
  • IndexOfAny/LastIndexOfAny/IndexOfAnyBut/LastIndexOfAnyBut - - index-of any of a set of Strings
  • -
  • ContainsOnly/ContainsNone - - does String contains only/none of these characters
  • -
  • Substring/Left/Right/Mid - - null-safe substring extractions
  • -
  • SubstringBefore/SubstringAfter/SubstringBetween - - substring extraction relative to other strings
  • -
  • Split/Join - - splits a String into an array of substrings and vice versa
  • -
  • Remove/Delete - - removes part of a String
  • -
  • Replace/Overlay - - Searches a String and replaces one String with another
  • -
  • Chomp/Chop - - removes the last part of a String
  • -
  • LeftPad/RightPad/Center/Repeat - - pads a String
  • -
  • UpperCase/LowerCase/SwapCase/Capitalize/Uncapitalize - - changes the case of a String
  • -
  • CountMatches - - counts the number of occurrences of one String in another
  • -
  • IsAlpha/IsNumeric/IsWhitespace/IsAsciiPrintable - - checks the characters in a String
  • -
  • DefaultString - - protects against a null input String
  • -
  • Reverse/ReverseDelimited - - reverses a String
  • -
  • Abbreviate - - abbreviates a string using ellipsis
  • -
  • Difference - - compares two Strings and reports on their differences
  • -
  • LevensteinDistance - - the number of changes needed to change one String into another
  • -
- -

The StringUtils class defines certain words related to - String handling.

- -
    -
  • null - null
  • -
  • empty - a zero-length string ("")
  • -
  • space - the space character (' ', char 32)
  • -
  • whitespace - the characters defined by Character.isWhitespace(char)
  • -
  • trim - the characters <= 32 as in String.trim()
  • -
- -

StringUtils handles null input Strings quietly. - That is to say that a null input will return null. - Where a boolean or int is being returned - details vary by method.

- -

A side effect of the null handling is that a - NullPointerException should be considered a bug in - StringUtils (except for deprecated methods).

- -

Methods in this class give sample code to explain their operation. - The symbol * is used to indicate any input including null.

-

-

-
Since:
1.0
-
Version:
$Id: StringUtils.java 492377 2007-01-04 01:20:30Z scolebourne $
-
Author:
Apache Jakarta Turbine, Jon S. Stevens, Daniel Rall, Greg Coladonato, Ed Korthof, Rand McNeely, Stephen Colebourne, Fredrik Westermarck, Holger Krauth, Alexander Day Chaffee, Henning P. Schmiedehausen, Arun Mammen Thomas, Gary Gregory, Phil Steitz, Al Chou, Michael Davey, Reuben Sivan, Chris Hyzer
-
See Also:
String
-
- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-static StringEMPTY - -
-          The empty String "".
-static intINDEX_NOT_FOUND - -
-          Represents a failed index search.
-  - - - - - - - - - - -
-Constructor Summary
StringUtils() - -
-          StringUtils instances should NOT be constructed in - standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static Stringabbreviate(String str, - int maxWidth) - -
-          Abbreviates a String using ellipses.
-static Stringabbreviate(String str, - int offset, - int maxWidth) - -
-          Abbreviates a String using ellipses.
-static Stringcapitalise(String str) - -
-          Deprecated. Use the standardly named capitalize(String). - Method will be removed in Commons Lang 3.0.
-static StringcapitaliseAllWords(String str) - -
-          Deprecated. Use the relocated WordUtils.capitalize(String). - Method will be removed in Commons Lang 3.0.
-static Stringcapitalize(String str) - -
-          Capitalizes a String changing the first letter to title case as - per Character.toTitleCase(char).
-static Stringcenter(String str, - int size) - -
-          Centers a String in a larger String of size size - using the space character (' ').
-static Stringcenter(String str, - int size, - char padChar) - -
-          Centers a String in a larger String of size size.
-static Stringcenter(String str, - int size, - String padStr) - -
-          Centers a String in a larger String of size size.
-static Stringchomp(String str) - -
-          Removes one newline from end of a String if it's there, - otherwise leave it alone.
-static Stringchomp(String str, - String separator) - -
-          Removes separator from the end of - str if it's there, otherwise leave it alone.
-static StringchompLast(String str) - -
-          Deprecated. Use chomp(String) instead. - Method will be removed in Commons Lang 3.0.
-static StringchompLast(String str, - String sep) - -
-          Deprecated. Use chomp(String,String) instead. - Method will be removed in Commons Lang 3.0.
-static Stringchop(String str) - -
-          Remove the last character from a String.
-static StringchopNewline(String str) - -
-          Deprecated. Use chomp(String) instead. - Method will be removed in Commons Lang 3.0.
-static Stringclean(String str) - -
-          Deprecated. Use the clearer named trimToEmpty(String). - Method will be removed in Commons Lang 3.0.
-static Stringconcatenate(Object[] array) - -
-          Deprecated. Use the better named join(Object[]) instead. - Method will be removed in Commons Lang 3.0.
-static booleancontains(String str, - char searchChar) - -
-          Checks if String contains a search character, handling null.
-static booleancontains(String str, - String searchStr) - -
-          Checks if String contains a search String, handling null.
-static booleancontainsIgnoreCase(String str, - String searchStr) - -
-          Checks if String contains a search String irrespective of case, - handling null.
-static booleancontainsNone(String str, - char[] invalidChars) - -
-          Checks that the String does not contain certain characters.
-static booleancontainsNone(String str, - String invalidChars) - -
-          Checks that the String does not contain certain characters.
-static booleancontainsOnly(String str, - char[] valid) - -
-          Checks if the String contains only certain characters.
-static booleancontainsOnly(String str, - String validChars) - -
-          Checks if the String contains only certain characters.
-static intcountMatches(String str, - String sub) - -
-          Counts how many times the substring appears in the larger String.
-static StringdefaultIfEmpty(String str, - String defaultStr) - -
-          Returns either the passed in String, or if the String is - empty or null, the value of defaultStr.
-static StringdefaultString(String str) - -
-          Returns either the passed in String, - or if the String is null, an empty String ("").
-static StringdefaultString(String str, - String defaultStr) - -
-          Returns either the passed in String, or if the String is - null, the value of defaultStr.
-static StringdeleteSpaces(String str) - -
-          Deprecated. Use the better localized deleteWhitespace(String). - Method will be removed in Commons Lang 3.0.
-static StringdeleteWhitespace(String str) - -
-          Deletes all whitespaces from a String as defined by - Character.isWhitespace(char).
-static Stringdifference(String str1, - String str2) - -
-          Compares two Strings, and returns the portion where they differ.
-static booleanequals(String str1, - String str2) - -
-          Compares two Strings, returning true if they are equal.
-static booleanequalsIgnoreCase(String str1, - String str2) - -
-          Compares two Strings, returning true if they are equal ignoring - the case.
-static Stringescape(String str) - -
-          Deprecated. Use StringEscapeUtils.escapeJava(String) - This method will be removed in Commons Lang 3.0
-static StringgetChomp(String str, - String sep) - -
-          Deprecated. Use substringAfterLast(String, String) instead - (although this doesn't include the separator) - Method will be removed in Commons Lang 3.0.
-static intgetLevenshteinDistance(String s, - String t) - -
-          Find the Levenshtein distance between two Strings.
-static StringgetNestedString(String str, - String tag) - -
-          Deprecated. Use the better named substringBetween(String, String). - Method will be removed in Commons Lang 3.0.
-static StringgetNestedString(String str, - String open, - String close) - -
-          Deprecated. Use the better named substringBetween(String, String, String). - Method will be removed in Commons Lang 3.0.
-static StringgetPrechomp(String str, - String sep) - -
-          Deprecated. Use substringBefore(String,String) instead - (although this doesn't include the separator). - Method will be removed in Commons Lang 3.0.
-static intindexOf(String str, - char searchChar) - -
-          Finds the first index within a String, handling null.
-static intindexOf(String str, - char searchChar, - int startPos) - -
-          Finds the first index within a String from a start position, - handling null.
-static intindexOf(String str, - String searchStr) - -
-          Finds the first index within a String, handling null.
-static intindexOf(String str, - String searchStr, - int startPos) - -
-          Finds the first index within a String, handling null.
-static intindexOfAny(String str, - char[] searchChars) - -
-          Search a String to find the first index of any - character in the given set of characters.
-static intindexOfAny(String str, - String searchChars) - -
-          Search a String to find the first index of any - character in the given set of characters.
-static intindexOfAny(String str, - String[] searchStrs) - -
-          Find the first index of any of a set of potential substrings.
-static intindexOfAnyBut(String str, - char[] searchChars) - -
-          Search a String to find the first index of any - character not in the given set of characters.
-static intindexOfAnyBut(String str, - String searchChars) - -
-          Search a String to find the first index of any - character not in the given set of characters.
-static intindexOfDifference(String str1, - String str2) - -
-          Compares two Strings, and returns the index at which the - Strings begin to differ.
-static booleanisAlpha(String str) - -
-          Checks if the String contains only unicode letters.
-static booleanisAlphanumeric(String str) - -
-          Checks if the String contains only unicode letters or digits.
-static booleanisAlphanumericSpace(String str) - -
-          Checks if the String contains only unicode letters, digits - or space (' ').
-static booleanisAlphaSpace(String str) - -
-          Checks if the String contains only unicode letters and - space (' ').
-static booleanisAsciiPrintable(String str) - -
-          Checks if the string contains only ASCII printable characters.
-static booleanisBlank(String str) - -
-          Checks if a String is whitespace, empty ("") or null.
-static booleanisEmpty(String str) - -
-          Checks if a String is empty ("") or null.
-static booleanisNotBlank(String str) - -
-          Checks if a String is not empty (""), not null and not whitespace only.
-static booleanisNotEmpty(String str) - -
-          Checks if a String is not empty ("") and not null.
-static booleanisNumeric(String str) - -
-          Checks if the String contains only unicode digits.
-static booleanisNumericSpace(String str) - -
-          Checks if the String contains only unicode digits or space - (' ').
-static booleanisWhitespace(String str) - -
-          Checks if the String contains only whitespace.
-static Stringjoin(Collection collection, - char separator) - -
-          Joins the elements of the provided Collection into - a single String containing the provided elements.
-static Stringjoin(Collection collection, - String separator) - -
-          Joins the elements of the provided Collection into - a single String containing the provided elements.
-static Stringjoin(Iterator iterator, - char separator) - -
-          Joins the elements of the provided Iterator into - a single String containing the provided elements.
-static Stringjoin(Iterator iterator, - String separator) - -
-          Joins the elements of the provided Iterator into - a single String containing the provided elements.
-static Stringjoin(Object[] array) - -
-          Joins the elements of the provided array into a single String - containing the provided list of elements.
-static Stringjoin(Object[] array, - char separator) - -
-          Joins the elements of the provided array into a single String - containing the provided list of elements.
-static Stringjoin(Object[] array, - char separator, - int startIndex, - int endIndex) - -
-          Joins the elements of the provided array into a single String - containing the provided list of elements.
-static Stringjoin(Object[] array, - String separator) - -
-          Joins the elements of the provided array into a single String - containing the provided list of elements.
-static Stringjoin(Object[] array, - String separator, - int startIndex, - int endIndex) - -
-          Joins the elements of the provided array into a single String - containing the provided list of elements.
-static intlastIndexOf(String str, - char searchChar) - -
-          Finds the last index within a String, handling null.
-static intlastIndexOf(String str, - char searchChar, - int startPos) - -
-          Finds the last index within a String from a start position, - handling null.
-static intlastIndexOf(String str, - String searchStr) - -
-          Finds the last index within a String, handling null.
-static intlastIndexOf(String str, - String searchStr, - int startPos) - -
-          Finds the first index within a String, handling null.
-static intlastIndexOfAny(String str, - String[] searchStrs) - -
-          Find the latest index of any of a set of potential substrings.
-static Stringleft(String str, - int len) - -
-          Gets the leftmost len characters of a String.
-static StringleftPad(String str, - int size) - -
-          Left pad a String with spaces (' ').
-static StringleftPad(String str, - int size, - char padChar) - -
-          Left pad a String with a specified character.
-static StringleftPad(String str, - int size, - String padStr) - -
-          Left pad a String with a specified String.
-static StringlowerCase(String str) - -
-          Converts a String to lower case as per String.toLowerCase().
-static Stringmid(String str, - int pos, - int len) - -
-          Gets len characters from the middle of a String.
-static intordinalIndexOf(String str, - String searchStr, - int ordinal) - -
-          Finds the n-th index within a String, handling null.
-static Stringoverlay(String str, - String overlay, - int start, - int end) - -
-          Overlays part of a String with another String.
-static StringoverlayString(String text, - String overlay, - int start, - int end) - -
-          Deprecated. Use better named overlay(String, String, int, int) instead. - Method will be removed in Commons Lang 3.0.
-static Stringprechomp(String str, - String sep) - -
-          Deprecated. Use substringAfter(String,String) instead. - Method will be removed in Commons Lang 3.0.
-static Stringremove(String str, - char remove) - -
-          Removes all occurances of a character from within the source string.
-static Stringremove(String str, - String remove) - -
-          Removes all occurances of a substring from within the source string.
-static StringremoveEnd(String str, - String remove) - -
-          Removes a substring only if it is at the end of a source string, - otherwise returns the source string.
-static StringremoveStart(String str, - String remove) - -
-          Removes a substring only if it is at the begining of a source string, - otherwise returns the source string.
-static Stringrepeat(String str, - int repeat) - -
-          Repeat a String repeat times to form a - new String.
-static Stringreplace(String text, - String repl, - String with) - -
-          Replaces all occurrences of a String within another String.
-static Stringreplace(String text, - String repl, - String with, - int max) - -
-          Replaces a String with another String inside a larger String, - for the first max values of the search String.
-static StringreplaceChars(String str, - char searchChar, - char replaceChar) - -
-          Replaces all occurrences of a character in a String with another.
-static StringreplaceChars(String str, - String searchChars, - String replaceChars) - -
-          Replaces multiple characters in a String in one go.
-static StringreplaceOnce(String text, - String repl, - String with) - -
-          Replaces a String with another String inside a larger String, once.
-static Stringreverse(String str) - -
-          Reverses a String as per StringBuffer.reverse().
-static StringreverseDelimited(String str, - char separatorChar) - -
-          Reverses a String that is delimited by a specific character.
-static StringreverseDelimitedString(String str, - String separatorChars) - -
-          Deprecated. Use reverseDelimited(String, char) instead. - This method is broken as the join doesn't know which char to use. - Method will be removed in Commons Lang 3.0.
-static Stringright(String str, - int len) - -
-          Gets the rightmost len characters of a String.
-static StringrightPad(String str, - int size) - -
-          Right pad a String with spaces (' ').
-static StringrightPad(String str, - int size, - char padChar) - -
-          Right pad a String with a specified character.
-static StringrightPad(String str, - int size, - String padStr) - -
-          Right pad a String with a specified String.
-static String[]split(String str) - -
-          Splits the provided text into an array, using whitespace as the - separator.
-static String[]split(String str, - char separatorChar) - -
-          Splits the provided text into an array, separator specified.
-static String[]split(String str, - String separatorChars) - -
-          Splits the provided text into an array, separators specified.
-static String[]split(String str, - String separatorChars, - int max) - -
-          Splits the provided text into an array with a maximum length, - separators specified.
-static String[]splitByWholeSeparator(String str, - String separator) - -
-          Splits the provided text into an array, separator string specified.
-static String[]splitByWholeSeparator(String str, - String separator, - int max) - -
-          Splits the provided text into an array, separator string specified.
-static String[]splitPreserveAllTokens(String str) - -
-          Splits the provided text into an array, using whitespace as the - separator, preserving all tokens, including empty tokens created by - adjacent separators.
-static String[]splitPreserveAllTokens(String str, - char separatorChar) - -
-          Splits the provided text into an array, separator specified, - preserving all tokens, including empty tokens created by adjacent - separators.
-static String[]splitPreserveAllTokens(String str, - String separatorChars) - -
-          Splits the provided text into an array, separators specified, - preserving all tokens, including empty tokens created by adjacent - separators.
-static String[]splitPreserveAllTokens(String str, - String separatorChars, - int max) - -
-          Splits the provided text into an array with a maximum length, - separators specified, preserving all tokens, including empty tokens - created by adjacent separators.
-static Stringstrip(String str) - -
-          Strips whitespace from the start and end of a String.
-static Stringstrip(String str, - String stripChars) - -
-          Strips any of a set of characters from the start and end of a String.
-static String[]stripAll(String[] strs) - -
-          Strips whitespace from the start and end of every String in an array.
-static String[]stripAll(String[] strs, - String stripChars) - -
-          Strips any of a set of characters from the start and end of every - String in an array.
-static StringstripEnd(String str, - String stripChars) - -
-          Strips any of a set of characters from the end of a String.
-static StringstripStart(String str, - String stripChars) - -
-          Strips any of a set of characters from the start of a String.
-static StringstripToEmpty(String str) - -
-          Strips whitespace from the start and end of a String returning - an empty String if null input.
-static StringstripToNull(String str) - -
-          Strips whitespace from the start and end of a String returning - null if the String is empty ("") after the strip.
-static Stringsubstring(String str, - int start) - -
-          Gets a substring from the specified String avoiding exceptions.
-static Stringsubstring(String str, - int start, - int end) - -
-          Gets a substring from the specified String avoiding exceptions.
-static StringsubstringAfter(String str, - String separator) - -
-          Gets the substring after the first occurrence of a separator.
-static StringsubstringAfterLast(String str, - String separator) - -
-          Gets the substring after the last occurrence of a separator.
-static StringsubstringBefore(String str, - String separator) - -
-          Gets the substring before the first occurrence of a separator.
-static StringsubstringBeforeLast(String str, - String separator) - -
-          Gets the substring before the last occurrence of a separator.
-static StringsubstringBetween(String str, - String tag) - -
-          Gets the String that is nested in between two instances of the - same String.
-static StringsubstringBetween(String str, - String open, - String close) - -
-          Gets the String that is nested in between two Strings.
-static String[]substringsBetween(String str, - String open, - String close) - -
-          Searches a String for substrings delimited by a start and end tag, - returning all matching substrings in an array.
-static StringswapCase(String str) - -
-          Swaps the case of a String changing upper and title case to - lower case, and lower case to upper case.
-static Stringtrim(String str) - -
-          Removes control characters (char <= 32) from both - ends of this String, handling null by returning - null.
-static StringtrimToEmpty(String str) - -
-          Removes control characters (char <= 32) from both - ends of this String returning an empty String ("") if the String - is empty ("") after the trim or if it is null.
-static StringtrimToNull(String str) - -
-          Removes control characters (char <= 32) from both - ends of this String returning null if the String is - empty ("") after the trim or if it is null.
-static Stringuncapitalise(String str) - -
-          Deprecated. Use the standardly named uncapitalize(String). - Method will be removed in Commons Lang 3.0.
-static Stringuncapitalize(String str) - -
-          Uncapitalizes a String changing the first letter to title case as - per Character.toLowerCase(char).
-static StringupperCase(String str) - -
-          Converts a String to upper case as per String.toUpperCase().
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY

-
-public static final String EMPTY
-
-
The empty String "".
-
Since:
2.0
-
-
-
-
- -

-INDEX_NOT_FOUND

-
-public static final int INDEX_NOT_FOUND
-
-
Represents a failed index search.
-
Since:
2.1
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-StringUtils

-
-public StringUtils()
-
-

StringUtils instances should NOT be constructed in - standard programming. Instead, the class should be used as - StringUtils.trim(" foo ");.

- -

This constructor is public to permit tools that require a JavaBean - instance to operate.

- - - - - - - - -
-Method Detail
- -

-isEmpty

-
-public static boolean isEmpty(String str)
-
-

Checks if a String is empty ("") or null.

- -
- StringUtils.isEmpty(null)      = true
- StringUtils.isEmpty("")        = true
- StringUtils.isEmpty(" ")       = false
- StringUtils.isEmpty("bob")     = false
- StringUtils.isEmpty("  bob  ") = false
- 
- -

NOTE: This method changed in Lang version 2.0. - It no longer trims the String. - That functionality is available in isBlank().

-
Parameters:
str - the String to check, may be null
Returns:
true if the String is empty or null
-
-
-
- -

-isNotEmpty

-
-public static boolean isNotEmpty(String str)
-
-

Checks if a String is not empty ("") and not null.

- -
- StringUtils.isNotEmpty(null)      = false
- StringUtils.isNotEmpty("")        = false
- StringUtils.isNotEmpty(" ")       = true
- StringUtils.isNotEmpty("bob")     = true
- StringUtils.isNotEmpty("  bob  ") = true
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if the String is not empty and not null
-
-
-
- -

-isBlank

-
-public static boolean isBlank(String str)
-
-

Checks if a String is whitespace, empty ("") or null.

- -
- StringUtils.isBlank(null)      = true
- StringUtils.isBlank("")        = true
- StringUtils.isBlank(" ")       = true
- StringUtils.isBlank("bob")     = false
- StringUtils.isBlank("  bob  ") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if the String is null, empty or whitespace
Since:
2.0
-
-
-
-
- -

-isNotBlank

-
-public static boolean isNotBlank(String str)
-
-

Checks if a String is not empty (""), not null and not whitespace only.

- -
- StringUtils.isNotBlank(null)      = false
- StringUtils.isNotBlank("")        = false
- StringUtils.isNotBlank(" ")       = false
- StringUtils.isNotBlank("bob")     = true
- StringUtils.isNotBlank("  bob  ") = true
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if the String is - not empty and not null and not whitespace
Since:
2.0
-
-
-
-
- -

-clean

-
-public static String clean(String str)
-
-
Deprecated. Use the clearer named trimToEmpty(String). - Method will be removed in Commons Lang 3.0. -

-

Removes control characters (char <= 32) from both - ends of this String, handling null by returning - an empty String ("").

- -
- StringUtils.clean(null)          = ""
- StringUtils.clean("")            = ""
- StringUtils.clean("abc")         = "abc"
- StringUtils.clean("    abc    ") = "abc"
- StringUtils.clean("     ")       = ""
- 
-
Parameters:
str - the String to clean, may be null
Returns:
the trimmed text, never null
See Also:
String.trim()
-
-
-
- -

-trim

-
-public static String trim(String str)
-
-

Removes control characters (char <= 32) from both - ends of this String, handling null by returning - null.

- -

The String is trimmed using String.trim(). - Trim removes start and end characters <= 32. - To strip whitespace use strip(String).

- -

To trim your choice of characters, use the - strip(String, String) methods.

- -
- StringUtils.trim(null)          = null
- StringUtils.trim("")            = ""
- StringUtils.trim("     ")       = ""
- StringUtils.trim("abc")         = "abc"
- StringUtils.trim("    abc    ") = "abc"
- 
-
Parameters:
str - the String to be trimmed, may be null
Returns:
the trimmed string, null if null String input
-
-
-
- -

-trimToNull

-
-public static String trimToNull(String str)
-
-

Removes control characters (char <= 32) from both - ends of this String returning null if the String is - empty ("") after the trim or if it is null. - -

The String is trimmed using String.trim(). - Trim removes start and end characters <= 32. - To strip whitespace use stripToNull(String).

- -
- StringUtils.trimToNull(null)          = null
- StringUtils.trimToNull("")            = null
- StringUtils.trimToNull("     ")       = null
- StringUtils.trimToNull("abc")         = "abc"
- StringUtils.trimToNull("    abc    ") = "abc"
- 
-
Parameters:
str - the String to be trimmed, may be null
Returns:
the trimmed String, - null if only chars <= 32, empty or null String input
Since:
2.0
-
-
-
-
- -

-trimToEmpty

-
-public static String trimToEmpty(String str)
-
-

Removes control characters (char <= 32) from both - ends of this String returning an empty String ("") if the String - is empty ("") after the trim or if it is null. - -

The String is trimmed using String.trim(). - Trim removes start and end characters <= 32. - To strip whitespace use stripToEmpty(String).

- -
- StringUtils.trimToEmpty(null)          = ""
- StringUtils.trimToEmpty("")            = ""
- StringUtils.trimToEmpty("     ")       = ""
- StringUtils.trimToEmpty("abc")         = "abc"
- StringUtils.trimToEmpty("    abc    ") = "abc"
- 
-
Parameters:
str - the String to be trimmed, may be null
Returns:
the trimmed String, or an empty String if null input
Since:
2.0
-
-
-
-
- -

-strip

-
-public static String strip(String str)
-
-

Strips whitespace from the start and end of a String.

- -

This is similar to trim(String) but removes whitespace. - Whitespace is defined by Character.isWhitespace(char).

- -

A null input String returns null.

- -
- StringUtils.strip(null)     = null
- StringUtils.strip("")       = ""
- StringUtils.strip("   ")    = ""
- StringUtils.strip("abc")    = "abc"
- StringUtils.strip("  abc")  = "abc"
- StringUtils.strip("abc  ")  = "abc"
- StringUtils.strip(" abc ")  = "abc"
- StringUtils.strip(" ab c ") = "ab c"
- 
-
Parameters:
str - the String to remove whitespace from, may be null
Returns:
the stripped String, null if null String input
-
-
-
- -

-stripToNull

-
-public static String stripToNull(String str)
-
-

Strips whitespace from the start and end of a String returning - null if the String is empty ("") after the strip.

- -

This is similar to trimToNull(String) but removes whitespace. - Whitespace is defined by Character.isWhitespace(char).

- -
- StringUtils.stripToNull(null)     = null
- StringUtils.stripToNull("")       = null
- StringUtils.stripToNull("   ")    = null
- StringUtils.stripToNull("abc")    = "abc"
- StringUtils.stripToNull("  abc")  = "abc"
- StringUtils.stripToNull("abc  ")  = "abc"
- StringUtils.stripToNull(" abc ")  = "abc"
- StringUtils.stripToNull(" ab c ") = "ab c"
- 
-
Parameters:
str - the String to be stripped, may be null
Returns:
the stripped String, - null if whitespace, empty or null String input
Since:
2.0
-
-
-
-
- -

-stripToEmpty

-
-public static String stripToEmpty(String str)
-
-

Strips whitespace from the start and end of a String returning - an empty String if null input.

- -

This is similar to trimToEmpty(String) but removes whitespace. - Whitespace is defined by Character.isWhitespace(char).

- -
- StringUtils.stripToEmpty(null)     = ""
- StringUtils.stripToEmpty("")       = ""
- StringUtils.stripToEmpty("   ")    = ""
- StringUtils.stripToEmpty("abc")    = "abc"
- StringUtils.stripToEmpty("  abc")  = "abc"
- StringUtils.stripToEmpty("abc  ")  = "abc"
- StringUtils.stripToEmpty(" abc ")  = "abc"
- StringUtils.stripToEmpty(" ab c ") = "ab c"
- 
-
Parameters:
str - the String to be stripped, may be null
Returns:
the trimmed String, or an empty String if null input
Since:
2.0
-
-
-
-
- -

-strip

-
-public static String strip(String str,
-                           String stripChars)
-
-

Strips any of a set of characters from the start and end of a String. - This is similar to String.trim() but allows the characters - to be stripped to be controlled.

- -

A null input String returns null. - An empty string ("") input returns the empty string.

- -

If the stripChars String is null, whitespace is - stripped as defined by Character.isWhitespace(char). - Alternatively use strip(String).

- -
- StringUtils.strip(null, *)          = null
- StringUtils.strip("", *)            = ""
- StringUtils.strip("abc", null)      = "abc"
- StringUtils.strip("  abc", null)    = "abc"
- StringUtils.strip("abc  ", null)    = "abc"
- StringUtils.strip(" abc ", null)    = "abc"
- StringUtils.strip("  abcyx", "xyz") = "  abc"
- 
-
Parameters:
str - the String to remove characters from, may be null
stripChars - the characters to remove, null treated as whitespace
Returns:
the stripped String, null if null String input
-
-
-
- -

-stripStart

-
-public static String stripStart(String str,
-                                String stripChars)
-
-

Strips any of a set of characters from the start of a String.

- -

A null input String returns null. - An empty string ("") input returns the empty string.

- -

If the stripChars String is null, whitespace is - stripped as defined by Character.isWhitespace(char).

- -
- StringUtils.stripStart(null, *)          = null
- StringUtils.stripStart("", *)            = ""
- StringUtils.stripStart("abc", "")        = "abc"
- StringUtils.stripStart("abc", null)      = "abc"
- StringUtils.stripStart("  abc", null)    = "abc"
- StringUtils.stripStart("abc  ", null)    = "abc  "
- StringUtils.stripStart(" abc ", null)    = "abc "
- StringUtils.stripStart("yxabc  ", "xyz") = "abc  "
- 
-
Parameters:
str - the String to remove characters from, may be null
stripChars - the characters to remove, null treated as whitespace
Returns:
the stripped String, null if null String input
-
-
-
- -

-stripEnd

-
-public static String stripEnd(String str,
-                              String stripChars)
-
-

Strips any of a set of characters from the end of a String.

- -

A null input String returns null. - An empty string ("") input returns the empty string.

- -

If the stripChars String is null, whitespace is - stripped as defined by Character.isWhitespace(char).

- -
- StringUtils.stripEnd(null, *)          = null
- StringUtils.stripEnd("", *)            = ""
- StringUtils.stripEnd("abc", "")        = "abc"
- StringUtils.stripEnd("abc", null)      = "abc"
- StringUtils.stripEnd("  abc", null)    = "  abc"
- StringUtils.stripEnd("abc  ", null)    = "abc"
- StringUtils.stripEnd(" abc ", null)    = " abc"
- StringUtils.stripEnd("  abcyx", "xyz") = "  abc"
- 
-
Parameters:
str - the String to remove characters from, may be null
stripChars - the characters to remove, null treated as whitespace
Returns:
the stripped String, null if null String input
-
-
-
- -

-stripAll

-
-public static String[] stripAll(String[] strs)
-
-

Strips whitespace from the start and end of every String in an array. - Whitespace is defined by Character.isWhitespace(char).

- -

A new array is returned each time, except for length zero. - A null array will return null. - An empty array will return itself. - A null array entry will be ignored.

- -
- StringUtils.stripAll(null)             = null
- StringUtils.stripAll([])               = []
- StringUtils.stripAll(["abc", "  abc"]) = ["abc", "abc"]
- StringUtils.stripAll(["abc  ", null])  = ["abc", null]
- 
-
Parameters:
strs - the array to remove whitespace from, may be null
Returns:
the stripped Strings, null if null array input
-
-
-
- -

-stripAll

-
-public static String[] stripAll(String[] strs,
-                                String stripChars)
-
-

Strips any of a set of characters from the start and end of every - String in an array.

- Whitespace is defined by Character.isWhitespace(char).

- -

A new array is returned each time, except for length zero. - A null array will return null. - An empty array will return itself. - A null array entry will be ignored. - A null stripChars will strip whitespace as defined by - Character.isWhitespace(char).

- -
- StringUtils.stripAll(null, *)                = null
- StringUtils.stripAll([], *)                  = []
- StringUtils.stripAll(["abc", "  abc"], null) = ["abc", "abc"]
- StringUtils.stripAll(["abc  ", null], null)  = ["abc", null]
- StringUtils.stripAll(["abc  ", null], "yz")  = ["abc  ", null]
- StringUtils.stripAll(["yabcz", null], "yz")  = ["abc", null]
- 
-
Parameters:
strs - the array to remove characters from, may be null
stripChars - the characters to remove, null treated as whitespace
Returns:
the stripped Strings, null if null array input
-
-
-
- -

-equals

-
-public static boolean equals(String str1,
-                             String str2)
-
-

Compares two Strings, returning true if they are equal.

- -

nulls are handled without exceptions. Two null - references are considered to be equal. The comparison is case sensitive.

- -
- StringUtils.equals(null, null)   = true
- StringUtils.equals(null, "abc")  = false
- StringUtils.equals("abc", null)  = false
- StringUtils.equals("abc", "abc") = true
- StringUtils.equals("abc", "ABC") = false
- 
-
Parameters:
str1 - the first String, may be null
str2 - the second String, may be null
Returns:
true if the Strings are equal, case sensitive, or - both null
See Also:
String.equals(Object)
-
-
-
- -

-equalsIgnoreCase

-
-public static boolean equalsIgnoreCase(String str1,
-                                       String str2)
-
-

Compares two Strings, returning true if they are equal ignoring - the case.

- -

nulls are handled without exceptions. Two null - references are considered equal. Comparison is case insensitive.

- -
- StringUtils.equalsIgnoreCase(null, null)   = true
- StringUtils.equalsIgnoreCase(null, "abc")  = false
- StringUtils.equalsIgnoreCase("abc", null)  = false
- StringUtils.equalsIgnoreCase("abc", "abc") = true
- StringUtils.equalsIgnoreCase("abc", "ABC") = true
- 
-
Parameters:
str1 - the first String, may be null
str2 - the second String, may be null
Returns:
true if the Strings are equal, case insensitive, or - both null
See Also:
String.equalsIgnoreCase(String)
-
-
-
- -

-indexOf

-
-public static int indexOf(String str,
-                          char searchChar)
-
-

Finds the first index within a String, handling null. - This method uses String.indexOf(int).

- -

A null or empty ("") String will return -1.

- -
- StringUtils.indexOf(null, *)         = -1
- StringUtils.indexOf("", *)           = -1
- StringUtils.indexOf("aabaabaa", 'a') = 0
- StringUtils.indexOf("aabaabaa", 'b') = 2
- 
-
Parameters:
str - the String to check, may be null
searchChar - the character to find
Returns:
the first index of the search character, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-indexOf

-
-public static int indexOf(String str,
-                          char searchChar,
-                          int startPos)
-
-

Finds the first index within a String from a start position, - handling null. - This method uses String.indexOf(int, int).

- -

A null or empty ("") String will return -1. - A negative start position is treated as zero. - A start position greater than the string length returns -1.

- -
- StringUtils.indexOf(null, *, *)          = -1
- StringUtils.indexOf("", *, *)            = -1
- StringUtils.indexOf("aabaabaa", 'b', 0)  = 2
- StringUtils.indexOf("aabaabaa", 'b', 3)  = 5
- StringUtils.indexOf("aabaabaa", 'b', 9)  = -1
- StringUtils.indexOf("aabaabaa", 'b', -1) = 2
- 
-
Parameters:
str - the String to check, may be null
searchChar - the character to find
startPos - the start position, negative treated as zero
Returns:
the first index of the search character, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-indexOf

-
-public static int indexOf(String str,
-                          String searchStr)
-
-

Finds the first index within a String, handling null. - This method uses String.indexOf(String).

- -

A null String will return -1.

- -
- StringUtils.indexOf(null, *)          = -1
- StringUtils.indexOf(*, null)          = -1
- StringUtils.indexOf("", "")           = 0
- StringUtils.indexOf("aabaabaa", "a")  = 0
- StringUtils.indexOf("aabaabaa", "b")  = 2
- StringUtils.indexOf("aabaabaa", "ab") = 1
- StringUtils.indexOf("aabaabaa", "")   = 0
- 
-
Parameters:
str - the String to check, may be null
searchStr - the String to find, may be null
Returns:
the first index of the search String, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-ordinalIndexOf

-
-public static int ordinalIndexOf(String str,
-                                 String searchStr,
-                                 int ordinal)
-
-

Finds the n-th index within a String, handling null. - This method uses String.indexOf(String).

- -

A null String will return -1.

- -
- StringUtils.ordinalIndexOf(null, *, *)          = -1
- StringUtils.ordinalIndexOf(*, null, *)          = -1
- StringUtils.ordinalIndexOf("", "", *)           = 0
- StringUtils.ordinalIndexOf("aabaabaa", "a", 1)  = 0
- StringUtils.ordinalIndexOf("aabaabaa", "a", 2)  = 1
- StringUtils.ordinalIndexOf("aabaabaa", "b", 1)  = 2
- StringUtils.ordinalIndexOf("aabaabaa", "b", 2)  = 5
- StringUtils.ordinalIndexOf("aabaabaa", "ab", 1) = 1
- StringUtils.ordinalIndexOf("aabaabaa", "ab", 2) = 4
- StringUtils.ordinalIndexOf("aabaabaa", "", 1)   = 0
- StringUtils.ordinalIndexOf("aabaabaa", "", 2)   = 0
- 
-
Parameters:
str - the String to check, may be null
searchStr - the String to find, may be null
ordinal - the n-th searchStr to find
Returns:
the n-th index of the search String, - -1 (INDEX_NOT_FOUND) if no match or null string input
Since:
2.1
-
-
-
-
- -

-indexOf

-
-public static int indexOf(String str,
-                          String searchStr,
-                          int startPos)
-
-

Finds the first index within a String, handling null. - This method uses String.indexOf(String, int).

- -

A null String will return -1. - A negative start position is treated as zero. - An empty ("") search String always matches. - A start position greater than the string length only matches - an empty search String.

- -
- StringUtils.indexOf(null, *, *)          = -1
- StringUtils.indexOf(*, null, *)          = -1
- StringUtils.indexOf("", "", 0)           = 0
- StringUtils.indexOf("aabaabaa", "a", 0)  = 0
- StringUtils.indexOf("aabaabaa", "b", 0)  = 2
- StringUtils.indexOf("aabaabaa", "ab", 0) = 1
- StringUtils.indexOf("aabaabaa", "b", 3)  = 5
- StringUtils.indexOf("aabaabaa", "b", 9)  = -1
- StringUtils.indexOf("aabaabaa", "b", -1) = 2
- StringUtils.indexOf("aabaabaa", "", 2)   = 2
- StringUtils.indexOf("abc", "", 9)        = 3
- 
-
Parameters:
str - the String to check, may be null
searchStr - the String to find, may be null
startPos - the start position, negative treated as zero
Returns:
the first index of the search String, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(String str,
-                              char searchChar)
-
-

Finds the last index within a String, handling null. - This method uses String.lastIndexOf(int).

- -

A null or empty ("") String will return -1.

- -
- StringUtils.lastIndexOf(null, *)         = -1
- StringUtils.lastIndexOf("", *)           = -1
- StringUtils.lastIndexOf("aabaabaa", 'a') = 7
- StringUtils.lastIndexOf("aabaabaa", 'b') = 5
- 
-
Parameters:
str - the String to check, may be null
searchChar - the character to find
Returns:
the last index of the search character, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(String str,
-                              char searchChar,
-                              int startPos)
-
-

Finds the last index within a String from a start position, - handling null. - This method uses String.lastIndexOf(int, int).

- -

A null or empty ("") String will return -1. - A negative start position returns -1. - A start position greater than the string length searches the whole string.

- -
- StringUtils.lastIndexOf(null, *, *)          = -1
- StringUtils.lastIndexOf("", *,  *)           = -1
- StringUtils.lastIndexOf("aabaabaa", 'b', 8)  = 5
- StringUtils.lastIndexOf("aabaabaa", 'b', 4)  = 2
- StringUtils.lastIndexOf("aabaabaa", 'b', 0)  = -1
- StringUtils.lastIndexOf("aabaabaa", 'b', 9)  = 5
- StringUtils.lastIndexOf("aabaabaa", 'b', -1) = -1
- StringUtils.lastIndexOf("aabaabaa", 'a', 0)  = 0
- 
-
Parameters:
str - the String to check, may be null
searchChar - the character to find
startPos - the start position
Returns:
the last index of the search character, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(String str,
-                              String searchStr)
-
-

Finds the last index within a String, handling null. - This method uses String.lastIndexOf(String).

- -

A null String will return -1.

- -
- StringUtils.lastIndexOf(null, *)          = -1
- StringUtils.lastIndexOf(*, null)          = -1
- StringUtils.lastIndexOf("", "")           = 0
- StringUtils.lastIndexOf("aabaabaa", "a")  = 0
- StringUtils.lastIndexOf("aabaabaa", "b")  = 2
- StringUtils.lastIndexOf("aabaabaa", "ab") = 1
- StringUtils.lastIndexOf("aabaabaa", "")   = 8
- 
-
Parameters:
str - the String to check, may be null
searchStr - the String to find, may be null
Returns:
the last index of the search String, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-lastIndexOf

-
-public static int lastIndexOf(String str,
-                              String searchStr,
-                              int startPos)
-
-

Finds the first index within a String, handling null. - This method uses String.lastIndexOf(String, int).

- -

A null String will return -1. - A negative start position returns -1. - An empty ("") search String always matches unless the start position is negative. - A start position greater than the string length searches the whole string.

- -
- StringUtils.lastIndexOf(null, *, *)          = -1
- StringUtils.lastIndexOf(*, null, *)          = -1
- StringUtils.lastIndexOf("aabaabaa", "a", 8)  = 7
- StringUtils.lastIndexOf("aabaabaa", "b", 8)  = 5
- StringUtils.lastIndexOf("aabaabaa", "ab", 8) = 4
- StringUtils.lastIndexOf("aabaabaa", "b", 9)  = 5
- StringUtils.lastIndexOf("aabaabaa", "b", -1) = -1
- StringUtils.lastIndexOf("aabaabaa", "a", 0)  = 0
- StringUtils.lastIndexOf("aabaabaa", "b", 0)  = -1
- 
-
Parameters:
str - the String to check, may be null
searchStr - the String to find, may be null
startPos - the start position, negative treated as zero
Returns:
the first index of the search String, - -1 if no match or null string input
Since:
2.0
-
-
-
-
- -

-contains

-
-public static boolean contains(String str,
-                               char searchChar)
-
-

Checks if String contains a search character, handling null. - This method uses String.indexOf(int).

- -

A null or empty ("") String will return false.

- -
- StringUtils.contains(null, *)    = false
- StringUtils.contains("", *)      = false
- StringUtils.contains("abc", 'a') = true
- StringUtils.contains("abc", 'z') = false
- 
-
Parameters:
str - the String to check, may be null
searchChar - the character to find
Returns:
true if the String contains the search character, - false if not or null string input
Since:
2.0
-
-
-
-
- -

-contains

-
-public static boolean contains(String str,
-                               String searchStr)
-
-

Checks if String contains a search String, handling null. - This method uses String.indexOf(String).

- -

A null String will return false.

- -
- StringUtils.contains(null, *)     = false
- StringUtils.contains(*, null)     = false
- StringUtils.contains("", "")      = true
- StringUtils.contains("abc", "")   = true
- StringUtils.contains("abc", "a")  = true
- StringUtils.contains("abc", "z")  = false
- 
-
Parameters:
str - the String to check, may be null
searchStr - the String to find, may be null
Returns:
true if the String contains the search String, - false if not or null string input
Since:
2.0
-
-
-
-
- -

-containsIgnoreCase

-
-public static boolean containsIgnoreCase(String str,
-                                         String searchStr)
-
-

Checks if String contains a search String irrespective of case, - handling null. This method uses - contains(String, String).

- -

A null String will return false.

- -
- StringUtils.contains(null, *) = false
- StringUtils.contains(*, null) = false
- StringUtils.contains("", "") = true
- StringUtils.contains("abc", "") = true
- StringUtils.contains("abc", "a") = true
- StringUtils.contains("abc", "z") = false
- StringUtils.contains("abc", "A") = true
- StringUtils.contains("abc", "Z") = false
- 
-
Parameters:
str - the String to check, may be null
searchStr - the String to find, may be null
Returns:
true if the String contains the search String irrespective of - case or false if not or null string input
-
-
-
- -

-indexOfAny

-
-public static int indexOfAny(String str,
-                             char[] searchChars)
-
-

Search a String to find the first index of any - character in the given set of characters.

- -

A null String will return -1. - A null or zero length search array will return -1.

- -
- StringUtils.indexOfAny(null, *)                = -1
- StringUtils.indexOfAny("", *)                  = -1
- StringUtils.indexOfAny(*, null)                = -1
- StringUtils.indexOfAny(*, [])                  = -1
- StringUtils.indexOfAny("zzabyycdxx",['z','a']) = 0
- StringUtils.indexOfAny("zzabyycdxx",['b','y']) = 3
- StringUtils.indexOfAny("aba", ['z'])           = -1
- 
-
Parameters:
str - the String to check, may be null
searchChars - the chars to search for, may be null
Returns:
the index of any of the chars, -1 if no match or null input
Since:
2.0
-
-
-
-
- -

-indexOfAny

-
-public static int indexOfAny(String str,
-                             String searchChars)
-
-

Search a String to find the first index of any - character in the given set of characters.

- -

A null String will return -1. - A null search string will return -1.

- -
- StringUtils.indexOfAny(null, *)            = -1
- StringUtils.indexOfAny("", *)              = -1
- StringUtils.indexOfAny(*, null)            = -1
- StringUtils.indexOfAny(*, "")              = -1
- StringUtils.indexOfAny("zzabyycdxx", "za") = 0
- StringUtils.indexOfAny("zzabyycdxx", "by") = 3
- StringUtils.indexOfAny("aba","z")          = -1
- 
-
Parameters:
str - the String to check, may be null
searchChars - the chars to search for, may be null
Returns:
the index of any of the chars, -1 if no match or null input
Since:
2.0
-
-
-
-
- -

-indexOfAnyBut

-
-public static int indexOfAnyBut(String str,
-                                char[] searchChars)
-
-

Search a String to find the first index of any - character not in the given set of characters.

- -

A null String will return -1. - A null or zero length search array will return -1.

- -
- StringUtils.indexOfAnyBut(null, *)           = -1
- StringUtils.indexOfAnyBut("", *)             = -1
- StringUtils.indexOfAnyBut(*, null)           = -1
- StringUtils.indexOfAnyBut(*, [])             = -1
- StringUtils.indexOfAnyBut("zzabyycdxx",'za') = 3
- StringUtils.indexOfAnyBut("zzabyycdxx", '')  = 0
- StringUtils.indexOfAnyBut("aba", 'ab')       = -1
- 
-
Parameters:
str - the String to check, may be null
searchChars - the chars to search for, may be null
Returns:
the index of any of the chars, -1 if no match or null input
Since:
2.0
-
-
-
-
- -

-indexOfAnyBut

-
-public static int indexOfAnyBut(String str,
-                                String searchChars)
-
-

Search a String to find the first index of any - character not in the given set of characters.

- -

A null String will return -1. - A null search string will return -1.

- -
- StringUtils.indexOfAnyBut(null, *)            = -1
- StringUtils.indexOfAnyBut("", *)              = -1
- StringUtils.indexOfAnyBut(*, null)            = -1
- StringUtils.indexOfAnyBut(*, "")              = -1
- StringUtils.indexOfAnyBut("zzabyycdxx", "za") = 3
- StringUtils.indexOfAnyBut("zzabyycdxx", "")   = 0
- StringUtils.indexOfAnyBut("aba","ab")         = -1
- 
-
Parameters:
str - the String to check, may be null
searchChars - the chars to search for, may be null
Returns:
the index of any of the chars, -1 if no match or null input
Since:
2.0
-
-
-
-
- -

-containsOnly

-
-public static boolean containsOnly(String str,
-                                   char[] valid)
-
-

Checks if the String contains only certain characters.

- -

A null String will return false. - A null valid character array will return false. - An empty String ("") always returns true.

- -
- StringUtils.containsOnly(null, *)       = false
- StringUtils.containsOnly(*, null)       = false
- StringUtils.containsOnly("", *)         = true
- StringUtils.containsOnly("ab", '')      = false
- StringUtils.containsOnly("abab", 'abc') = true
- StringUtils.containsOnly("ab1", 'abc')  = false
- StringUtils.containsOnly("abz", 'abc')  = false
- 
-
Parameters:
str - the String to check, may be null
valid - an array of valid chars, may be null
Returns:
true if it only contains valid chars and is non-null
-
-
-
- -

-containsOnly

-
-public static boolean containsOnly(String str,
-                                   String validChars)
-
-

Checks if the String contains only certain characters.

- -

A null String will return false. - A null valid character String will return false. - An empty String ("") always returns true.

- -
- StringUtils.containsOnly(null, *)       = false
- StringUtils.containsOnly(*, null)       = false
- StringUtils.containsOnly("", *)         = true
- StringUtils.containsOnly("ab", "")      = false
- StringUtils.containsOnly("abab", "abc") = true
- StringUtils.containsOnly("ab1", "abc")  = false
- StringUtils.containsOnly("abz", "abc")  = false
- 
-
Parameters:
str - the String to check, may be null
validChars - a String of valid chars, may be null
Returns:
true if it only contains valid chars and is non-null
Since:
2.0
-
-
-
-
- -

-containsNone

-
-public static boolean containsNone(String str,
-                                   char[] invalidChars)
-
-

Checks that the String does not contain certain characters.

- -

A null String will return true. - A null invalid character array will return true. - An empty String ("") always returns true.

- -
- StringUtils.containsNone(null, *)       = true
- StringUtils.containsNone(*, null)       = true
- StringUtils.containsNone("", *)         = true
- StringUtils.containsNone("ab", '')      = true
- StringUtils.containsNone("abab", 'xyz') = true
- StringUtils.containsNone("ab1", 'xyz')  = true
- StringUtils.containsNone("abz", 'xyz')  = false
- 
-
Parameters:
str - the String to check, may be null
invalidChars - an array of invalid chars, may be null
Returns:
true if it contains none of the invalid chars, or is null
Since:
2.0
-
-
-
-
- -

-containsNone

-
-public static boolean containsNone(String str,
-                                   String invalidChars)
-
-

Checks that the String does not contain certain characters.

- -

A null String will return true. - A null invalid character array will return true. - An empty String ("") always returns true.

- -
- StringUtils.containsNone(null, *)       = true
- StringUtils.containsNone(*, null)       = true
- StringUtils.containsNone("", *)         = true
- StringUtils.containsNone("ab", "")      = true
- StringUtils.containsNone("abab", "xyz") = true
- StringUtils.containsNone("ab1", "xyz")  = true
- StringUtils.containsNone("abz", "xyz")  = false
- 
-
Parameters:
str - the String to check, may be null
invalidChars - a String of invalid chars, may be null
Returns:
true if it contains none of the invalid chars, or is null
Since:
2.0
-
-
-
-
- -

-indexOfAny

-
-public static int indexOfAny(String str,
-                             String[] searchStrs)
-
-

Find the first index of any of a set of potential substrings.

- -

A null String will return -1. - A null or zero length search array will return -1. - A null search array entry will be ignored, but a search - array containing "" will return 0 if str is not - null. This method uses String.indexOf(String).

- -
- StringUtils.indexOfAny(null, *)                     = -1
- StringUtils.indexOfAny(*, null)                     = -1
- StringUtils.indexOfAny(*, [])                       = -1
- StringUtils.indexOfAny("zzabyycdxx", ["ab","cd"])   = 2
- StringUtils.indexOfAny("zzabyycdxx", ["cd","ab"])   = 2
- StringUtils.indexOfAny("zzabyycdxx", ["mn","op"])   = -1
- StringUtils.indexOfAny("zzabyycdxx", ["zab","aby"]) = 1
- StringUtils.indexOfAny("zzabyycdxx", [""])          = 0
- StringUtils.indexOfAny("", [""])                    = 0
- StringUtils.indexOfAny("", ["a"])                   = -1
- 
-
Parameters:
str - the String to check, may be null
searchStrs - the Strings to search for, may be null
Returns:
the first index of any of the searchStrs in str, -1 if no match
-
-
-
- -

-lastIndexOfAny

-
-public static int lastIndexOfAny(String str,
-                                 String[] searchStrs)
-
-

Find the latest index of any of a set of potential substrings.

- -

A null String will return -1. - A null search array will return -1. - A null or zero length search array entry will be ignored, - but a search array containing "" will return the length of str - if str is not null. This method uses String.indexOf(String)

- -
- StringUtils.lastIndexOfAny(null, *)                   = -1
- StringUtils.lastIndexOfAny(*, null)                   = -1
- StringUtils.lastIndexOfAny(*, [])                     = -1
- StringUtils.lastIndexOfAny(*, [null])                 = -1
- StringUtils.lastIndexOfAny("zzabyycdxx", ["ab","cd"]) = 6
- StringUtils.lastIndexOfAny("zzabyycdxx", ["cd","ab"]) = 6
- StringUtils.lastIndexOfAny("zzabyycdxx", ["mn","op"]) = -1
- StringUtils.lastIndexOfAny("zzabyycdxx", ["mn","op"]) = -1
- StringUtils.lastIndexOfAny("zzabyycdxx", ["mn",""])   = 10
- 
-
Parameters:
str - the String to check, may be null
searchStrs - the Strings to search for, may be null
Returns:
the last index of any of the Strings, -1 if no match
-
-
-
- -

-substring

-
-public static String substring(String str,
-                               int start)
-
-

Gets a substring from the specified String avoiding exceptions.

- -

A negative start position can be used to start n - characters from the end of the String.

- -

A null String will return null. - An empty ("") String will return "".

- -
- StringUtils.substring(null, *)   = null
- StringUtils.substring("", *)     = ""
- StringUtils.substring("abc", 0)  = "abc"
- StringUtils.substring("abc", 2)  = "c"
- StringUtils.substring("abc", 4)  = ""
- StringUtils.substring("abc", -2) = "bc"
- StringUtils.substring("abc", -4) = "abc"
- 
-
Parameters:
str - the String to get the substring from, may be null
start - the position to start from, negative means - count back from the end of the String by this many characters
Returns:
substring from start position, null if null String input
-
-
-
- -

-substring

-
-public static String substring(String str,
-                               int start,
-                               int end)
-
-

Gets a substring from the specified String avoiding exceptions.

- -

A negative start position can be used to start/end n - characters from the end of the String.

- -

The returned substring starts with the character in the start - position and ends before the end position. All position counting is - zero-based -- i.e., to start at the beginning of the string use - start = 0. Negative start and end positions can be used to - specify offsets relative to the end of the String.

- -

If start is not strictly to the left of end, "" - is returned.

- -
- StringUtils.substring(null, *, *)    = null
- StringUtils.substring("", * ,  *)    = "";
- StringUtils.substring("abc", 0, 2)   = "ab"
- StringUtils.substring("abc", 2, 0)   = ""
- StringUtils.substring("abc", 2, 4)   = "c"
- StringUtils.substring("abc", 4, 6)   = ""
- StringUtils.substring("abc", 2, 2)   = ""
- StringUtils.substring("abc", -2, -1) = "b"
- StringUtils.substring("abc", -4, 2)  = "ab"
- 
-
Parameters:
str - the String to get the substring from, may be null
start - the position to start from, negative means - count back from the end of the String by this many characters
end - the position to end at (exclusive), negative means - count back from the end of the String by this many characters
Returns:
substring from start position to end positon, - null if null String input
-
-
-
- -

-left

-
-public static String left(String str,
-                          int len)
-
-

Gets the leftmost len characters of a String.

- -

If len characters are not available, or the - String is null, the String will be returned without - an exception. An exception is thrown if len is negative.

- -
- StringUtils.left(null, *)    = null
- StringUtils.left(*, -ve)     = ""
- StringUtils.left("", *)      = ""
- StringUtils.left("abc", 0)   = ""
- StringUtils.left("abc", 2)   = "ab"
- StringUtils.left("abc", 4)   = "abc"
- 
-
Parameters:
str - the String to get the leftmost characters from, may be null
len - the length of the required String, must be zero or positive
Returns:
the leftmost characters, null if null String input
-
-
-
- -

-right

-
-public static String right(String str,
-                           int len)
-
-

Gets the rightmost len characters of a String.

- -

If len characters are not available, or the String - is null, the String will be returned without an - an exception. An exception is thrown if len is negative.

- -
- StringUtils.right(null, *)    = null
- StringUtils.right(*, -ve)     = ""
- StringUtils.right("", *)      = ""
- StringUtils.right("abc", 0)   = ""
- StringUtils.right("abc", 2)   = "bc"
- StringUtils.right("abc", 4)   = "abc"
- 
-
Parameters:
str - the String to get the rightmost characters from, may be null
len - the length of the required String, must be zero or positive
Returns:
the rightmost characters, null if null String input
-
-
-
- -

-mid

-
-public static String mid(String str,
-                         int pos,
-                         int len)
-
-

Gets len characters from the middle of a String.

- -

If len characters are not available, the remainder - of the String will be returned without an exception. If the - String is null, null will be returned. - An exception is thrown if len is negative.

- -
- StringUtils.mid(null, *, *)    = null
- StringUtils.mid(*, *, -ve)     = ""
- StringUtils.mid("", 0, *)      = ""
- StringUtils.mid("abc", 0, 2)   = "ab"
- StringUtils.mid("abc", 0, 4)   = "abc"
- StringUtils.mid("abc", 2, 4)   = "c"
- StringUtils.mid("abc", 4, 2)   = ""
- StringUtils.mid("abc", -2, 2)  = "ab"
- 
-
Parameters:
str - the String to get the characters from, may be null
pos - the position to start from, negative treated as zero
len - the length of the required String, must be zero or positive
Returns:
the middle characters, null if null String input
-
-
-
- -

-substringBefore

-
-public static String substringBefore(String str,
-                                     String separator)
-
-

Gets the substring before the first occurrence of a separator. - The separator is not returned.

- -

A null string input will return null. - An empty ("") string input will return the empty string. - A null separator will return the input string.

- -
- StringUtils.substringBefore(null, *)      = null
- StringUtils.substringBefore("", *)        = ""
- StringUtils.substringBefore("abc", "a")   = ""
- StringUtils.substringBefore("abcba", "b") = "a"
- StringUtils.substringBefore("abc", "c")   = "ab"
- StringUtils.substringBefore("abc", "d")   = "abc"
- StringUtils.substringBefore("abc", "")    = ""
- StringUtils.substringBefore("abc", null)  = "abc"
- 
-
Parameters:
str - the String to get a substring from, may be null
separator - the String to search for, may be null
Returns:
the substring before the first occurrence of the separator, - null if null String input
Since:
2.0
-
-
-
-
- -

-substringAfter

-
-public static String substringAfter(String str,
-                                    String separator)
-
-

Gets the substring after the first occurrence of a separator. - The separator is not returned.

- -

A null string input will return null. - An empty ("") string input will return the empty string. - A null separator will return the empty string if the - input string is not null.

- -
- StringUtils.substringAfter(null, *)      = null
- StringUtils.substringAfter("", *)        = ""
- StringUtils.substringAfter(*, null)      = ""
- StringUtils.substringAfter("abc", "a")   = "bc"
- StringUtils.substringAfter("abcba", "b") = "cba"
- StringUtils.substringAfter("abc", "c")   = ""
- StringUtils.substringAfter("abc", "d")   = ""
- StringUtils.substringAfter("abc", "")    = "abc"
- 
-
Parameters:
str - the String to get a substring from, may be null
separator - the String to search for, may be null
Returns:
the substring after the first occurrence of the separator, - null if null String input
Since:
2.0
-
-
-
-
- -

-substringBeforeLast

-
-public static String substringBeforeLast(String str,
-                                         String separator)
-
-

Gets the substring before the last occurrence of a separator. - The separator is not returned.

- -

A null string input will return null. - An empty ("") string input will return the empty string. - An empty or null separator will return the input string.

- -
- StringUtils.substringBeforeLast(null, *)      = null
- StringUtils.substringBeforeLast("", *)        = ""
- StringUtils.substringBeforeLast("abcba", "b") = "abc"
- StringUtils.substringBeforeLast("abc", "c")   = "ab"
- StringUtils.substringBeforeLast("a", "a")     = ""
- StringUtils.substringBeforeLast("a", "z")     = "a"
- StringUtils.substringBeforeLast("a", null)    = "a"
- StringUtils.substringBeforeLast("a", "")      = "a"
- 
-
Parameters:
str - the String to get a substring from, may be null
separator - the String to search for, may be null
Returns:
the substring before the last occurrence of the separator, - null if null String input
Since:
2.0
-
-
-
-
- -

-substringAfterLast

-
-public static String substringAfterLast(String str,
-                                        String separator)
-
-

Gets the substring after the last occurrence of a separator. - The separator is not returned.

- -

A null string input will return null. - An empty ("") string input will return the empty string. - An empty or null separator will return the empty string if - the input string is not null.

- -
- StringUtils.substringAfterLast(null, *)      = null
- StringUtils.substringAfterLast("", *)        = ""
- StringUtils.substringAfterLast(*, "")        = ""
- StringUtils.substringAfterLast(*, null)      = ""
- StringUtils.substringAfterLast("abc", "a")   = "bc"
- StringUtils.substringAfterLast("abcba", "b") = "a"
- StringUtils.substringAfterLast("abc", "c")   = ""
- StringUtils.substringAfterLast("a", "a")     = ""
- StringUtils.substringAfterLast("a", "z")     = ""
- 
-
Parameters:
str - the String to get a substring from, may be null
separator - the String to search for, may be null
Returns:
the substring after the last occurrence of the separator, - null if null String input
Since:
2.0
-
-
-
-
- -

-substringBetween

-
-public static String substringBetween(String str,
-                                      String tag)
-
-

Gets the String that is nested in between two instances of the - same String.

- -

A null input String returns null. - A null tag returns null.

- -
- StringUtils.substringBetween(null, *)            = null
- StringUtils.substringBetween("", "")             = ""
- StringUtils.substringBetween("", "tag")          = null
- StringUtils.substringBetween("tagabctag", null)  = null
- StringUtils.substringBetween("tagabctag", "")    = ""
- StringUtils.substringBetween("tagabctag", "tag") = "abc"
- 
-
Parameters:
str - the String containing the substring, may be null
tag - the String before and after the substring, may be null
Returns:
the substring, null if no match
Since:
2.0
-
-
-
-
- -

-substringBetween

-
-public static String substringBetween(String str,
-                                      String open,
-                                      String close)
-
-

Gets the String that is nested in between two Strings. - Only the first match is returned.

- -

A null input String returns null. - A null open/close returns null (no match). - An empty ("") open and close returns an empty string.

- -
- StringUtils.substringBetween("wx[b]yz", "[", "]") = "b"
- StringUtils.substringBetween(null, *, *)          = null
- StringUtils.substringBetween(*, null, *)          = null
- StringUtils.substringBetween(*, *, null)          = null
- StringUtils.substringBetween("", "", "")          = ""
- StringUtils.substringBetween("", "", "]")         = null
- StringUtils.substringBetween("", "[", "]")        = null
- StringUtils.substringBetween("yabcz", "", "")     = ""
- StringUtils.substringBetween("yabcz", "y", "z")   = "abc"
- StringUtils.substringBetween("yabczyabcz", "y", "z")   = "abc"
- 
-
Parameters:
str - the String containing the substring, may be null
open - the String before the substring, may be null
close - the String after the substring, may be null
Returns:
the substring, null if no match
Since:
2.0
-
-
-
-
- -

-substringsBetween

-
-public static String[] substringsBetween(String str,
-                                         String open,
-                                         String close)
-
-

Searches a String for substrings delimited by a start and end tag, - returning all matching substrings in an array.

- -

A null input String returns null. - A null open/close returns null (no match). - An empty ("") open/close returns null (no match).

- -
- StringUtils.substringsBetween("[a][b][c]", "[", "]") = ["a","b","c"]
- StringUtils.substringsBetween(null, *, *)            = null
- StringUtils.substringsBetween(*, null, *)            = null
- StringUtils.substringsBetween(*, *, null)            = null
- StringUtils.substringsBetween("", "[", "]")          = []
- 
-
Parameters:
str - the String containing the substrings, null returns null, empty returns empty
open - the String identifying the start of the substring, empty returns null
close - the String identifying the end of the substring, empty returns null
Returns:
a String Array of substrings, or null if no match
Since:
2.3
-
-
-
-
- -

-getNestedString

-
-public static String getNestedString(String str,
-                                     String tag)
-
-
Deprecated. Use the better named substringBetween(String, String). - Method will be removed in Commons Lang 3.0. -

-

Gets the String that is nested in between two instances of the - same String.

- -

A null input String returns null. - A null tag returns null.

- -
- StringUtils.getNestedString(null, *)            = null
- StringUtils.getNestedString("", "")             = ""
- StringUtils.getNestedString("", "tag")          = null
- StringUtils.getNestedString("tagabctag", null)  = null
- StringUtils.getNestedString("tagabctag", "")    = ""
- StringUtils.getNestedString("tagabctag", "tag") = "abc"
- 
-
Parameters:
str - the String containing nested-string, may be null
tag - the String before and after nested-string, may be null
Returns:
the nested String, null if no match
-
-
-
- -

-getNestedString

-
-public static String getNestedString(String str,
-                                     String open,
-                                     String close)
-
-
Deprecated. Use the better named substringBetween(String, String, String). - Method will be removed in Commons Lang 3.0. -

-

Gets the String that is nested in between two Strings. - Only the first match is returned.

- -

A null input String returns null. - A null open/close returns null (no match). - An empty ("") open/close returns an empty string.

- -
- StringUtils.getNestedString(null, *, *)          = null
- StringUtils.getNestedString("", "", "")          = ""
- StringUtils.getNestedString("", "", "tag")       = null
- StringUtils.getNestedString("", "tag", "tag")    = null
- StringUtils.getNestedString("yabcz", null, null) = null
- StringUtils.getNestedString("yabcz", "", "")     = ""
- StringUtils.getNestedString("yabcz", "y", "z")   = "abc"
- StringUtils.getNestedString("yabczyabcz", "y", "z")   = "abc"
- 
-
Parameters:
str - the String containing nested-string, may be null
open - the String before nested-string, may be null
close - the String after nested-string, may be null
Returns:
the nested String, null if no match
-
-
-
- -

-split

-
-public static String[] split(String str)
-
-

Splits the provided text into an array, using whitespace as the - separator. - Whitespace is defined by Character.isWhitespace(char).

- -

The separator is not included in the returned String array. - Adjacent separators are treated as one separator. - For more control over the split use the StrTokenizer class.

- -

A null input String returns null.

- -
- StringUtils.split(null)       = null
- StringUtils.split("")         = []
- StringUtils.split("abc def")  = ["abc", "def"]
- StringUtils.split("abc  def") = ["abc", "def"]
- StringUtils.split(" abc ")    = ["abc"]
- 
-
Parameters:
str - the String to parse, may be null
Returns:
an array of parsed Strings, null if null String input
-
-
-
- -

-split

-
-public static String[] split(String str,
-                             char separatorChar)
-
-

Splits the provided text into an array, separator specified. - This is an alternative to using StringTokenizer.

- -

The separator is not included in the returned String array. - Adjacent separators are treated as one separator. - For more control over the split use the StrTokenizer class.

- -

A null input String returns null.

- -
- StringUtils.split(null, *)         = null
- StringUtils.split("", *)           = []
- StringUtils.split("a.b.c", '.')    = ["a", "b", "c"]
- StringUtils.split("a..b.c", '.')   = ["a", "b", "c"]
- StringUtils.split("a:b:c", '.')    = ["a:b:c"]
- StringUtils.split("a\tb\nc", null) = ["a", "b", "c"]
- StringUtils.split("a b c", ' ')    = ["a", "b", "c"]
- 
-
Parameters:
str - the String to parse, may be null
separatorChar - the character used as the delimiter, - null splits on whitespace
Returns:
an array of parsed Strings, null if null String input
Since:
2.0
-
-
-
-
- -

-split

-
-public static String[] split(String str,
-                             String separatorChars)
-
-

Splits the provided text into an array, separators specified. - This is an alternative to using StringTokenizer.

- -

The separator is not included in the returned String array. - Adjacent separators are treated as one separator. - For more control over the split use the StrTokenizer class.

- -

A null input String returns null. - A null separatorChars splits on whitespace.

- -
- StringUtils.split(null, *)         = null
- StringUtils.split("", *)           = []
- StringUtils.split("abc def", null) = ["abc", "def"]
- StringUtils.split("abc def", " ")  = ["abc", "def"]
- StringUtils.split("abc  def", " ") = ["abc", "def"]
- StringUtils.split("ab:cd:ef", ":") = ["ab", "cd", "ef"]
- 
-
Parameters:
str - the String to parse, may be null
separatorChars - the characters used as the delimiters, - null splits on whitespace
Returns:
an array of parsed Strings, null if null String input
-
-
-
- -

-split

-
-public static String[] split(String str,
-                             String separatorChars,
-                             int max)
-
-

Splits the provided text into an array with a maximum length, - separators specified.

- -

The separator is not included in the returned String array. - Adjacent separators are treated as one separator.

- -

A null input String returns null. - A null separatorChars splits on whitespace.

- -

If more than max delimited substrings are found, the last - returned string includes all characters after the first max - 1 - returned strings (including separator characters).

- -
- StringUtils.split(null, *, *)            = null
- StringUtils.split("", *, *)              = []
- StringUtils.split("ab de fg", null, 0)   = ["ab", "cd", "ef"]
- StringUtils.split("ab   de fg", null, 0) = ["ab", "cd", "ef"]
- StringUtils.split("ab:cd:ef", ":", 0)    = ["ab", "cd", "ef"]
- StringUtils.split("ab:cd:ef", ":", 2)    = ["ab", "cd:ef"]
- 
-
Parameters:
str - the String to parse, may be null
separatorChars - the characters used as the delimiters, - null splits on whitespace
max - the maximum number of elements to include in the - array. A zero or negative value implies no limit
Returns:
an array of parsed Strings, null if null String input
-
-
-
- -

-splitByWholeSeparator

-
-public static String[] splitByWholeSeparator(String str,
-                                             String separator)
-
-

Splits the provided text into an array, separator string specified.

- -

The separator(s) will not be included in the returned String array. - Adjacent separators are treated as one separator.

- -

A null input String returns null. - A null separator splits on whitespace.

- -
- StringUtils.splitByWholeSeparator(null, *)               = null
- StringUtils.splitByWholeSeparator("", *)                 = []
- StringUtils.splitByWholeSeparator("ab de fg", null)      = ["ab", "de", "fg"]
- StringUtils.splitByWholeSeparator("ab   de fg", null)    = ["ab", "de", "fg"]
- StringUtils.splitByWholeSeparator("ab:cd:ef", ":")       = ["ab", "cd", "ef"]
- StringUtils.splitByWholeSeparator("ab-!-cd-!-ef", "-!-") = ["ab", "cd", "ef"]
- 
-
Parameters:
str - the String to parse, may be null
separator - String containing the String to be used as a delimiter, - null splits on whitespace
Returns:
an array of parsed Strings, null if null String was input
-
-
-
- -

-splitByWholeSeparator

-
-public static String[] splitByWholeSeparator(String str,
-                                             String separator,
-                                             int max)
-
-

Splits the provided text into an array, separator string specified. - Returns a maximum of max substrings.

- -

The separator(s) will not be included in the returned String array. - Adjacent separators are treated as one separator.

- -

A null input String returns null. - A null separator splits on whitespace.

- -
- StringUtils.splitByWholeSeparator(null, *, *)               = null
- StringUtils.splitByWholeSeparator("", *, *)                 = []
- StringUtils.splitByWholeSeparator("ab de fg", null, 0)      = ["ab", "de", "fg"]
- StringUtils.splitByWholeSeparator("ab   de fg", null, 0)    = ["ab", "de", "fg"]
- StringUtils.splitByWholeSeparator("ab:cd:ef", ":", 2)       = ["ab", "cd:ef"]
- StringUtils.splitByWholeSeparator("ab-!-cd-!-ef", "-!-", 5) = ["ab", "cd", "ef"]
- StringUtils.splitByWholeSeparator("ab-!-cd-!-ef", "-!-", 2) = ["ab", "cd-!-ef"]
- 
-
Parameters:
str - the String to parse, may be null
separator - String containing the String to be used as a delimiter, - null splits on whitespace
max - the maximum number of elements to include in the returned - array. A zero or negative value implies no limit.
Returns:
an array of parsed Strings, null if null String was input
-
-
-
- -

-splitPreserveAllTokens

-
-public static String[] splitPreserveAllTokens(String str)
-
-

Splits the provided text into an array, using whitespace as the - separator, preserving all tokens, including empty tokens created by - adjacent separators. This is an alternative to using StringTokenizer. - Whitespace is defined by Character.isWhitespace(char).

- -

The separator is not included in the returned String array. - Adjacent separators are treated as separators for empty tokens. - For more control over the split use the StrTokenizer class.

- -

A null input String returns null.

- -
- StringUtils.splitPreserveAllTokens(null)       = null
- StringUtils.splitPreserveAllTokens("")         = []
- StringUtils.splitPreserveAllTokens("abc def")  = ["abc", "def"]
- StringUtils.splitPreserveAllTokens("abc  def") = ["abc", "", "def"]
- StringUtils.splitPreserveAllTokens(" abc ")    = ["", "abc", ""]
- 
-
Parameters:
str - the String to parse, may be null
Returns:
an array of parsed Strings, null if null String input
Since:
2.1
-
-
-
-
- -

-splitPreserveAllTokens

-
-public static String[] splitPreserveAllTokens(String str,
-                                              char separatorChar)
-
-

Splits the provided text into an array, separator specified, - preserving all tokens, including empty tokens created by adjacent - separators. This is an alternative to using StringTokenizer.

- -

The separator is not included in the returned String array. - Adjacent separators are treated as separators for empty tokens. - For more control over the split use the StrTokenizer class.

- -

A null input String returns null.

- -
- StringUtils.splitPreserveAllTokens(null, *)         = null
- StringUtils.splitPreserveAllTokens("", *)           = []
- StringUtils.splitPreserveAllTokens("a.b.c", '.')    = ["a", "b", "c"]
- StringUtils.splitPreserveAllTokens("a..b.c", '.')   = ["a", "", "b", "c"]
- StringUtils.splitPreserveAllTokens("a:b:c", '.')    = ["a:b:c"]
- StringUtils.splitPreserveAllTokens("a\tb\nc", null) = ["a", "b", "c"]
- StringUtils.splitPreserveAllTokens("a b c", ' ')    = ["a", "b", "c"]
- StringUtils.splitPreserveAllTokens("a b c ", ' ')   = ["a", "b", "c", ""]
- StringUtils.splitPreserveAllTokens("a b c  ", ' ')   = ["a", "b", "c", "", ""]
- StringUtils.splitPreserveAllTokens(" a b c", ' ')   = ["", a", "b", "c"]
- StringUtils.splitPreserveAllTokens("  a b c", ' ')  = ["", "", a", "b", "c"]
- StringUtils.splitPreserveAllTokens(" a b c ", ' ')  = ["", a", "b", "c", ""]
- 
-
Parameters:
str - the String to parse, may be null
separatorChar - the character used as the delimiter, - null splits on whitespace
Returns:
an array of parsed Strings, null if null String input
Since:
2.1
-
-
-
-
- -

-splitPreserveAllTokens

-
-public static String[] splitPreserveAllTokens(String str,
-                                              String separatorChars)
-
-

Splits the provided text into an array, separators specified, - preserving all tokens, including empty tokens created by adjacent - separators. This is an alternative to using StringTokenizer.

- -

The separator is not included in the returned String array. - Adjacent separators are treated as separators for empty tokens. - For more control over the split use the StrTokenizer class.

- -

A null input String returns null. - A null separatorChars splits on whitespace.

- -
- StringUtils.splitPreserveAllTokens(null, *)           = null
- StringUtils.splitPreserveAllTokens("", *)             = []
- StringUtils.splitPreserveAllTokens("abc def", null)   = ["abc", "def"]
- StringUtils.splitPreserveAllTokens("abc def", " ")    = ["abc", "def"]
- StringUtils.splitPreserveAllTokens("abc  def", " ")   = ["abc", "", def"]
- StringUtils.splitPreserveAllTokens("ab:cd:ef", ":")   = ["ab", "cd", "ef"]
- StringUtils.splitPreserveAllTokens("ab:cd:ef:", ":")  = ["ab", "cd", "ef", ""]
- StringUtils.splitPreserveAllTokens("ab:cd:ef::", ":") = ["ab", "cd", "ef", "", ""]
- StringUtils.splitPreserveAllTokens("ab::cd:ef", ":")  = ["ab", "", cd", "ef"]
- StringUtils.splitPreserveAllTokens(":cd:ef", ":")     = ["", cd", "ef"]
- StringUtils.splitPreserveAllTokens("::cd:ef", ":")    = ["", "", cd", "ef"]
- StringUtils.splitPreserveAllTokens(":cd:ef:", ":")    = ["", cd", "ef", ""]
- 
-
Parameters:
str - the String to parse, may be null
separatorChars - the characters used as the delimiters, - null splits on whitespace
Returns:
an array of parsed Strings, null if null String input
Since:
2.1
-
-
-
-
- -

-splitPreserveAllTokens

-
-public static String[] splitPreserveAllTokens(String str,
-                                              String separatorChars,
-                                              int max)
-
-

Splits the provided text into an array with a maximum length, - separators specified, preserving all tokens, including empty tokens - created by adjacent separators.

- -

The separator is not included in the returned String array. - Adjacent separators are treated as separators for empty tokens. - Adjacent separators are treated as one separator.

- -

A null input String returns null. - A null separatorChars splits on whitespace.

- -

If more than max delimited substrings are found, the last - returned string includes all characters after the first max - 1 - returned strings (including separator characters).

- -
- StringUtils.splitPreserveAllTokens(null, *, *)            = null
- StringUtils.splitPreserveAllTokens("", *, *)              = []
- StringUtils.splitPreserveAllTokens("ab de fg", null, 0)   = ["ab", "cd", "ef"]
- StringUtils.splitPreserveAllTokens("ab   de fg", null, 0) = ["ab", "cd", "ef"]
- StringUtils.splitPreserveAllTokens("ab:cd:ef", ":", 0)    = ["ab", "cd", "ef"]
- StringUtils.splitPreserveAllTokens("ab:cd:ef", ":", 2)    = ["ab", "cd:ef"]
- StringUtils.splitPreserveAllTokens("ab   de fg", null, 2) = ["ab", "  de fg"]
- StringUtils.splitPreserveAllTokens("ab   de fg", null, 3) = ["ab", "", " de fg"]
- StringUtils.splitPreserveAllTokens("ab   de fg", null, 4) = ["ab", "", "", "de fg"]
- 
-
Parameters:
str - the String to parse, may be null
separatorChars - the characters used as the delimiters, - null splits on whitespace
max - the maximum number of elements to include in the - array. A zero or negative value implies no limit
Returns:
an array of parsed Strings, null if null String input
Since:
2.1
-
-
-
-
- -

-concatenate

-
-public static String concatenate(Object[] array)
-
-
Deprecated. Use the better named join(Object[]) instead. - Method will be removed in Commons Lang 3.0. -

-

Concatenates elements of an array into a single String. - Null objects or empty strings within the array are represented by - empty strings.

- -
- StringUtils.concatenate(null)            = null
- StringUtils.concatenate([])              = ""
- StringUtils.concatenate([null])          = ""
- StringUtils.concatenate(["a", "b", "c"]) = "abc"
- StringUtils.concatenate([null, "", "a"]) = "a"
- 
-
Parameters:
array - the array of values to concatenate, may be null
Returns:
the concatenated String, null if null array input
-
-
-
- -

-join

-
-public static String join(Object[] array)
-
-

Joins the elements of the provided array into a single String - containing the provided list of elements.

- -

No separator is added to the joined String. - Null objects or empty strings within the array are represented by - empty strings.

- -
- StringUtils.join(null)            = null
- StringUtils.join([])              = ""
- StringUtils.join([null])          = ""
- StringUtils.join(["a", "b", "c"]) = "abc"
- StringUtils.join([null, "", "a"]) = "a"
- 
-
Parameters:
array - the array of values to join together, may be null
Returns:
the joined String, null if null array input
Since:
2.0
-
-
-
-
- -

-join

-
-public static String join(Object[] array,
-                          char separator)
-
-

Joins the elements of the provided array into a single String - containing the provided list of elements.

- -

No delimiter is added before or after the list. - Null objects or empty strings within the array are represented by - empty strings.

- -
- StringUtils.join(null, *)               = null
- StringUtils.join([], *)                 = ""
- StringUtils.join([null], *)             = ""
- StringUtils.join(["a", "b", "c"], ';')  = "a;b;c"
- StringUtils.join(["a", "b", "c"], null) = "abc"
- StringUtils.join([null, "", "a"], ';')  = ";;a"
- 
-
Parameters:
array - the array of values to join together, may be null
separator - the separator character to use
Returns:
the joined String, null if null array input
Since:
2.0
-
-
-
-
- -

-join

-
-public static String join(Object[] array,
-                          char separator,
-                          int startIndex,
-                          int endIndex)
-
-

Joins the elements of the provided array into a single String - containing the provided list of elements.

- -

No delimiter is added before or after the list. - Null objects or empty strings within the array are represented by - empty strings.

- -
- StringUtils.join(null, *)               = null
- StringUtils.join([], *)                 = ""
- StringUtils.join([null], *)             = ""
- StringUtils.join(["a", "b", "c"], ';')  = "a;b;c"
- StringUtils.join(["a", "b", "c"], null) = "abc"
- StringUtils.join([null, "", "a"], ';')  = ";;a"
- 
-
Parameters:
array - the array of values to join together, may be null
separator - the separator character to use
startIndex - the first index to start joining from. It is - an error to pass in an end index past the end of the array
endIndex - the index to stop joining from (exclusive). It is - an error to pass in an end index past the end of the array
Returns:
the joined String, null if null array input
Since:
2.0
-
-
-
-
- -

-join

-
-public static String join(Object[] array,
-                          String separator)
-
-

Joins the elements of the provided array into a single String - containing the provided list of elements.

- -

No delimiter is added before or after the list. - A null separator is the same as an empty String (""). - Null objects or empty strings within the array are represented by - empty strings.

- -
- StringUtils.join(null, *)                = null
- StringUtils.join([], *)                  = ""
- StringUtils.join([null], *)              = ""
- StringUtils.join(["a", "b", "c"], "--")  = "a--b--c"
- StringUtils.join(["a", "b", "c"], null)  = "abc"
- StringUtils.join(["a", "b", "c"], "")    = "abc"
- StringUtils.join([null, "", "a"], ',')   = ",,a"
- 
-
Parameters:
array - the array of values to join together, may be null
separator - the separator character to use, null treated as ""
Returns:
the joined String, null if null array input
-
-
-
- -

-join

-
-public static String join(Object[] array,
-                          String separator,
-                          int startIndex,
-                          int endIndex)
-
-

Joins the elements of the provided array into a single String - containing the provided list of elements.

- -

No delimiter is added before or after the list. - A null separator is the same as an empty String (""). - Null objects or empty strings within the array are represented by - empty strings.

- -
- StringUtils.join(null, *)                = null
- StringUtils.join([], *)                  = ""
- StringUtils.join([null], *)              = ""
- StringUtils.join(["a", "b", "c"], "--")  = "a--b--c"
- StringUtils.join(["a", "b", "c"], null)  = "abc"
- StringUtils.join(["a", "b", "c"], "")    = "abc"
- StringUtils.join([null, "", "a"], ',')   = ",,a"
- 
-
Parameters:
array - the array of values to join together, may be null
separator - the separator character to use, null treated as ""
startIndex - the first index to start joining from. It is - an error to pass in an end index past the end of the array
endIndex - the index to stop joining from (exclusive). It is - an error to pass in an end index past the end of the array
Returns:
the joined String, null if null array input
-
-
-
- -

-join

-
-public static String join(Iterator iterator,
-                          char separator)
-
-

Joins the elements of the provided Iterator into - a single String containing the provided elements.

- -

No delimiter is added before or after the list. Null objects or empty - strings within the iteration are represented by empty strings.

- -

See the examples here: join(Object[],char).

-
Parameters:
iterator - the Iterator of values to join together, may be null
separator - the separator character to use
Returns:
the joined String, null if null iterator input
Since:
2.0
-
-
-
-
- -

-join

-
-public static String join(Iterator iterator,
-                          String separator)
-
-

Joins the elements of the provided Iterator into - a single String containing the provided elements.

- -

No delimiter is added before or after the list. - A null separator is the same as an empty String ("").

- -

See the examples here: join(Object[],String).

-
Parameters:
iterator - the Iterator of values to join together, may be null
separator - the separator character to use, null treated as ""
Returns:
the joined String, null if null iterator input
-
-
-
- -

-join

-
-public static String join(Collection collection,
-                          char separator)
-
-

Joins the elements of the provided Collection into - a single String containing the provided elements.

- -

No delimiter is added before or after the list. Null objects or empty - strings within the iteration are represented by empty strings.

- -

See the examples here: join(Object[],char).

-
Parameters:
collection - the Collection of values to join together, may be null
separator - the separator character to use
Returns:
the joined String, null if null iterator input
Since:
2.3
-
-
-
-
- -

-join

-
-public static String join(Collection collection,
-                          String separator)
-
-

Joins the elements of the provided Collection into - a single String containing the provided elements.

- -

No delimiter is added before or after the list. - A null separator is the same as an empty String ("").

- -

See the examples here: join(Object[],String).

-
Parameters:
collection - the Collection of values to join together, may be null
separator - the separator character to use, null treated as ""
Returns:
the joined String, null if null iterator input
Since:
2.3
-
-
-
-
- -

-deleteSpaces

-
-public static String deleteSpaces(String str)
-
-
Deprecated. Use the better localized deleteWhitespace(String). - Method will be removed in Commons Lang 3.0. -

-

Deletes all 'space' characters from a String as defined by - Character.isSpace(char).

- -

This is the only StringUtils method that uses the - isSpace definition. You are advised to use - deleteWhitespace(String) instead as whitespace is much - better localized.

- -
- StringUtils.deleteSpaces(null)           = null
- StringUtils.deleteSpaces("")             = ""
- StringUtils.deleteSpaces("abc")          = "abc"
- StringUtils.deleteSpaces(" \t  abc \n ") = "abc"
- StringUtils.deleteSpaces("ab  c")        = "abc"
- StringUtils.deleteSpaces("a\nb\tc     ") = "abc"
- 
- -

Spaces are defined as {' ', '\t', '\r', '\n', '\b'} - in line with the deprecated isSpace method.

-
Parameters:
str - the String to delete spaces from, may be null
Returns:
the String without 'spaces', null if null String input
-
-
-
- -

-deleteWhitespace

-
-public static String deleteWhitespace(String str)
-
-

Deletes all whitespaces from a String as defined by - Character.isWhitespace(char).

- -
- StringUtils.deleteWhitespace(null)         = null
- StringUtils.deleteWhitespace("")           = ""
- StringUtils.deleteWhitespace("abc")        = "abc"
- StringUtils.deleteWhitespace("   ab  c  ") = "abc"
- 
-
Parameters:
str - the String to delete whitespace from, may be null
Returns:
the String without whitespaces, null if null String input
-
-
-
- -

-removeStart

-
-public static String removeStart(String str,
-                                 String remove)
-
-

Removes a substring only if it is at the begining of a source string, - otherwise returns the source string.

- -

A null source string will return null. - An empty ("") source string will return the empty string. - A null search string will return the source string.

- -
- StringUtils.removeStart(null, *)      = null
- StringUtils.removeStart("", *)        = ""
- StringUtils.removeStart(*, null)      = *
- StringUtils.removeStart("www.domain.com", "www.")   = "domain.com"
- StringUtils.removeStart("domain.com", "www.")       = "domain.com"
- StringUtils.removeStart("www.domain.com", "domain") = "www.domain.com"
- StringUtils.removeStart("abc", "")    = "abc"
- 
-
Parameters:
str - the source String to search, may be null
remove - the String to search for and remove, may be null
Returns:
the substring with the string removed if found, - null if null String input
Since:
2.1
-
-
-
-
- -

-removeEnd

-
-public static String removeEnd(String str,
-                               String remove)
-
-

Removes a substring only if it is at the end of a source string, - otherwise returns the source string.

- -

A null source string will return null. - An empty ("") source string will return the empty string. - A null search string will return the source string.

- -
- StringUtils.removeEnd(null, *)      = null
- StringUtils.removeEnd("", *)        = ""
- StringUtils.removeEnd(*, null)      = *
- StringUtils.removeEnd("www.domain.com", ".com.")  = "www.domain.com."
- StringUtils.removeEnd("www.domain.com", ".com")   = "www.domain"
- StringUtils.removeEnd("www.domain.com", "domain") = "www.domain.com"
- StringUtils.removeEnd("abc", "")    = "abc"
- 
-
Parameters:
str - the source String to search, may be null
remove - the String to search for and remove, may be null
Returns:
the substring with the string removed if found, - null if null String input
Since:
2.1
-
-
-
-
- -

-remove

-
-public static String remove(String str,
-                            String remove)
-
-

Removes all occurances of a substring from within the source string.

- -

A null source string will return null. - An empty ("") source string will return the empty string. - A null remove string will return the source string. - An empty ("") remove string will return the source string.

- -
- StringUtils.remove(null, *)        = null
- StringUtils.remove("", *)          = ""
- StringUtils.remove(*, null)        = *
- StringUtils.remove(*, "")          = *
- StringUtils.remove("queued", "ue") = "qd"
- StringUtils.remove("queued", "zz") = "queued"
- 
-
Parameters:
str - the source String to search, may be null
remove - the String to search for and remove, may be null
Returns:
the substring with the string removed if found, - null if null String input
Since:
2.1
-
-
-
-
- -

-remove

-
-public static String remove(String str,
-                            char remove)
-
-

Removes all occurances of a character from within the source string.

- -

A null source string will return null. - An empty ("") source string will return the empty string.

- -
- StringUtils.remove(null, *)       = null
- StringUtils.remove("", *)         = ""
- StringUtils.remove("queued", 'u') = "qeed"
- StringUtils.remove("queued", 'z') = "queued"
- 
-
Parameters:
str - the source String to search, may be null
remove - the char to search for and remove, may be null
Returns:
the substring with the char removed if found, - null if null String input
Since:
2.1
-
-
-
-
- -

-replaceOnce

-
-public static String replaceOnce(String text,
-                                 String repl,
-                                 String with)
-
-

Replaces a String with another String inside a larger String, once.

- -

A null reference passed to this method is a no-op.

- -
- StringUtils.replaceOnce(null, *, *)        = null
- StringUtils.replaceOnce("", *, *)          = ""
- StringUtils.replaceOnce("any", null, *)    = "any"
- StringUtils.replaceOnce("any", *, null)    = "any"
- StringUtils.replaceOnce("any", "", *)      = "any"
- StringUtils.replaceOnce("aba", "a", null)  = "aba"
- StringUtils.replaceOnce("aba", "a", "")    = "ba"
- StringUtils.replaceOnce("aba", "a", "z")   = "zba"
- 
-
Parameters:
text - text to search and replace in, may be null
repl - the String to search for, may be null
with - the String to replace with, may be null
Returns:
the text with any replacements processed, - null if null String input
See Also:
replace(String text, String repl, String with, int max)
-
-
-
- -

-replace

-
-public static String replace(String text,
-                             String repl,
-                             String with)
-
-

Replaces all occurrences of a String within another String.

- -

A null reference passed to this method is a no-op.

- -
- StringUtils.replace(null, *, *)        = null
- StringUtils.replace("", *, *)          = ""
- StringUtils.replace("any", null, *)    = "any"
- StringUtils.replace("any", *, null)    = "any"
- StringUtils.replace("any", "", *)      = "any"
- StringUtils.replace("aba", "a", null)  = "aba"
- StringUtils.replace("aba", "a", "")    = "b"
- StringUtils.replace("aba", "a", "z")   = "zbz"
- 
-
Parameters:
text - text to search and replace in, may be null
repl - the String to search for, may be null
with - the String to replace with, may be null
Returns:
the text with any replacements processed, - null if null String input
See Also:
replace(String text, String repl, String with, int max)
-
-
-
- -

-replace

-
-public static String replace(String text,
-                             String repl,
-                             String with,
-                             int max)
-
-

Replaces a String with another String inside a larger String, - for the first max values of the search String.

- -

A null reference passed to this method is a no-op.

- -
- StringUtils.replace(null, *, *, *)         = null
- StringUtils.replace("", *, *, *)           = ""
- StringUtils.replace("any", null, *, *)     = "any"
- StringUtils.replace("any", *, null, *)     = "any"
- StringUtils.replace("any", "", *, *)       = "any"
- StringUtils.replace("any", *, *, 0)        = "any"
- StringUtils.replace("abaa", "a", null, -1) = "abaa"
- StringUtils.replace("abaa", "a", "", -1)   = "b"
- StringUtils.replace("abaa", "a", "z", 0)   = "abaa"
- StringUtils.replace("abaa", "a", "z", 1)   = "zbaa"
- StringUtils.replace("abaa", "a", "z", 2)   = "zbza"
- StringUtils.replace("abaa", "a", "z", -1)  = "zbzz"
- 
-
Parameters:
text - text to search and replace in, may be null
repl - the String to search for, may be null
with - the String to replace with, may be null
max - maximum number of values to replace, or -1 if no maximum
Returns:
the text with any replacements processed, - null if null String input
-
-
-
- -

-replaceChars

-
-public static String replaceChars(String str,
-                                  char searchChar,
-                                  char replaceChar)
-
-

Replaces all occurrences of a character in a String with another. - This is a null-safe version of String.replace(char, char).

- -

A null string input returns null. - An empty ("") string input returns an empty string.

- -
- StringUtils.replaceChars(null, *, *)        = null
- StringUtils.replaceChars("", *, *)          = ""
- StringUtils.replaceChars("abcba", 'b', 'y') = "aycya"
- StringUtils.replaceChars("abcba", 'z', 'y') = "abcba"
- 
-
Parameters:
str - String to replace characters in, may be null
searchChar - the character to search for, may be null
replaceChar - the character to replace, may be null
Returns:
modified String, null if null string input
Since:
2.0
-
-
-
-
- -

-replaceChars

-
-public static String replaceChars(String str,
-                                  String searchChars,
-                                  String replaceChars)
-
-

Replaces multiple characters in a String in one go. - This method can also be used to delete characters.

- -

For example:
- replaceChars("hello", "ho", "jy") = jelly.

- -

A null string input returns null. - An empty ("") string input returns an empty string. - A null or empty set of search characters returns the input string.

- -

The length of the search characters should normally equal the length - of the replace characters. - If the search characters is longer, then the extra search characters - are deleted. - If the search characters is shorter, then the extra replace characters - are ignored.

- -
- StringUtils.replaceChars(null, *, *)           = null
- StringUtils.replaceChars("", *, *)             = ""
- StringUtils.replaceChars("abc", null, *)       = "abc"
- StringUtils.replaceChars("abc", "", *)         = "abc"
- StringUtils.replaceChars("abc", "b", null)     = "ac"
- StringUtils.replaceChars("abc", "b", "")       = "ac"
- StringUtils.replaceChars("abcba", "bc", "yz")  = "ayzya"
- StringUtils.replaceChars("abcba", "bc", "y")   = "ayya"
- StringUtils.replaceChars("abcba", "bc", "yzx") = "ayzya"
- 
-
Parameters:
str - String to replace characters in, may be null
searchChars - a set of characters to search for, may be null
replaceChars - a set of characters to replace, may be null
Returns:
modified String, null if null string input
Since:
2.0
-
-
-
-
- -

-overlayString

-
-public static String overlayString(String text,
-                                   String overlay,
-                                   int start,
-                                   int end)
-
-
Deprecated. Use better named overlay(String, String, int, int) instead. - Method will be removed in Commons Lang 3.0. -

-

Overlays part of a String with another String.

- -
- StringUtils.overlayString(null, *, *, *)           = NullPointerException
- StringUtils.overlayString(*, null, *, *)           = NullPointerException
- StringUtils.overlayString("", "abc", 0, 0)         = "abc"
- StringUtils.overlayString("abcdef", null, 2, 4)    = "abef"
- StringUtils.overlayString("abcdef", "", 2, 4)      = "abef"
- StringUtils.overlayString("abcdef", "zzzz", 2, 4)  = "abzzzzef"
- StringUtils.overlayString("abcdef", "zzzz", 4, 2)  = "abcdzzzzcdef"
- StringUtils.overlayString("abcdef", "zzzz", -1, 4) = IndexOutOfBoundsException
- StringUtils.overlayString("abcdef", "zzzz", 2, 8)  = IndexOutOfBoundsException
- 
-
Parameters:
text - the String to do overlaying in, may be null
overlay - the String to overlay, may be null
start - the position to start overlaying at, must be valid
end - the position to stop overlaying before, must be valid
Returns:
overlayed String, null if null String input
Throws:
NullPointerException - if text or overlay is null
IndexOutOfBoundsException - if either position is invalid
-
-
-
- -

-overlay

-
-public static String overlay(String str,
-                             String overlay,
-                             int start,
-                             int end)
-
-

Overlays part of a String with another String.

- -

A null string input returns null. - A negative index is treated as zero. - An index greater than the string length is treated as the string length. - The start index is always the smaller of the two indices.

- -
- StringUtils.overlay(null, *, *, *)            = null
- StringUtils.overlay("", "abc", 0, 0)          = "abc"
- StringUtils.overlay("abcdef", null, 2, 4)     = "abef"
- StringUtils.overlay("abcdef", "", 2, 4)       = "abef"
- StringUtils.overlay("abcdef", "", 4, 2)       = "abef"
- StringUtils.overlay("abcdef", "zzzz", 2, 4)   = "abzzzzef"
- StringUtils.overlay("abcdef", "zzzz", 4, 2)   = "abzzzzef"
- StringUtils.overlay("abcdef", "zzzz", -1, 4)  = "zzzzef"
- StringUtils.overlay("abcdef", "zzzz", 2, 8)   = "abzzzz"
- StringUtils.overlay("abcdef", "zzzz", -2, -3) = "zzzzabcdef"
- StringUtils.overlay("abcdef", "zzzz", 8, 10)  = "abcdefzzzz"
- 
-
Parameters:
str - the String to do overlaying in, may be null
overlay - the String to overlay, may be null
start - the position to start overlaying at
end - the position to stop overlaying before
Returns:
overlayed String, null if null String input
Since:
2.0
-
-
-
-
- -

-chomp

-
-public static String chomp(String str)
-
-

Removes one newline from end of a String if it's there, - otherwise leave it alone. A newline is "\n", - "\r", or "\r\n".

- -

NOTE: This method changed in 2.0. - It now more closely matches Perl chomp.

- -
- StringUtils.chomp(null)          = null
- StringUtils.chomp("")            = ""
- StringUtils.chomp("abc \r")      = "abc "
- StringUtils.chomp("abc\n")       = "abc"
- StringUtils.chomp("abc\r\n")     = "abc"
- StringUtils.chomp("abc\r\n\r\n") = "abc\r\n"
- StringUtils.chomp("abc\n\r")     = "abc\n"
- StringUtils.chomp("abc\n\rabc")  = "abc\n\rabc"
- StringUtils.chomp("\r")          = ""
- StringUtils.chomp("\n")          = ""
- StringUtils.chomp("\r\n")        = ""
- 
-
Parameters:
str - the String to chomp a newline from, may be null
Returns:
String without newline, null if null String input
-
-
-
- -

-chomp

-
-public static String chomp(String str,
-                           String separator)
-
-

Removes separator from the end of - str if it's there, otherwise leave it alone.

- -

NOTE: This method changed in version 2.0. - It now more closely matches Perl chomp. - For the previous behavior, use substringBeforeLast(String, String). - This method uses String.endsWith(String).

- -
- StringUtils.chomp(null, *)         = null
- StringUtils.chomp("", *)           = ""
- StringUtils.chomp("foobar", "bar") = "foo"
- StringUtils.chomp("foobar", "baz") = "foobar"
- StringUtils.chomp("foo", "foo")    = ""
- StringUtils.chomp("foo ", "foo")   = "foo "
- StringUtils.chomp(" foo", "foo")   = " "
- StringUtils.chomp("foo", "foooo")  = "foo"
- StringUtils.chomp("foo", "")       = "foo"
- StringUtils.chomp("foo", null)     = "foo"
- 
-
Parameters:
str - the String to chomp from, may be null
separator - separator String, may be null
Returns:
String without trailing separator, null if null String input
-
-
-
- -

-chompLast

-
-public static String chompLast(String str)
-
-
Deprecated. Use chomp(String) instead. - Method will be removed in Commons Lang 3.0. -

-

Remove any "\n" if and only if it is at the end - of the supplied String.

-
Parameters:
str - the String to chomp from, must not be null
Returns:
String without chomped ending
Throws:
NullPointerException - if str is null
-
-
-
- -

-chompLast

-
-public static String chompLast(String str,
-                               String sep)
-
-
Deprecated. Use chomp(String,String) instead. - Method will be removed in Commons Lang 3.0. -

-

Remove a value if and only if the String ends with that value.

-
Parameters:
str - the String to chomp from, must not be null
sep - the String to chomp, must not be null
Returns:
String without chomped ending
Throws:
NullPointerException - if str or sep is null
-
-
-
- -

-getChomp

-
-public static String getChomp(String str,
-                              String sep)
-
-
Deprecated. Use substringAfterLast(String, String) instead - (although this doesn't include the separator) - Method will be removed in Commons Lang 3.0. -

-

Remove everything and return the last value of a supplied String, and - everything after it from a String.

-
Parameters:
str - the String to chomp from, must not be null
sep - the String to chomp, must not be null
Returns:
String chomped
Throws:
NullPointerException - if str or sep is null
-
-
-
- -

-prechomp

-
-public static String prechomp(String str,
-                              String sep)
-
-
Deprecated. Use substringAfter(String,String) instead. - Method will be removed in Commons Lang 3.0. -

-

Remove the first value of a supplied String, and everything before it - from a String.

-
Parameters:
str - the String to chomp from, must not be null
sep - the String to chomp, must not be null
Returns:
String without chomped beginning
Throws:
NullPointerException - if str or sep is null
-
-
-
- -

-getPrechomp

-
-public static String getPrechomp(String str,
-                                 String sep)
-
-
Deprecated. Use substringBefore(String,String) instead - (although this doesn't include the separator). - Method will be removed in Commons Lang 3.0. -

-

Remove and return everything before the first value of a - supplied String from another String.

-
Parameters:
str - the String to chomp from, must not be null
sep - the String to chomp, must not be null
Returns:
String prechomped
Throws:
NullPointerException - if str or sep is null
-
-
-
- -

-chop

-
-public static String chop(String str)
-
-

Remove the last character from a String.

- -

If the String ends in \r\n, then remove both - of them.

- -
- StringUtils.chop(null)          = null
- StringUtils.chop("")            = ""
- StringUtils.chop("abc \r")      = "abc "
- StringUtils.chop("abc\n")       = "abc"
- StringUtils.chop("abc\r\n")     = "abc"
- StringUtils.chop("abc")         = "ab"
- StringUtils.chop("abc\nabc")    = "abc\nab"
- StringUtils.chop("a")           = ""
- StringUtils.chop("\r")          = ""
- StringUtils.chop("\n")          = ""
- StringUtils.chop("\r\n")        = ""
- 
-
Parameters:
str - the String to chop last character from, may be null
Returns:
String without last character, null if null String input
-
-
-
- -

-chopNewline

-
-public static String chopNewline(String str)
-
-
Deprecated. Use chomp(String) instead. - Method will be removed in Commons Lang 3.0. -

-

Removes \n from end of a String if it's there. - If a \r precedes it, then remove that too.

-
Parameters:
str - the String to chop a newline from, must not be null
Returns:
String without newline
Throws:
NullPointerException - if str is null
-
-
-
- -

-escape

-
-public static String escape(String str)
-
-
Deprecated. Use StringEscapeUtils.escapeJava(String) - This method will be removed in Commons Lang 3.0 -

-

Escapes any values it finds into their String form.

- -

So a tab becomes the characters '\\' and - 't'.

- -

As of Lang 2.0, this calls StringEscapeUtils.escapeJava(String) - behind the scenes. -

-
Parameters:
str - String to escape values in
Returns:
String with escaped values
Throws:
NullPointerException - if str is null
See Also:
StringEscapeUtils.escapeJava(java.lang.String)
-
-
-
- -

-repeat

-
-public static String repeat(String str,
-                            int repeat)
-
-

Repeat a String repeat times to form a - new String.

- -
- StringUtils.repeat(null, 2) = null
- StringUtils.repeat("", 0)   = ""
- StringUtils.repeat("", 2)   = ""
- StringUtils.repeat("a", 3)  = "aaa"
- StringUtils.repeat("ab", 2) = "abab"
- StringUtils.repeat("a", -2) = ""
- 
-
Parameters:
str - the String to repeat, may be null
repeat - number of times to repeat str, negative treated as zero
Returns:
a new String consisting of the original String repeated, - null if null String input
-
-
-
- -

-rightPad

-
-public static String rightPad(String str,
-                              int size)
-
-

Right pad a String with spaces (' ').

- -

The String is padded to the size of size.

- -
- StringUtils.rightPad(null, *)   = null
- StringUtils.rightPad("", 3)     = "   "
- StringUtils.rightPad("bat", 3)  = "bat"
- StringUtils.rightPad("bat", 5)  = "bat  "
- StringUtils.rightPad("bat", 1)  = "bat"
- StringUtils.rightPad("bat", -1) = "bat"
- 
-
Parameters:
str - the String to pad out, may be null
size - the size to pad to
Returns:
right padded String or original String if no padding is necessary, - null if null String input
-
-
-
- -

-rightPad

-
-public static String rightPad(String str,
-                              int size,
-                              char padChar)
-
-

Right pad a String with a specified character.

- -

The String is padded to the size of size.

- -
- StringUtils.rightPad(null, *, *)     = null
- StringUtils.rightPad("", 3, 'z')     = "zzz"
- StringUtils.rightPad("bat", 3, 'z')  = "bat"
- StringUtils.rightPad("bat", 5, 'z')  = "batzz"
- StringUtils.rightPad("bat", 1, 'z')  = "bat"
- StringUtils.rightPad("bat", -1, 'z') = "bat"
- 
-
Parameters:
str - the String to pad out, may be null
size - the size to pad to
padChar - the character to pad with
Returns:
right padded String or original String if no padding is necessary, - null if null String input
Since:
2.0
-
-
-
-
- -

-rightPad

-
-public static String rightPad(String str,
-                              int size,
-                              String padStr)
-
-

Right pad a String with a specified String.

- -

The String is padded to the size of size.

- -
- StringUtils.rightPad(null, *, *)      = null
- StringUtils.rightPad("", 3, "z")      = "zzz"
- StringUtils.rightPad("bat", 3, "yz")  = "bat"
- StringUtils.rightPad("bat", 5, "yz")  = "batyz"
- StringUtils.rightPad("bat", 8, "yz")  = "batyzyzy"
- StringUtils.rightPad("bat", 1, "yz")  = "bat"
- StringUtils.rightPad("bat", -1, "yz") = "bat"
- StringUtils.rightPad("bat", 5, null)  = "bat  "
- StringUtils.rightPad("bat", 5, "")    = "bat  "
- 
-
Parameters:
str - the String to pad out, may be null
size - the size to pad to
padStr - the String to pad with, null or empty treated as single space
Returns:
right padded String or original String if no padding is necessary, - null if null String input
-
-
-
- -

-leftPad

-
-public static String leftPad(String str,
-                             int size)
-
-

Left pad a String with spaces (' ').

- -

The String is padded to the size of size.

- -
- StringUtils.leftPad(null, *)   = null
- StringUtils.leftPad("", 3)     = "   "
- StringUtils.leftPad("bat", 3)  = "bat"
- StringUtils.leftPad("bat", 5)  = "  bat"
- StringUtils.leftPad("bat", 1)  = "bat"
- StringUtils.leftPad("bat", -1) = "bat"
- 
-
Parameters:
str - the String to pad out, may be null
size - the size to pad to
Returns:
left padded String or original String if no padding is necessary, - null if null String input
-
-
-
- -

-leftPad

-
-public static String leftPad(String str,
-                             int size,
-                             char padChar)
-
-

Left pad a String with a specified character.

- -

Pad to a size of size.

- -
- StringUtils.leftPad(null, *, *)     = null
- StringUtils.leftPad("", 3, 'z')     = "zzz"
- StringUtils.leftPad("bat", 3, 'z')  = "bat"
- StringUtils.leftPad("bat", 5, 'z')  = "zzbat"
- StringUtils.leftPad("bat", 1, 'z')  = "bat"
- StringUtils.leftPad("bat", -1, 'z') = "bat"
- 
-
Parameters:
str - the String to pad out, may be null
size - the size to pad to
padChar - the character to pad with
Returns:
left padded String or original String if no padding is necessary, - null if null String input
Since:
2.0
-
-
-
-
- -

-leftPad

-
-public static String leftPad(String str,
-                             int size,
-                             String padStr)
-
-

Left pad a String with a specified String.

- -

Pad to a size of size.

- -
- StringUtils.leftPad(null, *, *)      = null
- StringUtils.leftPad("", 3, "z")      = "zzz"
- StringUtils.leftPad("bat", 3, "yz")  = "bat"
- StringUtils.leftPad("bat", 5, "yz")  = "yzbat"
- StringUtils.leftPad("bat", 8, "yz")  = "yzyzybat"
- StringUtils.leftPad("bat", 1, "yz")  = "bat"
- StringUtils.leftPad("bat", -1, "yz") = "bat"
- StringUtils.leftPad("bat", 5, null)  = "  bat"
- StringUtils.leftPad("bat", 5, "")    = "  bat"
- 
-
Parameters:
str - the String to pad out, may be null
size - the size to pad to
padStr - the String to pad with, null or empty treated as single space
Returns:
left padded String or original String if no padding is necessary, - null if null String input
-
-
-
- -

-center

-
-public static String center(String str,
-                            int size)
-
-

Centers a String in a larger String of size size - using the space character (' ').

- -

If the size is less than the String length, the String is returned. - A null String returns null. - A negative size is treated as zero.

- -

Equivalent to center(str, size, " ").

- -
- StringUtils.center(null, *)   = null
- StringUtils.center("", 4)     = "    "
- StringUtils.center("ab", -1)  = "ab"
- StringUtils.center("ab", 4)   = " ab "
- StringUtils.center("abcd", 2) = "abcd"
- StringUtils.center("a", 4)    = " a  "
- 
-
Parameters:
str - the String to center, may be null
size - the int size of new String, negative treated as zero
Returns:
centered String, null if null String input
-
-
-
- -

-center

-
-public static String center(String str,
-                            int size,
-                            char padChar)
-
-

Centers a String in a larger String of size size. - Uses a supplied character as the value to pad the String with.

- -

If the size is less than the String length, the String is returned. - A null String returns null. - A negative size is treated as zero.

- -
- StringUtils.center(null, *, *)     = null
- StringUtils.center("", 4, ' ')     = "    "
- StringUtils.center("ab", -1, ' ')  = "ab"
- StringUtils.center("ab", 4, ' ')   = " ab"
- StringUtils.center("abcd", 2, ' ') = "abcd"
- StringUtils.center("a", 4, ' ')    = " a  "
- StringUtils.center("a", 4, 'y')    = "yayy"
- 
-
Parameters:
str - the String to center, may be null
size - the int size of new String, negative treated as zero
padChar - the character to pad the new String with
Returns:
centered String, null if null String input
Since:
2.0
-
-
-
-
- -

-center

-
-public static String center(String str,
-                            int size,
-                            String padStr)
-
-

Centers a String in a larger String of size size. - Uses a supplied String as the value to pad the String with.

- -

If the size is less than the String length, the String is returned. - A null String returns null. - A negative size is treated as zero.

- -
- StringUtils.center(null, *, *)     = null
- StringUtils.center("", 4, " ")     = "    "
- StringUtils.center("ab", -1, " ")  = "ab"
- StringUtils.center("ab", 4, " ")   = " ab"
- StringUtils.center("abcd", 2, " ") = "abcd"
- StringUtils.center("a", 4, " ")    = " a  "
- StringUtils.center("a", 4, "yz")   = "yayz"
- StringUtils.center("abc", 7, null) = "  abc  "
- StringUtils.center("abc", 7, "")   = "  abc  "
- 
-
Parameters:
str - the String to center, may be null
size - the int size of new String, negative treated as zero
padStr - the String to pad the new String with, must not be null or empty
Returns:
centered String, null if null String input
Throws:
IllegalArgumentException - if padStr is null or empty
-
-
-
- -

-upperCase

-
-public static String upperCase(String str)
-
-

Converts a String to upper case as per String.toUpperCase().

- -

A null input String returns null.

- -
- StringUtils.upperCase(null)  = null
- StringUtils.upperCase("")    = ""
- StringUtils.upperCase("aBc") = "ABC"
- 
-
Parameters:
str - the String to upper case, may be null
Returns:
the upper cased String, null if null String input
-
-
-
- -

-lowerCase

-
-public static String lowerCase(String str)
-
-

Converts a String to lower case as per String.toLowerCase().

- -

A null input String returns null.

- -
- StringUtils.lowerCase(null)  = null
- StringUtils.lowerCase("")    = ""
- StringUtils.lowerCase("aBc") = "abc"
- 
-
Parameters:
str - the String to lower case, may be null
Returns:
the lower cased String, null if null String input
-
-
-
- -

-capitalize

-
-public static String capitalize(String str)
-
-

Capitalizes a String changing the first letter to title case as - per Character.toTitleCase(char). No other letters are changed.

- -

For a word based algorithm, see WordUtils.capitalize(String). - A null input String returns null.

- -
- StringUtils.capitalize(null)  = null
- StringUtils.capitalize("")    = ""
- StringUtils.capitalize("cat") = "Cat"
- StringUtils.capitalize("cAt") = "CAt"
- 
-
Parameters:
str - the String to capitalize, may be null
Returns:
the capitalized String, null if null String input
Since:
2.0
-
See Also:
WordUtils.capitalize(String), -uncapitalize(String)
-
-
-
- -

-capitalise

-
-public static String capitalise(String str)
-
-
Deprecated. Use the standardly named capitalize(String). - Method will be removed in Commons Lang 3.0. -

-

Capitalizes a String changing the first letter to title case as - per Character.toTitleCase(char). No other letters are changed.

-
Parameters:
str - the String to capitalize, may be null
Returns:
the capitalized String, null if null String input
-
-
-
- -

-uncapitalize

-
-public static String uncapitalize(String str)
-
-

Uncapitalizes a String changing the first letter to title case as - per Character.toLowerCase(char). No other letters are changed.

- -

For a word based algorithm, see WordUtils.uncapitalize(String). - A null input String returns null.

- -
- StringUtils.uncapitalize(null)  = null
- StringUtils.uncapitalize("")    = ""
- StringUtils.uncapitalize("Cat") = "cat"
- StringUtils.uncapitalize("CAT") = "cAT"
- 
-
Parameters:
str - the String to uncapitalize, may be null
Returns:
the uncapitalized String, null if null String input
Since:
2.0
-
See Also:
WordUtils.uncapitalize(String), -capitalize(String)
-
-
-
- -

-uncapitalise

-
-public static String uncapitalise(String str)
-
-
Deprecated. Use the standardly named uncapitalize(String). - Method will be removed in Commons Lang 3.0. -

-

Uncapitalizes a String changing the first letter to title case as - per Character.toLowerCase(char). No other letters are changed.

-
Parameters:
str - the String to uncapitalize, may be null
Returns:
the uncapitalized String, null if null String input
-
-
-
- -

-swapCase

-
-public static String swapCase(String str)
-
-

Swaps the case of a String changing upper and title case to - lower case, and lower case to upper case.

- -
    -
  • Upper case character converts to Lower case
  • -
  • Title case character converts to Lower case
  • -
  • Lower case character converts to Upper case
  • -
- -

For a word based algorithm, see WordUtils.swapCase(String). - A null input String returns null.

- -
- StringUtils.swapCase(null)                 = null
- StringUtils.swapCase("")                   = ""
- StringUtils.swapCase("The dog has a BONE") = "tHE DOG HAS A bone"
- 
- -

NOTE: This method changed in Lang version 2.0. - It no longer performs a word based algorithm. - If you only use ASCII, you will notice no change. - That functionality is available in WordUtils.

-
Parameters:
str - the String to swap case, may be null
Returns:
the changed String, null if null String input
-
-
-
- -

-capitaliseAllWords

-
-public static String capitaliseAllWords(String str)
-
-
Deprecated. Use the relocated WordUtils.capitalize(String). - Method will be removed in Commons Lang 3.0. -

-

Capitalizes all the whitespace separated words in a String. - Only the first letter of each word is changed.

- -

Whitespace is defined by Character.isWhitespace(char). - A null input String returns null.

-
Parameters:
str - the String to capitalize, may be null
Returns:
capitalized String, null if null String input
-
-
-
- -

-countMatches

-
-public static int countMatches(String str,
-                               String sub)
-
-

Counts how many times the substring appears in the larger String.

- -

A null or empty ("") String input returns 0.

- -
- StringUtils.countMatches(null, *)       = 0
- StringUtils.countMatches("", *)         = 0
- StringUtils.countMatches("abba", null)  = 0
- StringUtils.countMatches("abba", "")    = 0
- StringUtils.countMatches("abba", "a")   = 2
- StringUtils.countMatches("abba", "ab")  = 1
- StringUtils.countMatches("abba", "xxx") = 0
- 
-
Parameters:
str - the String to check, may be null
sub - the substring to count, may be null
Returns:
the number of occurrences, 0 if either String is null
-
-
-
- -

-isAlpha

-
-public static boolean isAlpha(String str)
-
-

Checks if the String contains only unicode letters.

- -

null will return false. - An empty String ("") will return true.

- -
- StringUtils.isAlpha(null)   = false
- StringUtils.isAlpha("")     = true
- StringUtils.isAlpha("  ")   = false
- StringUtils.isAlpha("abc")  = true
- StringUtils.isAlpha("ab2c") = false
- StringUtils.isAlpha("ab-c") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if only contains letters, and is non-null
-
-
-
- -

-isAlphaSpace

-
-public static boolean isAlphaSpace(String str)
-
-

Checks if the String contains only unicode letters and - space (' ').

- -

null will return false - An empty String ("") will return true.

- -
- StringUtils.isAlphaSpace(null)   = false
- StringUtils.isAlphaSpace("")     = true
- StringUtils.isAlphaSpace("  ")   = true
- StringUtils.isAlphaSpace("abc")  = true
- StringUtils.isAlphaSpace("ab c") = true
- StringUtils.isAlphaSpace("ab2c") = false
- StringUtils.isAlphaSpace("ab-c") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if only contains letters and space, - and is non-null
-
-
-
- -

-isAlphanumeric

-
-public static boolean isAlphanumeric(String str)
-
-

Checks if the String contains only unicode letters or digits.

- -

null will return false. - An empty String ("") will return true.

- -
- StringUtils.isAlphanumeric(null)   = false
- StringUtils.isAlphanumeric("")     = true
- StringUtils.isAlphanumeric("  ")   = false
- StringUtils.isAlphanumeric("abc")  = true
- StringUtils.isAlphanumeric("ab c") = false
- StringUtils.isAlphanumeric("ab2c") = true
- StringUtils.isAlphanumeric("ab-c") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if only contains letters or digits, - and is non-null
-
-
-
- -

-isAlphanumericSpace

-
-public static boolean isAlphanumericSpace(String str)
-
-

Checks if the String contains only unicode letters, digits - or space (' ').

- -

null will return false. - An empty String ("") will return true.

- -
- StringUtils.isAlphanumeric(null)   = false
- StringUtils.isAlphanumeric("")     = true
- StringUtils.isAlphanumeric("  ")   = true
- StringUtils.isAlphanumeric("abc")  = true
- StringUtils.isAlphanumeric("ab c") = true
- StringUtils.isAlphanumeric("ab2c") = true
- StringUtils.isAlphanumeric("ab-c") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if only contains letters, digits or space, - and is non-null
-
-
-
- -

-isAsciiPrintable

-
-public static boolean isAsciiPrintable(String str)
-
-

Checks if the string contains only ASCII printable characters.

- -

null will return false. - An empty String ("") will return true.

- -
- StringUtils.isAsciiPrintable(null)     = false
- StringUtils.isAsciiPrintable("")       = true
- StringUtils.isAsciiPrintable(" ")      = true
- StringUtils.isAsciiPrintable("Ceki")   = true
- StringUtils.isAsciiPrintable("ab2c")   = true
- StringUtils.isAsciiPrintable("!ab-c~") = true
- StringUtils.isAsciiPrintable(" ") = true
- StringUtils.isAsciiPrintable("!") = true
- StringUtils.isAsciiPrintable("~") = true
- StringUtils.isAsciiPrintable("") = false
- StringUtils.isAsciiPrintable("Ceki GŸlcŸ") = false
- 
-
Parameters:
str - the string to check, may be null
Returns:
true if every character is in the range - 32 thru 126
Since:
2.1
-
-
-
-
- -

-isNumeric

-
-public static boolean isNumeric(String str)
-
-

Checks if the String contains only unicode digits. - A decimal point is not a unicode digit and returns false.

- -

null will return false. - An empty String ("") will return true.

- -
- StringUtils.isNumeric(null)   = false
- StringUtils.isNumeric("")     = true
- StringUtils.isNumeric("  ")   = false
- StringUtils.isNumeric("123")  = true
- StringUtils.isNumeric("12 3") = false
- StringUtils.isNumeric("ab2c") = false
- StringUtils.isNumeric("12-3") = false
- StringUtils.isNumeric("12.3") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if only contains digits, and is non-null
-
-
-
- -

-isNumericSpace

-
-public static boolean isNumericSpace(String str)
-
-

Checks if the String contains only unicode digits or space - (' '). - A decimal point is not a unicode digit and returns false.

- -

null will return false. - An empty String ("") will return true.

- -
- StringUtils.isNumeric(null)   = false
- StringUtils.isNumeric("")     = true
- StringUtils.isNumeric("  ")   = true
- StringUtils.isNumeric("123")  = true
- StringUtils.isNumeric("12 3") = true
- StringUtils.isNumeric("ab2c") = false
- StringUtils.isNumeric("12-3") = false
- StringUtils.isNumeric("12.3") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if only contains digits or space, - and is non-null
-
-
-
- -

-isWhitespace

-
-public static boolean isWhitespace(String str)
-
-

Checks if the String contains only whitespace.

- -

null will return false. - An empty String ("") will return true.

- -
- StringUtils.isWhitespace(null)   = false
- StringUtils.isWhitespace("")     = true
- StringUtils.isWhitespace("  ")   = true
- StringUtils.isWhitespace("abc")  = false
- StringUtils.isWhitespace("ab2c") = false
- StringUtils.isWhitespace("ab-c") = false
- 
-
Parameters:
str - the String to check, may be null
Returns:
true if only contains whitespace, and is non-null
Since:
2.0
-
-
-
-
- -

-defaultString

-
-public static String defaultString(String str)
-
-

Returns either the passed in String, - or if the String is null, an empty String ("").

- -
- StringUtils.defaultString(null)  = ""
- StringUtils.defaultString("")    = ""
- StringUtils.defaultString("bat") = "bat"
- 
-
Parameters:
str - the String to check, may be null
Returns:
the passed in String, or the empty String if it - was null
See Also:
ObjectUtils.toString(Object), -String.valueOf(Object)
-
-
-
- -

-defaultString

-
-public static String defaultString(String str,
-                                   String defaultStr)
-
-

Returns either the passed in String, or if the String is - null, the value of defaultStr.

- -
- StringUtils.defaultString(null, "NULL")  = "NULL"
- StringUtils.defaultString("", "NULL")    = ""
- StringUtils.defaultString("bat", "NULL") = "bat"
- 
-
Parameters:
str - the String to check, may be null
defaultStr - the default String to return - if the input is null, may be null
Returns:
the passed in String, or the default if it was null
See Also:
ObjectUtils.toString(Object,String), -String.valueOf(Object)
-
-
-
- -

-defaultIfEmpty

-
-public static String defaultIfEmpty(String str,
-                                    String defaultStr)
-
-

Returns either the passed in String, or if the String is - empty or null, the value of defaultStr.

- -
- StringUtils.defaultIfEmpty(null, "NULL")  = "NULL"
- StringUtils.defaultIfEmpty("", "NULL")    = "NULL"
- StringUtils.defaultIfEmpty("bat", "NULL") = "bat"
- 
-
Parameters:
str - the String to check, may be null
defaultStr - the default String to return - if the input is empty ("") or null, may be null
Returns:
the passed in String, or the default
See Also:
defaultString(String, String)
-
-
-
- -

-reverse

-
-public static String reverse(String str)
-
-

Reverses a String as per StringBuffer.reverse().

- -

A null String returns null.

- -
- StringUtils.reverse(null)  = null
- StringUtils.reverse("")    = ""
- StringUtils.reverse("bat") = "tab"
- 
-
Parameters:
str - the String to reverse, may be null
Returns:
the reversed String, null if null String input
-
-
-
- -

-reverseDelimited

-
-public static String reverseDelimited(String str,
-                                      char separatorChar)
-
-

Reverses a String that is delimited by a specific character.

- -

The Strings between the delimiters are not reversed. - Thus java.lang.String becomes String.lang.java (if the delimiter - is '.').

- -
- StringUtils.reverseDelimited(null, *)      = null
- StringUtils.reverseDelimited("", *)        = ""
- StringUtils.reverseDelimited("a.b.c", 'x') = "a.b.c"
- StringUtils.reverseDelimited("a.b.c", ".") = "c.b.a"
- 
-
Parameters:
str - the String to reverse, may be null
separatorChar - the separator character to use
Returns:
the reversed String, null if null String input
Since:
2.0
-
-
-
-
- -

-reverseDelimitedString

-
-public static String reverseDelimitedString(String str,
-                                            String separatorChars)
-
-
Deprecated. Use reverseDelimited(String, char) instead. - This method is broken as the join doesn't know which char to use. - Method will be removed in Commons Lang 3.0. -

-

Reverses a String that is delimited by a specific character.

- -

The Strings between the delimiters are not reversed. - Thus java.lang.String becomes String.lang.java (if the delimiter - is ".").

- -
- StringUtils.reverseDelimitedString(null, *)       = null
- StringUtils.reverseDelimitedString("",*)          = ""
- StringUtils.reverseDelimitedString("a.b.c", null) = "a.b.c"
- StringUtils.reverseDelimitedString("a.b.c", ".")  = "c.b.a"
- 
-
Parameters:
str - the String to reverse, may be null
separatorChars - the separator characters to use, null treated as whitespace
Returns:
the reversed String, null if null String input
-
-
-
- -

-abbreviate

-
-public static String abbreviate(String str,
-                                int maxWidth)
-
-

Abbreviates a String using ellipses. This will turn - "Now is the time for all good men" into "Now is the time for..."

- -

Specifically: -

    -
  • If str is less than maxWidth characters - long, return it.
  • -
  • Else abbreviate it to (substring(str, 0, max-3) + "...").
  • -
  • If maxWidth is less than 4, throw an - IllegalArgumentException.
  • -
  • In no case will it return a String of length greater than - maxWidth.
  • -
-

- -
- StringUtils.abbreviate(null, *)      = null
- StringUtils.abbreviate("", 4)        = ""
- StringUtils.abbreviate("abcdefg", 6) = "abc..."
- StringUtils.abbreviate("abcdefg", 7) = "abcdefg"
- StringUtils.abbreviate("abcdefg", 8) = "abcdefg"
- StringUtils.abbreviate("abcdefg", 4) = "a..."
- StringUtils.abbreviate("abcdefg", 3) = IllegalArgumentException
- 
-
Parameters:
str - the String to check, may be null
maxWidth - maximum length of result String, must be at least 4
Returns:
abbreviated String, null if null String input
Throws:
IllegalArgumentException - if the width is too small
Since:
2.0
-
-
-
-
- -

-abbreviate

-
-public static String abbreviate(String str,
-                                int offset,
-                                int maxWidth)
-
-

Abbreviates a String using ellipses. This will turn - "Now is the time for all good men" into "...is the time for..."

- -

Works like abbreviate(String, int), but allows you to specify - a "left edge" offset. Note that this left edge is not necessarily going to - be the leftmost character in the result, or the first character following the - ellipses, but it will appear somewhere in the result. - -

In no case will it return a String of length greater than - maxWidth.

- -
- StringUtils.abbreviate(null, *, *)                = null
- StringUtils.abbreviate("", 0, 4)                  = ""
- StringUtils.abbreviate("abcdefghijklmno", -1, 10) = "abcdefg..."
- StringUtils.abbreviate("abcdefghijklmno", 0, 10)  = "abcdefg..."
- StringUtils.abbreviate("abcdefghijklmno", 1, 10)  = "abcdefg..."
- StringUtils.abbreviate("abcdefghijklmno", 4, 10)  = "abcdefg..."
- StringUtils.abbreviate("abcdefghijklmno", 5, 10)  = "...fghi..."
- StringUtils.abbreviate("abcdefghijklmno", 6, 10)  = "...ghij..."
- StringUtils.abbreviate("abcdefghijklmno", 8, 10)  = "...ijklmno"
- StringUtils.abbreviate("abcdefghijklmno", 10, 10) = "...ijklmno"
- StringUtils.abbreviate("abcdefghijklmno", 12, 10) = "...ijklmno"
- StringUtils.abbreviate("abcdefghij", 0, 3)        = IllegalArgumentException
- StringUtils.abbreviate("abcdefghij", 5, 6)        = IllegalArgumentException
- 
-
Parameters:
str - the String to check, may be null
offset - left edge of source String
maxWidth - maximum length of result String, must be at least 4
Returns:
abbreviated String, null if null String input
Throws:
IllegalArgumentException - if the width is too small
Since:
2.0
-
-
-
-
- -

-difference

-
-public static String difference(String str1,
-                                String str2)
-
-

Compares two Strings, and returns the portion where they differ. - (More precisely, return the remainder of the second String, - starting from where it's different from the first.)

- -

For example, - difference("i am a machine", "i am a robot") -> "robot".

- -
- StringUtils.difference(null, null) = null
- StringUtils.difference("", "") = ""
- StringUtils.difference("", "abc") = "abc"
- StringUtils.difference("abc", "") = ""
- StringUtils.difference("abc", "abc") = ""
- StringUtils.difference("ab", "abxyz") = "xyz"
- StringUtils.difference("abcde", "abxyz") = "xyz"
- StringUtils.difference("abcde", "xyz") = "xyz"
- 
-
Parameters:
str1 - the first String, may be null
str2 - the second String, may be null
Returns:
the portion of str2 where it differs from str1; returns the - empty String if they are equal
Since:
2.0
-
-
-
-
- -

-indexOfDifference

-
-public static int indexOfDifference(String str1,
-                                    String str2)
-
-

Compares two Strings, and returns the index at which the - Strings begin to differ.

- -

For example, - indexOfDifference("i am a machine", "i am a robot") -> 7

- -
- StringUtils.indexOfDifference(null, null) = -1
- StringUtils.indexOfDifference("", "") = -1
- StringUtils.indexOfDifference("", "abc") = 0
- StringUtils.indexOfDifference("abc", "") = 0
- StringUtils.indexOfDifference("abc", "abc") = -1
- StringUtils.indexOfDifference("ab", "abxyz") = 2
- StringUtils.indexOfDifference("abcde", "abxyz") = 2
- StringUtils.indexOfDifference("abcde", "xyz") = 0
- 
-
Parameters:
str1 - the first String, may be null
str2 - the second String, may be null
Returns:
the index where str2 and str1 begin to differ; -1 if they are equal
Since:
2.0
-
-
-
-
- -

-getLevenshteinDistance

-
-public static int getLevenshteinDistance(String s,
-                                         String t)
-
-

Find the Levenshtein distance between two Strings.

- -

This is the number of changes needed to change one String into - another, where each change is a single character modification (deletion, - insertion or substitution).

- -

The previous implementation of the Levenshtein distance algorithm - was from http://www.merriampark.com/ld.htm

- -

Chas Emerick has written an implementation in Java, which avoids an OutOfMemoryError - which can occur when my Java implementation is used with very large strings.
- This implementation of the Levenshtein distance algorithm - is from http://www.merriampark.com/ldjava.htm

- -
- StringUtils.getLevenshteinDistance(null, *)             = IllegalArgumentException
- StringUtils.getLevenshteinDistance(*, null)             = IllegalArgumentException
- StringUtils.getLevenshteinDistance("","")               = 0
- StringUtils.getLevenshteinDistance("","a")              = 1
- StringUtils.getLevenshteinDistance("aaapppp", "")       = 7
- StringUtils.getLevenshteinDistance("frog", "fog")       = 1
- StringUtils.getLevenshteinDistance("fly", "ant")        = 3
- StringUtils.getLevenshteinDistance("elephant", "hippo") = 7
- StringUtils.getLevenshteinDistance("hippo", "elephant") = 7
- StringUtils.getLevenshteinDistance("hippo", "zzzzzzzz") = 8
- StringUtils.getLevenshteinDistance("hello", "hallo")    = 1
- 
-
Parameters:
s - the first String, must not be null
t - the second String, must not be null
Returns:
result distance
Throws:
IllegalArgumentException - if either String input null
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SystemUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SystemUtils.html deleted file mode 100644 index 69258c42..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/SystemUtils.html +++ /dev/null @@ -1,2248 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class SystemUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class SystemUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.SystemUtils
-
-
-
-
public class SystemUtils
extends Object
- -

-

Helpers for java.lang.System.

- -

If a system property cannot be read due to security restrictions, - the corresponding field in this class will be set to null - and a message will be written to System.err.

-

-

-
Since:
1.0
-
Version:
$Id: SystemUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Based on code from Avalon Excalibur, Based on code from Lucene, Stephen Colebourne, Steve Downey, Gary Gregory, Michael Becke, Tetsuya Kaneuchi, Rafal Krupinski, Jason Gritman
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static StringAWT_TOOLKIT - -
-          The awt.toolkit System Property.
-static StringFILE_ENCODING - -
-          The file.encoding System Property.
-static StringFILE_SEPARATOR - -
-          The file.separator System Property.
-static booleanIS_JAVA_1_1 - -
-          Is true if this is Java version 1.1 (also 1.1.x versions).
-static booleanIS_JAVA_1_2 - -
-          Is true if this is Java version 1.2 (also 1.2.x versions).
-static booleanIS_JAVA_1_3 - -
-          Is true if this is Java version 1.3 (also 1.3.x versions).
-static booleanIS_JAVA_1_4 - -
-          Is true if this is Java version 1.4 (also 1.4.x versions).
-static booleanIS_JAVA_1_5 - -
-          Is true if this is Java version 1.5 (also 1.5.x versions).
-static booleanIS_JAVA_1_6 - -
-          Is true if this is Java version 1.6 (also 1.6.x versions).
-static booleanIS_OS_AIX - -
-          Is true if this is AIX.
-static booleanIS_OS_HP_UX - -
-          Is true if this is HP-UX.
-static booleanIS_OS_IRIX - -
-          Is true if this is Irix.
-static booleanIS_OS_LINUX - -
-          Is true if this is Linux.
-static booleanIS_OS_MAC - -
-          Is true if this is Mac.
-static booleanIS_OS_MAC_OSX - -
-          Is true if this is Mac.
-static booleanIS_OS_OS2 - -
-          Is true if this is OS/2.
-static booleanIS_OS_SOLARIS - -
-          Is true if this is Solaris.
-static booleanIS_OS_SUN_OS - -
-          Is true if this is SunOS.
-static booleanIS_OS_UNIX - -
-          Is true if this is a POSIX compilant system, - as in any of AIX, HP-UX, Irix, Linux, MacOSX, Solaris or SUN OS.
-static booleanIS_OS_WINDOWS - -
-          Is true if this is Windows.
-static booleanIS_OS_WINDOWS_2000 - -
-          Is true if this is Windows 2000.
-static booleanIS_OS_WINDOWS_95 - -
-          Is true if this is Windows 95.
-static booleanIS_OS_WINDOWS_98 - -
-          Is true if this is Windows 98.
-static booleanIS_OS_WINDOWS_ME - -
-          Is true if this is Windows ME.
-static booleanIS_OS_WINDOWS_NT - -
-          Is true if this is Windows NT.
-static booleanIS_OS_WINDOWS_XP - -
-          Is true if this is Windows XP.
-static StringJAVA_AWT_FONTS - -
-          The java.awt.fonts System Property.
-static StringJAVA_AWT_GRAPHICSENV - -
-          The java.awt.graphicsenv System Property.
-static StringJAVA_AWT_HEADLESS - -
-           - The java.awt.headless System Property.
-static StringJAVA_AWT_PRINTERJOB - -
-          The java.awt.printerjob System Property.
-static StringJAVA_CLASS_PATH - -
-          The java.class.path System Property.
-static StringJAVA_CLASS_VERSION - -
-          The java.class.version System Property.
-static StringJAVA_COMPILER - -
-          The java.compiler System Property.
-static StringJAVA_ENDORSED_DIRS - -
-          The java.endorsed.dirs System Property.
-static StringJAVA_EXT_DIRS - -
-          The java.ext.dirs System Property.
-static StringJAVA_HOME - -
-          The java.home System Property.
-static StringJAVA_IO_TMPDIR - -
-          The java.io.tmpdir System Property.
-static StringJAVA_LIBRARY_PATH - -
-          The java.library.path System Property.
-static StringJAVA_RUNTIME_NAME - -
-          The java.runtime.name System Property.
-static StringJAVA_RUNTIME_VERSION - -
-          The java.runtime.version System Property.
-static StringJAVA_SPECIFICATION_NAME - -
-          The java.specification.name System Property.
-static StringJAVA_SPECIFICATION_VENDOR - -
-          The java.specification.vendor System Property.
-static StringJAVA_SPECIFICATION_VERSION - -
-          The java.specification.version System Property.
-static StringJAVA_UTIL_PREFS_PREFERENCES_FACTORY - -
-          The java.util.prefs.PreferencesFactory System Property.
-static StringJAVA_VENDOR - -
-          The java.vendor System Property.
-static StringJAVA_VENDOR_URL - -
-          The java.vendor.url System Property.
-static StringJAVA_VERSION - -
-          The java.version System Property.
-static floatJAVA_VERSION_FLOAT - -
-          Gets the Java version as a float.
-static intJAVA_VERSION_INT - -
-          Gets the Java version as an int.
-static StringJAVA_VERSION_TRIMMED - -
-          Gets the Java version as a String trimming leading letters.
-static StringJAVA_VM_INFO - -
-          The java.vm.info System Property.
-static StringJAVA_VM_NAME - -
-          The java.vm.name System Property.
-static StringJAVA_VM_SPECIFICATION_NAME - -
-          The java.vm.specification.name System Property.
-static StringJAVA_VM_SPECIFICATION_VENDOR - -
-          The java.vm.specification.vendor System Property.
-static StringJAVA_VM_SPECIFICATION_VERSION - -
-          The java.vm.specification.version System Property.
-static StringJAVA_VM_VENDOR - -
-          The java.vm.vendor System Property.
-static StringJAVA_VM_VERSION - -
-          The java.vm.version System Property.
-static StringLINE_SEPARATOR - -
-          The line.separator System Property.
-static StringOS_ARCH - -
-          The os.arch System Property.
-static StringOS_NAME - -
-          The os.name System Property.
-static StringOS_VERSION - -
-          The os.version System Property.
-static StringPATH_SEPARATOR - -
-          The path.separator System Property.
-static StringUSER_COUNTRY - -
-          The user.country or user.region System Property.
-static StringUSER_DIR - -
-          The user.dir System Property.
-static StringUSER_HOME - -
-          The user.home System Property.
-static StringUSER_LANGUAGE - -
-          The user.language System Property.
-static StringUSER_NAME - -
-          The user.name System Property.
-static StringUSER_TIMEZONE - -
-          The user.timezone System Property.
-  - - - - - - - - - - -
-Constructor Summary
SystemUtils() - -
-          SystemUtils instances should NOT be constructed in standard - programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static FilegetJavaHome() - -
-          Gets the Java home directory as a File.
-static FilegetJavaIoTmpDir() - -
-          Gets the Java IO temporary directory as a File.
-static floatgetJavaVersion() - -
-          Deprecated. Use JAVA_VERSION_FLOAT instead. - Method will be removed in Commons Lang 3.0.
-static FilegetUserDir() - -
-          Gets the user directory as a File.
-static FilegetUserHome() - -
-          Gets the user home directory as a File.
-static booleanisJavaAwtHeadless() - -
-          Returns whether the JAVA_AWT_HEADLESS value is true.
-static booleanisJavaVersionAtLeast(float requiredVersion) - -
-          Is the Java version at least the requested version.
-static booleanisJavaVersionAtLeast(int requiredVersion) - -
-          Is the Java version at least the requested version.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-AWT_TOOLKIT

-
-public static final String AWT_TOOLKIT
-
-

The awt.toolkit System Property.

-

Holds a class name, on Windows XP this is sun.awt.windows.WToolkit.

-

On platforms without a GUI, this value is null.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.1
-
-
-
-
- -

-FILE_ENCODING

-
-public static final String FILE_ENCODING
-
-

The file.encoding System Property.

-

File encoding, such as Cp1252.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.0
-
-
-
-
- -

-FILE_SEPARATOR

-
-public static final String FILE_SEPARATOR
-
-

The file.separator System Property. - File separator ("/" on UNIX).

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-JAVA_AWT_FONTS

-
-public static final String JAVA_AWT_FONTS
-
-

The java.awt.fonts System Property.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.1
-
-
-
-
- -

-JAVA_AWT_GRAPHICSENV

-
-public static final String JAVA_AWT_GRAPHICSENV
-
-

The java.awt.graphicsenv System Property.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.1
-
-
-
-
- -

-JAVA_AWT_HEADLESS

-
-public static final String JAVA_AWT_HEADLESS
-
-

- The java.awt.headless System Property. - The value of this property is the String "true" or "false". -

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
See Also:
isJavaAwtHeadless()
Since:
2.1
-
-
-
-
- -

-JAVA_AWT_PRINTERJOB

-
-public static final String JAVA_AWT_PRINTERJOB
-
-

The java.awt.printerjob System Property.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.1
-
-
-
-
- -

-JAVA_CLASS_PATH

-
-public static final String JAVA_CLASS_PATH
-
-

The java.class.path System Property. Java class path.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-JAVA_CLASS_VERSION

-
-public static final String JAVA_CLASS_VERSION
-
-

The java.class.version System Property. - Java class format version number.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-JAVA_COMPILER

-
-public static final String JAVA_COMPILER
-
-

The java.compiler System Property. Name of JIT compiler to use. - First in JDK version 1.2. Not used in Sun JDKs after 1.2.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2. Not used in Sun versions after 1.2.
-
-
-
-
- -

-JAVA_ENDORSED_DIRS

-
-public static final String JAVA_ENDORSED_DIRS
-
-

The java.endorsed.dirs System Property. Path of endorsed directory - or directories.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.4
-
-
-
-
- -

-JAVA_EXT_DIRS

-
-public static final String JAVA_EXT_DIRS
-
-

The java.ext.dirs System Property. Path of extension directory - or directories.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.3
-
-
-
-
- -

-JAVA_HOME

-
-public static final String JAVA_HOME
-
-

The java.home System Property. Java installation directory.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-JAVA_IO_TMPDIR

-
-public static final String JAVA_IO_TMPDIR
-
-

The java.io.tmpdir System Property. Default temp file path.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_LIBRARY_PATH

-
-public static final String JAVA_LIBRARY_PATH
-
-

The java.library.path System Property. List of paths to search - when loading libraries.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_RUNTIME_NAME

-
-public static final String JAVA_RUNTIME_NAME
-
-

The java.runtime.name System Property. Java Runtime Environment - name.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.0
-
-
-
-
- -

-JAVA_RUNTIME_VERSION

-
-public static final String JAVA_RUNTIME_VERSION
-
-

The java.runtime.version System Property. Java Runtime Environment - version.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.0
-
-
-
-
- -

-JAVA_SPECIFICATION_NAME

-
-public static final String JAVA_SPECIFICATION_NAME
-
-

The java.specification.name System Property. Java Runtime Environment - specification name.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_SPECIFICATION_VENDOR

-
-public static final String JAVA_SPECIFICATION_VENDOR
-
-

The java.specification.vendor System Property. Java Runtime Environment - specification vendor.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_SPECIFICATION_VERSION

-
-public static final String JAVA_SPECIFICATION_VERSION
-
-

The java.specification.version System Property. Java Runtime Environment - specification version.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.3
-
-
-
-
- -

-JAVA_UTIL_PREFS_PREFERENCES_FACTORY

-
-public static final String JAVA_UTIL_PREFS_PREFERENCES_FACTORY
-
-

The java.util.prefs.PreferencesFactory System Property. A class name.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.1
-
-
-
-
- -

-JAVA_VENDOR

-
-public static final String JAVA_VENDOR
-
-

The java.vendor System Property. Java vendor-specific string.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-JAVA_VENDOR_URL

-
-public static final String JAVA_VENDOR_URL
-
-

The java.vendor.url System Property. Java vendor URL.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-JAVA_VERSION

-
-public static final String JAVA_VERSION
-
-

The java.version System Property. Java version number.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-JAVA_VM_INFO

-
-public static final String JAVA_VM_INFO
-
-

The java.vm.info System Property. Java Virtual Machine implementation - info.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.0
-
-
-
-
- -

-JAVA_VM_NAME

-
-public static final String JAVA_VM_NAME
-
-

The java.vm.name System Property. Java Virtual Machine implementation - name.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_VM_SPECIFICATION_NAME

-
-public static final String JAVA_VM_SPECIFICATION_NAME
-
-

The java.vm.specification.name System Property. Java Virtual Machine - specification name.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_VM_SPECIFICATION_VENDOR

-
-public static final String JAVA_VM_SPECIFICATION_VENDOR
-
-

The java.vm.specification.vendor System Property. Java Virtual - Machine specification vendor.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_VM_SPECIFICATION_VERSION

-
-public static final String JAVA_VM_SPECIFICATION_VERSION
-
-

The java.vm.specification.version System Property. Java Virtual Machine - specification version.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_VM_VENDOR

-
-public static final String JAVA_VM_VENDOR
-
-

The java.vm.vendor System Property. Java Virtual Machine implementation - vendor.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-JAVA_VM_VERSION

-
-public static final String JAVA_VM_VERSION
-
-

The java.vm.version System Property. Java Virtual Machine - implementation version.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.2
-
-
-
-
- -

-LINE_SEPARATOR

-
-public static final String LINE_SEPARATOR
-
-

The line.separator System Property. Line separator - ("\n" on UNIX).

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-OS_ARCH

-
-public static final String OS_ARCH
-
-

The os.arch System Property. Operating system architecture.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-OS_NAME

-
-public static final String OS_NAME
-
-

The os.name System Property. Operating system name.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-OS_VERSION

-
-public static final String OS_VERSION
-
-

The os.version System Property. Operating system version.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-PATH_SEPARATOR

-
-public static final String PATH_SEPARATOR
-
-

The path.separator System Property. Path separator - (":" on UNIX).

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-USER_COUNTRY

-
-public static final String USER_COUNTRY
-
-

The user.country or user.region System Property. - User's country code, such as GB. First in JDK version 1.2 as - user.region. Renamed to user.country in 1.4

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.0
-
-
-
-
- -

-USER_DIR

-
-public static final String USER_DIR
-
-

The user.dir System Property. User's current working - directory.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-USER_HOME

-
-public static final String USER_HOME
-
-

The user.home System Property. User's home directory.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-USER_LANGUAGE

-
-public static final String USER_LANGUAGE
-
-

The user.language System Property. User's language code, - such as "en".

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.0
-
-
-
-
- -

-USER_NAME

-
-public static final String USER_NAME
-
-

The user.name System Property. User's account name.

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
Java 1.1
-
-
-
-
- -

-USER_TIMEZONE

-
-public static final String USER_TIMEZONE
-
-

The user.timezone System Property. - For example: "America/Los_Angeles".

- -

Defaults to null if the runtime does not have - security access to read this property or the property does not exist.

- -

- This value is initialized when the class is loaded. If System#setProperty(String,String) - or System#setProperties(java.util.Properties) is called after this class is loaded, the value - will be out of sync with that System property. -

-
Since:
2.1
-
-
-
-
- -

-JAVA_VERSION_TRIMMED

-
-public static final String JAVA_VERSION_TRIMMED
-
-

Gets the Java version as a String trimming leading letters.

- -

The field will return null if JAVA_VERSION is null.

-
Since:
2.1
-
-
-
-
- -

-JAVA_VERSION_FLOAT

-
-public static final float JAVA_VERSION_FLOAT
-
-

Gets the Java version as a float.

- -

Example return values:

-
    -
  • 1.2f for JDK 1.2 -
  • 1.31f for JDK 1.3.1 -
- -

The field will return zero if JAVA_VERSION is null.

-
Since:
2.0
-
-
-
-
- -

-JAVA_VERSION_INT

-
-public static final int JAVA_VERSION_INT
-
-

Gets the Java version as an int.

- -

Example return values:

-
    -
  • 120 for JDK 1.2 -
  • 131 for JDK 1.3.1 -
- -

The field will return zero if JAVA_VERSION is null.

-
Since:
2.0
-
-
-
-
- -

-IS_JAVA_1_1

-
-public static final boolean IS_JAVA_1_1
-
-

Is true if this is Java version 1.1 (also 1.1.x versions).

- -

The field will return false if JAVA_VERSION is - null.

-
- -

-IS_JAVA_1_2

-
-public static final boolean IS_JAVA_1_2
-
-

Is true if this is Java version 1.2 (also 1.2.x versions).

- -

The field will return false if JAVA_VERSION is - null.

-
- -

-IS_JAVA_1_3

-
-public static final boolean IS_JAVA_1_3
-
-

Is true if this is Java version 1.3 (also 1.3.x versions).

- -

The field will return false if JAVA_VERSION is - null.

-
- -

-IS_JAVA_1_4

-
-public static final boolean IS_JAVA_1_4
-
-

Is true if this is Java version 1.4 (also 1.4.x versions).

- -

The field will return false if JAVA_VERSION is - null.

-
- -

-IS_JAVA_1_5

-
-public static final boolean IS_JAVA_1_5
-
-

Is true if this is Java version 1.5 (also 1.5.x versions).

- -

The field will return false if JAVA_VERSION is - null.

-
- -

-IS_JAVA_1_6

-
-public static final boolean IS_JAVA_1_6
-
-

Is true if this is Java version 1.6 (also 1.6.x versions).

- -

The field will return false if JAVA_VERSION is - null.

-
- -

-IS_OS_AIX

-
-public static final boolean IS_OS_AIX
-
-

Is true if this is AIX.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_HP_UX

-
-public static final boolean IS_OS_HP_UX
-
-

Is true if this is HP-UX.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_IRIX

-
-public static final boolean IS_OS_IRIX
-
-

Is true if this is Irix.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_LINUX

-
-public static final boolean IS_OS_LINUX
-
-

Is true if this is Linux.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_MAC

-
-public static final boolean IS_OS_MAC
-
-

Is true if this is Mac.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_MAC_OSX

-
-public static final boolean IS_OS_MAC_OSX
-
-

Is true if this is Mac.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_OS2

-
-public static final boolean IS_OS_OS2
-
-

Is true if this is OS/2.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_SOLARIS

-
-public static final boolean IS_OS_SOLARIS
-
-

Is true if this is Solaris.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_SUN_OS

-
-public static final boolean IS_OS_SUN_OS
-
-

Is true if this is SunOS.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_UNIX

-
-public static final boolean IS_OS_UNIX
-
-

Is true if this is a POSIX compilant system, - as in any of AIX, HP-UX, Irix, Linux, MacOSX, Solaris or SUN OS.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.1
-
-
-
-
- -

-IS_OS_WINDOWS

-
-public static final boolean IS_OS_WINDOWS
-
-

Is true if this is Windows.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_WINDOWS_2000

-
-public static final boolean IS_OS_WINDOWS_2000
-
-

Is true if this is Windows 2000.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_WINDOWS_95

-
-public static final boolean IS_OS_WINDOWS_95
-
-

Is true if this is Windows 95.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_WINDOWS_98

-
-public static final boolean IS_OS_WINDOWS_98
-
-

Is true if this is Windows 98.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_WINDOWS_ME

-
-public static final boolean IS_OS_WINDOWS_ME
-
-

Is true if this is Windows ME.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_WINDOWS_NT

-
-public static final boolean IS_OS_WINDOWS_NT
-
-

Is true if this is Windows NT.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
-
- -

-IS_OS_WINDOWS_XP

-
-public static final boolean IS_OS_WINDOWS_XP
-
-

Is true if this is Windows XP.

- -

The field will return false if OS_NAME is - null.

-
Since:
2.0
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-SystemUtils

-
-public SystemUtils()
-
-

SystemUtils instances should NOT be constructed in standard - programming. Instead, the class should be used as - SystemUtils.FILE_SEPARATOR.

- -

This constructor is public to permit tools that require a JavaBean - instance to operate.

- - - - - - - - -
-Method Detail
- -

-getJavaVersion

-
-public static float getJavaVersion()
-
-
Deprecated. Use JAVA_VERSION_FLOAT instead. - Method will be removed in Commons Lang 3.0. -

-

Gets the Java version number as a float.

- -

Example return values:

-
    -
  • 1.2f for JDK 1.2 -
  • 1.31f for JDK 1.3.1 -
-
Returns:
the version, for example 1.31f for JDK 1.3.1
-
-
-
- -

-isJavaVersionAtLeast

-
-public static boolean isJavaVersionAtLeast(float requiredVersion)
-
-

Is the Java version at least the requested version.

- -

Example input:

-
    -
  • 1.2f to test for JDK 1.2
  • -
  • 1.31f to test for JDK 1.3.1
  • -
-
Parameters:
requiredVersion - the required version, for example 1.31f
Returns:
true if the actual version is equal or greater - than the required version
-
-
-
- -

-isJavaVersionAtLeast

-
-public static boolean isJavaVersionAtLeast(int requiredVersion)
-
-

Is the Java version at least the requested version.

- -

Example input:

-
    -
  • 120 to test for JDK 1.2 or greater
  • -
  • 131 to test for JDK 1.3.1 or greater
  • -
-
Parameters:
requiredVersion - the required version, for example 131
Returns:
true if the actual version is equal or greater - than the required version
Since:
2.0
-
-
-
-
- -

-isJavaAwtHeadless

-
-public static boolean isJavaAwtHeadless()
-
-
Returns whether the JAVA_AWT_HEADLESS value is true.
-
Returns:
true if JAVA_AWT_HEADLESS is "true", - false otherwise.
Since:
2.1
-
See Also:
JAVA_AWT_HEADLESS
-
-
-
- -

-getJavaHome

-
-public static File getJavaHome()
-
-

Gets the Java home directory as a File.

-
Returns:
a directory
Throws:
SecurityException - if a security manager exists and its - checkPropertyAccess method doesn't allow - access to the specified system property.
Since:
2.1
-
See Also:
System#getProperty(String)
-
-
-
- -

-getJavaIoTmpDir

-
-public static File getJavaIoTmpDir()
-
-

Gets the Java IO temporary directory as a File.

-
Returns:
a directory
Throws:
SecurityException - if a security manager exists and its - checkPropertyAccess method doesn't allow - access to the specified system property.
Since:
2.1
-
See Also:
System#getProperty(String)
-
-
-
- -

-getUserDir

-
-public static File getUserDir()
-
-

Gets the user directory as a File.

-
Returns:
a directory
Throws:
SecurityException - if a security manager exists and its - checkPropertyAccess method doesn't allow - access to the specified system property.
Since:
2.1
-
See Also:
System#getProperty(String)
-
-
-
- -

-getUserHome

-
-public static File getUserHome()
-
-

Gets the user home directory as a File.

-
Returns:
a directory
Throws:
SecurityException - if a security manager exists and its - checkPropertyAccess method doesn't allow - access to the specified system property.
Since:
2.1
-
See Also:
System#getProperty(String)
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/UnhandledException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/UnhandledException.html deleted file mode 100644 index 6a9cc063..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/UnhandledException.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class UnhandledException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class UnhandledException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--java.lang.RuntimeException
-                    |
-                    +--org.apache.commons.lang.exception.NestableRuntimeException
-                          |
-                          +--org.apache.commons.lang.UnhandledException
-
-
-
All Implemented Interfaces:
Nestable, Serializable
-
-
-
-
public class UnhandledException
extends NestableRuntimeException
- -

-

Thrown when it is impossible or undesirable to consume or throw a checked exception.

- This exception supplements the standard exception classes by providing a more - semantically rich description of the problem.

- -

UnhandledException represents the case where a method has to deal - with a checked exception but does not wish to. - Instead, the checked exception is rethrown in this unchecked wrapper.

- -
- public void foo() {
-   try {
-     // do something that throws IOException
-   } catch (IOException ex) {
-     // don't want to or can't throw IOException from foo()
-     throw new UnhandledException(ex);
-   }
- }
- 
-

-

-
Since:
2.0
-
Version:
$Id: UnhandledException.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Matthew Hawthorne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - -
Fields inherited from class org.apache.commons.lang.exception.NestableRuntimeException
delegate
-  - - - - - - - - - - - - - -
-Constructor Summary
UnhandledException(String message, - Throwable cause) - -
-          Constructs the exception using a message and cause.
UnhandledException(Throwable cause) - -
-          Constructs the exception using a cause.
-  - - - - - - - - - - -
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-UnhandledException

-
-public UnhandledException(Throwable cause)
-
-
Constructs the exception using a cause.
-
Parameters:
cause - the underlying cause
-
-
-
- -

-UnhandledException

-
-public UnhandledException(String message,
-                          Throwable cause)
-
-
Constructs the exception using a message and cause.
-
Parameters:
message - the message to use
cause - the underlying cause
-
-
- - - - -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/Validate.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/Validate.html deleted file mode 100644 index b10f590a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/Validate.html +++ /dev/null @@ -1,854 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class Validate - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class Validate

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.Validate
-
-
-
-
public class Validate
extends Object
- -

-

Assists in validating arguments.

- -

The class is based along the lines of JUnit. If an argument value is - deemed invalid, an IllegalArgumentException is thrown. For example:

- -
- Validate.isTrue( i > 0, "The value must be greater than zero: ", i);
- Validate.notNull( surname, "The surname must not be null");
- 
-

-

-
Since:
2.0
-
Version:
$Id: Validate.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Ola Berg, Stephen Colebourne, Gary Gregory, Norm Deane
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Validate() - -
-          Constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static voidallElementsOfType(Collection collection, - Class clazz) - -
-           - Validate an argument, throwing IllegalArgumentException if the argument collection is - null or has elements that are not of type clazz or a subclass.
-static voidallElementsOfType(Collection collection, - Class clazz, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument collection is null or has elements that - are not of type clazz or a subclass.
-static voidisTrue(boolean expression) - -
-          Validate an argument, throwing IllegalArgumentException - if the test result is false.
-static voidisTrue(boolean expression, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the test result is false.
-static voidisTrue(boolean expression, - String message, - double value) - -
-          Validate an argument, throwing IllegalArgumentException - if the test result is false.
-static voidisTrue(boolean expression, - String message, - long value) - -
-          Validate an argument, throwing IllegalArgumentException - if the test result is false.
-static voidisTrue(boolean expression, - String message, - Object value) - -
-          Validate an argument, throwing IllegalArgumentException - if the test result is false.
-static voidnoNullElements(Collection collection) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument Collection has null elements or is - null.
-static voidnoNullElements(Collection collection, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument Collection has null elements or is - null.
-static voidnoNullElements(Object[] array) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument array has null elements or is - null.
-static voidnoNullElements(Object[] array, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument array has null elements or is - null.
-static voidnotEmpty(Collection collection) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument Collection is empty (null or no elements).
-static voidnotEmpty(Collection collection, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument Collection is empty (null or no elements).
-static voidnotEmpty(Map map) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument Map is empty (null or no elements).
-static voidnotEmpty(Map map, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument Map is empty (null or no elements).
-static voidnotEmpty(Object[] array) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument array is empty (null or no elements).
-static voidnotEmpty(Object[] array, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument array is empty (null or no elements).
-static voidnotEmpty(String string) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument String is empty (null or zero length).
-static voidnotEmpty(String string, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument String is empty (null or zero length).
-static voidnotNull(Object object) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument is null.
-static voidnotNull(Object object, - String message) - -
-          Validate an argument, throwing IllegalArgumentException - if the argument is null.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Validate

-
-public Validate()
-
-
Constructor. This class should not normally be instantiated.
- - - - - - - - -
-Method Detail
- -

-isTrue

-
-public static void isTrue(boolean expression,
-                          String message,
-                          Object value)
-
-

Validate an argument, throwing IllegalArgumentException - if the test result is false.

- -

This is used when validating according to an arbitrary boolean expression, - such as validating a primitive number or using your own custom validation - expression.

- -
- Validate.isTrue( myObject.isOk(), "The object is not OK: ", myObject);
- 
- -

For performance reasons, the object is passed as a separate parameter and - appended to the message string only in the case of an error.

-
Parameters:
expression - a boolean expression
message - the exception message you would like to see if the - expression is false
value - the value to append to the message in case of error
Throws:
IllegalArgumentException - if expression is false
-
-
-
- -

-isTrue

-
-public static void isTrue(boolean expression,
-                          String message,
-                          long value)
-
-

Validate an argument, throwing IllegalArgumentException - if the test result is false.

- -

This is used when validating according to an arbitrary boolean expression, - such as validating a primitive number or using your own custom validation - expression.

- -
- Validate.isTrue( i > 0, "The value must be greater than zero: ", i);
- 
- -

For performance reasons, the long value is passed as a separate parameter and - appended to the message string only in the case of an error.

-
Parameters:
expression - a boolean expression
message - the exception message you would like to see if the expression is false
value - the value to append to the message in case of error
Throws:
IllegalArgumentException - if expression is false
-
-
-
- -

-isTrue

-
-public static void isTrue(boolean expression,
-                          String message,
-                          double value)
-
-

Validate an argument, throwing IllegalArgumentException - if the test result is false.

- -

This is used when validating according to an arbitrary boolean expression, - such as validating a primitive number or using your own custom validation - expression.

- -
- Validate.isTrue( d > 0.0, "The value must be greater than zero: ", d);
- 
- -

For performance reasons, the double value is passed as a separate parameter and - appended to the message string only in the case of an error.

-
Parameters:
expression - a boolean expression
message - the exception message you would like to see if the expression - is false
value - the value to append to the message in case of error
Throws:
IllegalArgumentException - if expression is false
-
-
-
- -

-isTrue

-
-public static void isTrue(boolean expression,
-                          String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the test result is false.

- -

This is used when validating according to an arbitrary boolean expression, - such as validating a primitive number or using your own custom validation - expression.

- -
- Validate.isTrue( (i > 0), "The value must be greater than zero");
- Validate.isTrue( myObject.isOk(), "The object is not OK");
- 
- -

For performance reasons, the message string should not involve a string append, - instead use the isTrue(boolean, String, Object) method.

-
Parameters:
expression - a boolean expression
message - the exception message you would like to see if the expression - is false
Throws:
IllegalArgumentException - if expression is false
-
-
-
- -

-isTrue

-
-public static void isTrue(boolean expression)
-
-

Validate an argument, throwing IllegalArgumentException - if the test result is false.

- -

This is used when validating according to an arbitrary boolean expression, - such as validating a primitive number or using your own custom validation - expression.

- -
- Validate.isTrue( i > 0 );
- Validate.isTrue( myObject.isOk() );
- 
- -

The message in the exception is 'The validated expression is false'.

-
Parameters:
expression - a boolean expression
Throws:
IllegalArgumentException - if expression is false
-
-
-
- -

-notNull

-
-public static void notNull(Object object,
-                           String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument is null.

- -
- Validate.notNull(myObject, "The object must not be null");
- 
-
Parameters:
object - the object to check is not null
message - the exception message you would like to see - if the object is null
Throws:
IllegalArgumentException - if the object is null
-
-
-
- -

-notNull

-
-public static void notNull(Object object)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument is null.

- -
- Validate.notNull(myObject);
- 
- -

The message in the exception is 'The validated object is null'.

-
Parameters:
object - the object to check is not null
Throws:
IllegalArgumentException - if the object is null
-
-
-
- -

-notEmpty

-
-public static void notEmpty(Object[] array,
-                            String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument array is empty (null or no elements).

- -
- Validate.notEmpty(myArray, "The array must not be empty");
- 
-
Parameters:
array - the array to check is not empty
message - the exception message you would like to see if the array is empty
Throws:
IllegalArgumentException - if the array is empty
-
-
-
- -

-notEmpty

-
-public static void notEmpty(Object[] array)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument array is empty (null or no elements).

- -
- Validate.notEmpty(myArray);
- 
- -

The message in the exception is 'The validated array is empty'.

-
Parameters:
array - the array to check is not empty
Throws:
IllegalArgumentException - if the array is empty
-
-
-
- -

-notEmpty

-
-public static void notEmpty(Collection collection,
-                            String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument Collection is empty (null or no elements).

- -
- Validate.notEmpty(myCollection, "The collection must not be empty");
- 
-
Parameters:
collection - the collection to check is not empty
message - the exception message you would like to see if the collection is empty
Throws:
IllegalArgumentException - if the collection is empty
-
-
-
- -

-notEmpty

-
-public static void notEmpty(Collection collection)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument Collection is empty (null or no elements).

- -
- Validate.notEmpty(myCollection);
- 
- -

The message in the exception is 'The validated collection is empty'.

-
Parameters:
collection - the collection to check is not empty
Throws:
IllegalArgumentException - if the collection is empty
-
-
-
- -

-notEmpty

-
-public static void notEmpty(Map map,
-                            String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument Map is empty (null or no elements).

- -
- Validate.notEmpty(myMap, "The map must not be empty");
- 
-
Parameters:
map - the map to check is not empty
message - the exception message you would like to see if the map is empty
Throws:
IllegalArgumentException - if the map is empty
-
-
-
- -

-notEmpty

-
-public static void notEmpty(Map map)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument Map is empty (null or no elements).

- -
- Validate.notEmpty(myMap);
- 
- -

The message in the exception is 'The validated map is empty'.

-
Parameters:
map - the map to check is not empty
Throws:
IllegalArgumentException - if the map is empty
-
-
-
- -

-notEmpty

-
-public static void notEmpty(String string,
-                            String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument String is empty (null or zero length).

- -
- Validate.notEmpty(myString, "The string must not be empty");
- 
-
Parameters:
string - the string to check is not empty
message - the exception message you would like to see if the string is empty
Throws:
IllegalArgumentException - if the string is empty
-
-
-
- -

-notEmpty

-
-public static void notEmpty(String string)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument String is empty (null or zero length).

- -
- Validate.notEmpty(myString);
- 
- -

The message in the exception is 'The validated string is empty'.

-
Parameters:
string - the string to check is not empty
Throws:
IllegalArgumentException - if the string is empty
-
-
-
- -

-noNullElements

-
-public static void noNullElements(Object[] array,
-                                  String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument array has null elements or is - null.

- -
- Validate.noNullElements(myArray, "The array must not contain null elements");
- 
- -

If the array is null then the message in the exception is 'The validated object is null'.

-
Parameters:
array - the array to check
message - the exception message if the array has - null elements
Throws:
IllegalArgumentException - if the array has null - elements or is null
-
-
-
- -

-noNullElements

-
-public static void noNullElements(Object[] array)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument array has null elements or is - null.

- -
- Validate.noNullElements(myArray);
- 
- -

If the array has a null element the message in the exception is - 'The validated array contains null element at index: '.

- -

If the array is null then the message in the exception is 'The validated object is null'.

-
Parameters:
array - the array to check
Throws:
IllegalArgumentException - if the array has null - elements or is null
-
-
-
- -

-noNullElements

-
-public static void noNullElements(Collection collection,
-                                  String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument Collection has null elements or is - null.

- -
- Validate.noNullElements(myCollection, "The collection must not contain null elements");
- 
- -

If the collection is null then the message in the exception is 'The validated object is null'.

-
Parameters:
collection - the collection to check
message - the exception message if the collection has - null elements
Throws:
IllegalArgumentException - if the collection has - null elements or is null
-
-
-
- -

-noNullElements

-
-public static void noNullElements(Collection collection)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument Collection has null elements or is - null.

- -
- Validate.noNullElements(myCollection);
- 
- -

The message in the exception is 'The validated collection contains null element at index: '.

- -

If the collection is null then the message in the exception is 'The validated object is null'.

-
Parameters:
collection - the collection to check
Throws:
IllegalArgumentException - if the collection has - null elements or is null
-
-
-
- -

-allElementsOfType

-
-public static void allElementsOfType(Collection collection,
-                                     Class clazz,
-                                     String message)
-
-

Validate an argument, throwing IllegalArgumentException - if the argument collection is null or has elements that - are not of type clazz or a subclass.

- -
- Validate.allElementsOfType(collection, String.class, "Collection has invalid elements");
- 
-
Parameters:
collection - the collection to check, not null
clazz - the Class which the collection's elements are expected to be, not null
message - the exception message if the Collection has elements not of type clazz
Since:
2.1
-
-
-
-
- -

-allElementsOfType

-
-public static void allElementsOfType(Collection collection,
-                                     Class clazz)
-
-

- Validate an argument, throwing IllegalArgumentException if the argument collection is - null or has elements that are not of type clazz or a subclass. -

- -
- Validate.allElementsOfType(collection, String.class);
- 
- -

- The message in the exception is 'The validated collection contains an element not of type clazz at index: '. -

-
Parameters:
collection - the collection to check, not null
clazz - the Class which the collection's elements are expected to be, not null
Since:
2.1
-
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/WordUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/WordUtils.html deleted file mode 100644 index 1c3e1026..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/WordUtils.html +++ /dev/null @@ -1,603 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class WordUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang -
-Class WordUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.WordUtils
-
-
-
-
public class WordUtils
extends Object
- -

-

Operations on Strings that contain words.

- -

This class tries to handle null input gracefully. - An exception will not be thrown for a null input. - Each method documents its behaviour in more detail.

-

-

-
Since:
2.0
-
Version:
$Id: WordUtils.java 471626 2006-11-06 04:02:09Z bayard $
-
Author:
Apache Jakarta Velocity, Stephen Colebourne, Henning P. Schmiedehausen, Gary Gregory
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
WordUtils() - -
-          WordUtils instances should NOT be constructed in - standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static Stringcapitalize(String str) - -
-          Capitalizes all the whitespace separated words in a String.
-static Stringcapitalize(String str, - char[] delimiters) - -
-          Capitalizes all the delimiter separated words in a String.
-static StringcapitalizeFully(String str) - -
-          Converts all the whitespace separated words in a String into capitalized words, - that is each word is made up of a titlecase character and then a series of - lowercase characters.
-static StringcapitalizeFully(String str, - char[] delimiters) - -
-          Converts all the delimiter separated words in a String into capitalized words, - that is each word is made up of a titlecase character and then a series of - lowercase characters.
-static Stringinitials(String str) - -
-          Extracts the initial letters from each word in the String.
-static Stringinitials(String str, - char[] delimiters) - -
-          Extracts the initial letters from each word in the String.
-static StringswapCase(String str) - -
-          Swaps the case of a String using a word based algorithm.
-static Stringuncapitalize(String str) - -
-          Uncapitalizes all the whitespace separated words in a String.
-static Stringuncapitalize(String str, - char[] delimiters) - -
-          Uncapitalizes all the whitespace separated words in a String.
-static Stringwrap(String str, - int wrapLength) - -
-          Wraps a single line of text, identifying words by ' '.
-static Stringwrap(String str, - int wrapLength, - String newLineStr, - boolean wrapLongWords) - -
-          Wraps a single line of text, identifying words by ' '.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-WordUtils

-
-public WordUtils()
-
-

WordUtils instances should NOT be constructed in - standard programming. Instead, the class should be used as - WordUtils.wrap("foo bar", 20);.

- -

This constructor is public to permit tools that require a JavaBean - instance to operate.

- - - - - - - - -
-Method Detail
- -

-wrap

-
-public static String wrap(String str,
-                          int wrapLength)
-
-

Wraps a single line of text, identifying words by ' '.

- -

New lines will be separated by the system property line separator. - Very long words, such as URLs will not be wrapped.

- -

Leading spaces on a new line are stripped. - Trailing spaces are not stripped.

- -
- WordUtils.wrap(null, *) = null
- WordUtils.wrap("", *) = ""
- 
-
Parameters:
str - the String to be word wrapped, may be null
wrapLength - the column to wrap the words at, less than 1 is treated as 1
Returns:
a line with newlines inserted, null if null input
-
-
-
- -

-wrap

-
-public static String wrap(String str,
-                          int wrapLength,
-                          String newLineStr,
-                          boolean wrapLongWords)
-
-

Wraps a single line of text, identifying words by ' '.

- -

Leading spaces on a new line are stripped. - Trailing spaces are not stripped.

- -
- WordUtils.wrap(null, *, *, *) = null
- WordUtils.wrap("", *, *, *) = ""
- 
-
Parameters:
str - the String to be word wrapped, may be null
wrapLength - the column to wrap the words at, less than 1 is treated as 1
newLineStr - the string to insert for a new line, - null uses the system property line separator
wrapLongWords - true if long words (such as URLs) should be wrapped
Returns:
a line with newlines inserted, null if null input
-
-
-
- -

-capitalize

-
-public static String capitalize(String str)
-
-

Capitalizes all the whitespace separated words in a String. - Only the first letter of each word is changed. To convert the - rest of each word to lowercase at the same time, - use capitalizeFully(String).

- -

Whitespace is defined by Character.isWhitespace(char). - A null input String returns null. - Capitalization uses the unicode title case, normally equivalent to - upper case.

- -
- WordUtils.capitalize(null)        = null
- WordUtils.capitalize("")          = ""
- WordUtils.capitalize("i am FINE") = "I Am FINE"
- 
-
Parameters:
str - the String to capitalize, may be null
Returns:
capitalized String, null if null String input
See Also:
uncapitalize(String), -capitalizeFully(String)
-
-
-
- -

-capitalize

-
-public static String capitalize(String str,
-                                char[] delimiters)
-
-

Capitalizes all the delimiter separated words in a String. - Only the first letter of each word is changed. To convert the - rest of each word to lowercase at the same time, - use capitalizeFully(String, char[]).

- -

The delimiters represent a set of characters understood to separate words. - The first string character and the first non-delimiter character after a - delimiter will be capitalized.

- -

A null input String returns null. - Capitalization uses the unicode title case, normally equivalent to - upper case.

- -
- WordUtils.capitalize(null, *)            = null
- WordUtils.capitalize("", *)              = ""
- WordUtils.capitalize(*, new char[0])     = *
- WordUtils.capitalize("i am fine", null)  = "I Am Fine"
- WordUtils.capitalize("i aM.fine", {'.'}) = "I aM.Fine"
- 
-
Parameters:
str - the String to capitalize, may be null
delimiters - set of characters to determine capitalization, null means whitespace
Returns:
capitalized String, null if null String input
Since:
2.1
-
See Also:
uncapitalize(String), -capitalizeFully(String)
-
-
-
- -

-capitalizeFully

-
-public static String capitalizeFully(String str)
-
-

Converts all the whitespace separated words in a String into capitalized words, - that is each word is made up of a titlecase character and then a series of - lowercase characters.

- -

Whitespace is defined by Character.isWhitespace(char). - A null input String returns null. - Capitalization uses the unicode title case, normally equivalent to - upper case.

- -
- WordUtils.capitalizeFully(null)        = null
- WordUtils.capitalizeFully("")          = ""
- WordUtils.capitalizeFully("i am FINE") = "I Am Fine"
- 
-
Parameters:
str - the String to capitalize, may be null
Returns:
capitalized String, null if null String input
-
-
-
- -

-capitalizeFully

-
-public static String capitalizeFully(String str,
-                                     char[] delimiters)
-
-

Converts all the delimiter separated words in a String into capitalized words, - that is each word is made up of a titlecase character and then a series of - lowercase characters.

- -

The delimiters represent a set of characters understood to separate words. - The first string character and the first non-delimiter character after a - delimiter will be capitalized.

- -

A null input String returns null. - Capitalization uses the unicode title case, normally equivalent to - upper case.

- -
- WordUtils.capitalizeFully(null, *)            = null
- WordUtils.capitalizeFully("", *)              = ""
- WordUtils.capitalizeFully(*, null)            = *
- WordUtils.capitalizeFully(*, new char[0])     = *
- WordUtils.capitalizeFully("i aM.fine", {'.'}) = "I am.Fine"
- 
-
Parameters:
str - the String to capitalize, may be null
delimiters - set of characters to determine capitalization, null means whitespace
Returns:
capitalized String, null if null String input
Since:
2.1
-
-
-
-
- -

-uncapitalize

-
-public static String uncapitalize(String str)
-
-

Uncapitalizes all the whitespace separated words in a String. - Only the first letter of each word is changed.

- -

Whitespace is defined by Character.isWhitespace(char). - A null input String returns null.

- -
- WordUtils.uncapitalize(null)        = null
- WordUtils.uncapitalize("")          = ""
- WordUtils.uncapitalize("I Am FINE") = "i am fINE"
- 
-
Parameters:
str - the String to uncapitalize, may be null
Returns:
uncapitalized String, null if null String input
See Also:
capitalize(String)
-
-
-
- -

-uncapitalize

-
-public static String uncapitalize(String str,
-                                  char[] delimiters)
-
-

Uncapitalizes all the whitespace separated words in a String. - Only the first letter of each word is changed.

- -

The delimiters represent a set of characters understood to separate words. - The first string character and the first non-delimiter character after a - delimiter will be uncapitalized.

- -

Whitespace is defined by Character.isWhitespace(char). - A null input String returns null.

- -
- WordUtils.uncapitalize(null, *)            = null
- WordUtils.uncapitalize("", *)              = ""
- WordUtils.uncapitalize(*, null)            = *
- WordUtils.uncapitalize(*, new char[0])     = *
- WordUtils.uncapitalize("I AM.FINE", {'.'}) = "i AM.fINE"
- 
-
Parameters:
str - the String to uncapitalize, may be null
delimiters - set of characters to determine uncapitalization, null means whitespace
Returns:
uncapitalized String, null if null String input
Since:
2.1
-
See Also:
capitalize(String)
-
-
-
- -

-swapCase

-
-public static String swapCase(String str)
-
-

Swaps the case of a String using a word based algorithm.

- -
    -
  • Upper case character converts to Lower case
  • -
  • Title case character converts to Lower case
  • -
  • Lower case character after Whitespace or at start converts to Title case
  • -
  • Other Lower case character converts to Upper case
  • -
- -

Whitespace is defined by Character.isWhitespace(char). - A null input String returns null.

- -
- StringUtils.swapCase(null)                 = null
- StringUtils.swapCase("")                   = ""
- StringUtils.swapCase("The dog has a BONE") = "tHE DOG HAS A bone"
- 
-
Parameters:
str - the String to swap case, may be null
Returns:
the changed String, null if null String input
-
-
-
- -

-initials

-
-public static String initials(String str)
-
-

Extracts the initial letters from each word in the String.

- -

The first letter of the string and all first letters after - whitespace are returned as a new string. - Their case is not changed.

- -

Whitespace is defined by Character.isWhitespace(char). - A null input String returns null.

- -
- WordUtils.initials(null)             = null
- WordUtils.initials("")               = ""
- WordUtils.initials("Ben John Lee")   = "BJL"
- WordUtils.initials("Ben J.Lee")      = "BJ"
- 
-
Parameters:
str - the String to get initials from, may be null
Returns:
String of initial letters, null if null String input
Since:
2.2
-
See Also:
initials(String,char[])
-
-
-
- -

-initials

-
-public static String initials(String str,
-                              char[] delimiters)
-
-

Extracts the initial letters from each word in the String.

- -

The first letter of the string and all first letters after the - defined delimiters are returned as a new string. - Their case is not changed.

- -

If the delimiters array is null, then Whitespace is used. - Whitespace is defined by Character.isWhitespace(char). - A null input String returns null. - An empty delimiter array returns an empty String.

- -
- WordUtils.initials(null, *)                = null
- WordUtils.initials("", *)                  = ""
- WordUtils.initials("Ben John Lee", null)   = "BJL"
- WordUtils.initials("Ben J.Lee", null)      = "BJ"
- WordUtils.initials("Ben J.Lee", [' ','.']) = "BJL"
- WordUtils.initials(*, new char[0])         = ""
- 
-
Parameters:
str - the String to get initials from, may be null
delimiters - set of characters to determine words, null means whitespace
Returns:
String of initial letters, null if null String input
Since:
2.2
-
See Also:
initials(String)
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/CompareToBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/CompareToBuilder.html deleted file mode 100644 index 9ecead73..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/CompareToBuilder.html +++ /dev/null @@ -1,1138 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class CompareToBuilder - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.builder -
-Class CompareToBuilder

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.builder.CompareToBuilder
-
-
-
-
public class CompareToBuilder
extends Object
- -

-Assists in implementing Comparable.compareTo(Object) methods. - - It is consistent with equals(Object) and - hashcode() built with EqualsBuilder and - HashCodeBuilder.

- -

Two Objects that compare equal using equals(Object) should normally - also compare equal using compareTo(Object).

- -

All relevant fields should be included in the calculation of the - comparison. Derived fields may be ignored. The same fields, in the same - order, should be used in both compareTo(Object) and - equals(Object).

- -

To use this class write code as follows:

- -
- public class MyClass {
-   String field1;
-   int field2;
-   boolean field3;
-
-   ...
-
-   public int compareTo(Object o) {
-     MyClass myClass = (MyClass) o;
-     return new CompareToBuilder()
-       .appendSuper(super.compareTo(o)
-       .append(this.field1, myClass.field1)
-       .append(this.field2, myClass.field2)
-       .append(this.field3, myClass.field3)
-       .toComparison();
-   }
- }
- 
- -

Alternatively, there are reflectionCompare methods that use - reflection to determine the fields to append. Because fields can be private, - reflectionCompare uses AccessibleObject.setAccessible(boolean) to - bypass normal access control checks. This will fail under a security manager, - unless the appropriate permissions are set up correctly. It is also - slower than appending explicitly.

- -

A typical implementation of compareTo(Object) using - reflectionCompare looks like:

- -
- public int compareTo(Object o) {
-   return CompareToBuilder.reflectionCompare(this, o);
- }
- 
-

-

-
Since:
1.0
-
Version:
$Id: CompareToBuilder.java 447139 2006-09-17 20:36:53Z bayard $
-
Author:
Steve Downey, Stephen Colebourne, Gary Gregory, Pete Gieser
-
See Also:
Comparable, -Object.equals(Object), -Object.hashCode(), -EqualsBuilder, -HashCodeBuilder
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
CompareToBuilder() - -
-          Constructor for CompareToBuilder.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- CompareToBuilderappend(boolean[] lhs, - boolean[] rhs) - -
-          Appends to the builder the deep comparison of - two boolean arrays.
- CompareToBuilderappend(boolean lhs, - boolean rhs) - -
-          Appends to the builder the comparison of - two booleanss.
- CompareToBuilderappend(byte[] lhs, - byte[] rhs) - -
-          Appends to the builder the deep comparison of - two byte arrays.
- CompareToBuilderappend(byte lhs, - byte rhs) - -
-          Appends to the builder the comparison of - two bytes.
- CompareToBuilderappend(char[] lhs, - char[] rhs) - -
-          Appends to the builder the deep comparison of - two char arrays.
- CompareToBuilderappend(char lhs, - char rhs) - -
-          Appends to the builder the comparison of - two chars.
- CompareToBuilderappend(double[] lhs, - double[] rhs) - -
-          Appends to the builder the deep comparison of - two double arrays.
- CompareToBuilderappend(double lhs, - double rhs) - -
-          Appends to the builder the comparison of - two doubles.
- CompareToBuilderappend(float[] lhs, - float[] rhs) - -
-          Appends to the builder the deep comparison of - two float arrays.
- CompareToBuilderappend(float lhs, - float rhs) - -
-          Appends to the builder the comparison of - two floats.
- CompareToBuilderappend(int[] lhs, - int[] rhs) - -
-          Appends to the builder the deep comparison of - two int arrays.
- CompareToBuilderappend(int lhs, - int rhs) - -
-          Appends to the builder the comparison of - two ints.
- CompareToBuilderappend(long[] lhs, - long[] rhs) - -
-          Appends to the builder the deep comparison of - two long arrays.
- CompareToBuilderappend(long lhs, - long rhs) - -
-          Appends to the builder the comparison of - two longs.
- CompareToBuilderappend(Object[] lhs, - Object[] rhs) - -
-          Appends to the builder the deep comparison of - two Object arrays.
- CompareToBuilderappend(Object[] lhs, - Object[] rhs, - Comparator comparator) - -
-          Appends to the builder the deep comparison of - two Object arrays.
- CompareToBuilderappend(Object lhs, - Object rhs) - -
-          Appends to the builder the comparison of - two Objects.
- CompareToBuilderappend(Object lhs, - Object rhs, - Comparator comparator) - -
-          Appends to the builder the comparison of - two Objects.
- CompareToBuilderappend(short[] lhs, - short[] rhs) - -
-          Appends to the builder the deep comparison of - two short arrays.
- CompareToBuilderappend(short lhs, - short rhs) - -
-          Appends to the builder the comparison of - two shorts.
- CompareToBuilderappendSuper(int superCompareTo) - -
-          Appends to the builder the compareTo(Object) - result of the superclass.
-static intreflectionCompare(Object lhs, - Object rhs) - -
-          Compares two Objects via reflection.
-static intreflectionCompare(Object lhs, - Object rhs, - boolean compareTransients) - -
-          Compares two Objects via reflection.
-static intreflectionCompare(Object lhs, - Object rhs, - boolean compareTransients, - Class reflectUpToClass) - -
-          Compares two Objects via reflection.
-static intreflectionCompare(Object lhs, - Object rhs, - boolean compareTransients, - Class reflectUpToClass, - String[] excludeFields) - -
-          Compares two Objects via reflection.
-static intreflectionCompare(Object lhs, - Object rhs, - Collection excludeFields) - -
-          Compares two Objects via reflection.
-static intreflectionCompare(Object lhs, - Object rhs, - String[] excludeFields) - -
-          Compares two Objects via reflection.
- inttoComparison() - -
-          Returns a negative integer, a positive integer, or zero as - the builder has judged the "left-hand" side - as less than, greater than, or equal to the "right-hand" - side.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CompareToBuilder

-
-public CompareToBuilder()
-
-

Constructor for CompareToBuilder.

- -

Starts off assuming that the objects are equal. Multiple calls are - then made to the various append methods, followed by a call to - toComparison() to get the result.

- - - - - - - - -
-Method Detail
- -

-reflectionCompare

-
-public static int reflectionCompare(Object lhs,
-                                    Object rhs)
-
-

Compares two Objects via reflection.

- -

Fields can be private, thus AccessibleObject.setAccessible - is used to bypass normal access control checks. This will fail under a - security manager unless the appropriate permissions are set.

- -
    -
  • Static fields will not be compared
  • -
  • Transient members will be not be compared, as they are likely derived - fields
  • -
  • Superclass fields will be compared
  • -
- -

If both lhs and rhs are null, - they are considered equal.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
Returns:
a negative integer, zero, or a positive integer as lhs - is less than, equal to, or greater than rhs
Throws:
NullPointerException - if either (but not both) parameters are - null
ClassCastException - if rhs is not assignment-compatible - with lhs
-
-
-
- -

-reflectionCompare

-
-public static int reflectionCompare(Object lhs,
-                                    Object rhs,
-                                    boolean compareTransients)
-
-

Compares two Objects via reflection.

- -

Fields can be private, thus AccessibleObject.setAccessible - is used to bypass normal access control checks. This will fail under a - security manager unless the appropriate permissions are set.

- -
    -
  • Static fields will not be compared
  • -
  • If compareTransients is true, - compares transient members. Otherwise ignores them, as they - are likely derived fields.
  • -
  • Superclass fields will be compared
  • -
- -

If both lhs and rhs are null, - they are considered equal.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
compareTransients - whether to compare transient fields
Returns:
a negative integer, zero, or a positive integer as lhs - is less than, equal to, or greater than rhs
Throws:
NullPointerException - if either lhs or rhs - (but not both) is null
ClassCastException - if rhs is not assignment-compatible - with lhs
-
-
-
- -

-reflectionCompare

-
-public static int reflectionCompare(Object lhs,
-                                    Object rhs,
-                                    Collection excludeFields)
-
-

Compares two Objects via reflection.

- -

Fields can be private, thus AccessibleObject.setAccessible - is used to bypass normal access control checks. This will fail under a - security manager unless the appropriate permissions are set.

- -
    -
  • Static fields will not be compared
  • -
  • If compareTransients is true, - compares transient members. Otherwise ignores them, as they - are likely derived fields.
  • -
  • Superclass fields will be compared
  • -
- -

If both lhs and rhs are null, - they are considered equal.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
excludeFields - Collection of String fields to exclude
Returns:
a negative integer, zero, or a positive integer as lhs - is less than, equal to, or greater than rhs
Throws:
NullPointerException - if either lhs or rhs - (but not both) is null
ClassCastException - if rhs is not assignment-compatible - with lhs
Since:
2.2
-
-
-
-
- -

-reflectionCompare

-
-public static int reflectionCompare(Object lhs,
-                                    Object rhs,
-                                    String[] excludeFields)
-
-

Compares two Objects via reflection.

- -

Fields can be private, thus AccessibleObject.setAccessible - is used to bypass normal access control checks. This will fail under a - security manager unless the appropriate permissions are set.

- -
    -
  • Static fields will not be compared
  • -
  • If compareTransients is true, - compares transient members. Otherwise ignores them, as they - are likely derived fields.
  • -
  • Superclass fields will be compared
  • -
- -

If both lhs and rhs are null, - they are considered equal.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
excludeFields - array of fields to exclude
Returns:
a negative integer, zero, or a positive integer as lhs - is less than, equal to, or greater than rhs
Throws:
NullPointerException - if either lhs or rhs - (but not both) is null
ClassCastException - if rhs is not assignment-compatible - with lhs
Since:
2.2
-
-
-
-
- -

-reflectionCompare

-
-public static int reflectionCompare(Object lhs,
-                                    Object rhs,
-                                    boolean compareTransients,
-                                    Class reflectUpToClass)
-
-

Compares two Objects via reflection.

- -

Fields can be private, thus AccessibleObject.setAccessible - is used to bypass normal access control checks. This will fail under a - security manager unless the appropriate permissions are set.

- -
    -
  • Static fields will not be compared
  • -
  • If the compareTransients is true, - compares transient members. Otherwise ignores them, as they - are likely derived fields.
  • -
  • Compares superclass fields up to and including reflectUpToClass. - If reflectUpToClass is null, compares all superclass fields.
  • -
- -

If both lhs and rhs are null, - they are considered equal.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
compareTransients - whether to compare transient fields
reflectUpToClass - last superclass for which fields are compared
Returns:
a negative integer, zero, or a positive integer as lhs - is less than, equal to, or greater than rhs
Throws:
NullPointerException - if either lhs or rhs - (but not both) is null
ClassCastException - if rhs is not assignment-compatible - with lhs
Since:
2.0
-
-
-
-
- -

-reflectionCompare

-
-public static int reflectionCompare(Object lhs,
-                                    Object rhs,
-                                    boolean compareTransients,
-                                    Class reflectUpToClass,
-                                    String[] excludeFields)
-
-

Compares two Objects via reflection.

- -

Fields can be private, thus AccessibleObject.setAccessible - is used to bypass normal access control checks. This will fail under a - security manager unless the appropriate permissions are set.

- -
    -
  • Static fields will not be compared
  • -
  • If the compareTransients is true, - compares transient members. Otherwise ignores them, as they - are likely derived fields.
  • -
  • Compares superclass fields up to and including reflectUpToClass. - If reflectUpToClass is null, compares all superclass fields.
  • -
- -

If both lhs and rhs are null, - they are considered equal.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
compareTransients - whether to compare transient fields
reflectUpToClass - last superclass for which fields are compared
excludeFields - fields to exclude
Returns:
a negative integer, zero, or a positive integer as lhs - is less than, equal to, or greater than rhs
Throws:
NullPointerException - if either lhs or rhs - (but not both) is null
ClassCastException - if rhs is not assignment-compatible - with lhs
Since:
2.2
-
-
-
-
- -

-appendSuper

-
-public CompareToBuilder appendSuper(int superCompareTo)
-
-

Appends to the builder the compareTo(Object) - result of the superclass.

-
Parameters:
superCompareTo - result of calling super.compareTo(Object)
Returns:
this - used to chain append calls
Since:
2.0
-
-
-
-
- -

-append

-
-public CompareToBuilder append(Object lhs,
-                               Object rhs)
-
-

Appends to the builder the comparison of - two Objects.

- -
    -
  1. Check if lhs == rhs
  2. -
  3. Check if either lhs or rhs is null, - a null object is less than a non-null object
  4. -
  5. Check the object contents
  6. -
- -

lhs must either be an array or implement Comparable.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
Returns:
this - used to chain append calls
Throws:
ClassCastException - if rhs is not assignment-compatible - with lhs
-
-
-
- -

-append

-
-public CompareToBuilder append(Object lhs,
-                               Object rhs,
-                               Comparator comparator)
-
-

Appends to the builder the comparison of - two Objects.

- -
    -
  1. Check if lhs == rhs
  2. -
  3. Check if either lhs or rhs is null, - a null object is less than a non-null object
  4. -
  5. Check the object contents
  6. -
- -

If lhs is an array, array comparison methods will be used. - Otherwise comparator will be used to compare the objects. - If comparator is null, lhs must - implement Comparable instead.

-
Parameters:
lhs - left-hand object
rhs - right-hand object
comparator - Comparator used to compare the objects, - null means treat lhs as Comparable
Returns:
this - used to chain append calls
Throws:
ClassCastException - if rhs is not assignment-compatible - with lhs
Since:
2.0
-
-
-
-
- -

-append

-
-public CompareToBuilder append(long lhs,
-                               long rhs)
-
-
Appends to the builder the comparison of - two longs.
-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(int lhs,
-                               int rhs)
-
-
Appends to the builder the comparison of - two ints.
-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(short lhs,
-                               short rhs)
-
-
Appends to the builder the comparison of - two shorts.
-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(char lhs,
-                               char rhs)
-
-
Appends to the builder the comparison of - two chars.
-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(byte lhs,
-                               byte rhs)
-
-
Appends to the builder the comparison of - two bytes.
-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(double lhs,
-                               double rhs)
-
-

Appends to the builder the comparison of - two doubles.

- -

This handles NaNs, Infinities, and -0.0.

- -

It is compatible with the hash code generated by - HashCodeBuilder.

-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(float lhs,
-                               float rhs)
-
-

Appends to the builder the comparison of - two floats.

- -

This handles NaNs, Infinities, and -0.0.

- -

It is compatible with the hash code generated by - HashCodeBuilder.

-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(boolean lhs,
-                               boolean rhs)
-
-
Appends to the builder the comparison of - two booleanss.
-
Parameters:
lhs - left-hand value
rhs - right-hand value
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(Object[] lhs,
-                               Object[] rhs)
-
-

Appends to the builder the deep comparison of - two Object arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a short length array is less than a long length array
  6. -
  7. Check array contents element by element using append(Object, Object, Comparator)
  8. -
- -

This method will also will be called for the top level of multi-dimensional, - ragged, and multi-typed arrays.

-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
Throws:
ClassCastException - if rhs is not assignment-compatible - with lhs
-
-
-
- -

-append

-
-public CompareToBuilder append(Object[] lhs,
-                               Object[] rhs,
-                               Comparator comparator)
-
-

Appends to the builder the deep comparison of - two Object arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a short length array is less than a long length array
  6. -
  7. Check array contents element by element using append(Object, Object, Comparator)
  8. -
- -

This method will also will be called for the top level of multi-dimensional, - ragged, and multi-typed arrays.

-
Parameters:
lhs - left-hand array
rhs - right-hand array
comparator - Comparator to use to compare the array elements, - null means to treat lhs elements as Comparable.
Returns:
this - used to chain append calls
Throws:
ClassCastException - if rhs is not assignment-compatible - with lhs
Since:
2.0
-
-
-
-
- -

-append

-
-public CompareToBuilder append(long[] lhs,
-                               long[] rhs)
-
-

Appends to the builder the deep comparison of - two long arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(long, long)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(int[] lhs,
-                               int[] rhs)
-
-

Appends to the builder the deep comparison of - two int arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(int, int)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(short[] lhs,
-                               short[] rhs)
-
-

Appends to the builder the deep comparison of - two short arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(short, short)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(char[] lhs,
-                               char[] rhs)
-
-

Appends to the builder the deep comparison of - two char arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(char, char)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(byte[] lhs,
-                               byte[] rhs)
-
-

Appends to the builder the deep comparison of - two byte arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(byte, byte)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(double[] lhs,
-                               double[] rhs)
-
-

Appends to the builder the deep comparison of - two double arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(double, double)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(float[] lhs,
-                               float[] rhs)
-
-

Appends to the builder the deep comparison of - two float arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(float, float)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-append

-
-public CompareToBuilder append(boolean[] lhs,
-                               boolean[] rhs)
-
-

Appends to the builder the deep comparison of - two boolean arrays.

- -
    -
  1. Check if arrays are the same using ==
  2. -
  3. Check if for null, null is less than non-null
  4. -
  5. Check array length, a shorter length array is less than a longer length array
  6. -
  7. Check array contents element by element using append(boolean, boolean)
  8. -
-
Parameters:
lhs - left-hand array
rhs - right-hand array
Returns:
this - used to chain append calls
-
-
-
- -

-toComparison

-
-public int toComparison()
-
-
Returns a negative integer, a positive integer, or zero as - the builder has judged the "left-hand" side - as less than, greater than, or equal to the "right-hand" - side.
-
Returns:
final comparison result
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/EqualsBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/EqualsBuilder.html deleted file mode 100644 index cc005188..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/EqualsBuilder.html +++ /dev/null @@ -1,963 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class EqualsBuilder - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.builder -
-Class EqualsBuilder

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.builder.EqualsBuilder
-
-
-
-
public class EqualsBuilder
extends Object
- -

-

Assists in implementing Object.equals(Object) methods.

- -

This class provides methods to build a good equals method for any - class. It follows rules laid out in - Effective Java - , by Joshua Bloch. In particular the rule for comparing doubles, - floats, and arrays can be tricky. Also, making sure that - equals() and hashCode() are consistent can be - difficult.

- -

Two Objects that compare as equals must generate the same hash code, - but two Objects with the same hash code do not have to be equal.

- -

All relevant fields should be included in the calculation of equals. - Derived fields may be ignored. In particular, any field used in - generating a hash code must be used in the equals method, and vice - versa.

- -

Typical use for the code is as follows:

-
- public boolean equals(Object obj) {
-   if (obj instanceof MyClass == false) {
-     return false;
-   }
-   if (this == obj) {
-     return true;
-   }
-   MyClass rhs = (MyClass) obj;
-   return new EqualsBuilder()
-                 .appendSuper(super.equals(obj))
-                 .append(field1, rhs.field1)
-                 .append(field2, rhs.field2)
-                 .append(field3, rhs.field3)
-                 .isEquals();
-  }
- 
- -

Alternatively, there is a method that uses reflection to determine - the fields to test. Because these fields are usually private, the method, - reflectionEquals, uses AccessibleObject.setAccessible to - change the visibility of the fields. This will fail under a security - manager, unless the appropriate permissions are set up correctly. It is - also slower than testing explicitly.

- -

A typical invocation for this method would look like:

-
- public boolean equals(Object obj) {
-   return EqualsBuilder.reflectionEquals(this, obj);
- }
- 
-

-

-
Since:
1.0
-
Version:
$Id: EqualsBuilder.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Steve Downey, Stephen Colebourne, Gary Gregory, Pete Gieser, Arun Mammen Thomas
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
EqualsBuilder() - -
-          Constructor for EqualsBuilder.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- EqualsBuilderappend(boolean[] lhs, - boolean[] rhs) - -
-          Deep comparison of array of boolean.
- EqualsBuilderappend(boolean lhs, - boolean rhs) - -
-          Test if two booleanss are equal.
- EqualsBuilderappend(byte[] lhs, - byte[] rhs) - -
-          Deep comparison of array of byte.
- EqualsBuilderappend(byte lhs, - byte rhs) - -
-          Test if two bytes are equal.
- EqualsBuilderappend(char[] lhs, - char[] rhs) - -
-          Deep comparison of array of char.
- EqualsBuilderappend(char lhs, - char rhs) - -
-          Test if two chars are equal.
- EqualsBuilderappend(double[] lhs, - double[] rhs) - -
-          Deep comparison of array of double.
- EqualsBuilderappend(double lhs, - double rhs) - -
-          Test if two doubles are equal by testing that the - pattern of bits returned by doubleToLong are equal.
- EqualsBuilderappend(float[] lhs, - float[] rhs) - -
-          Deep comparison of array of float.
- EqualsBuilderappend(float lhs, - float rhs) - -
-          Test if two floats are equal byt testing that the - pattern of bits returned by doubleToLong are equal.
- EqualsBuilderappend(int[] lhs, - int[] rhs) - -
-          Deep comparison of array of int.
- EqualsBuilderappend(int lhs, - int rhs) - -
-          Test if two ints are equal.
- EqualsBuilderappend(long[] lhs, - long[] rhs) - -
-          Deep comparison of array of long.
- EqualsBuilderappend(long lhs, - long rhs) - -
-           - Test if two long s are equal.
- EqualsBuilderappend(Object[] lhs, - Object[] rhs) - -
-          Performs a deep comparison of two Object arrays.
- EqualsBuilderappend(Object lhs, - Object rhs) - -
-          Test if two Objects are equal using their - equals method.
- EqualsBuilderappend(short[] lhs, - short[] rhs) - -
-          Deep comparison of array of short.
- EqualsBuilderappend(short lhs, - short rhs) - -
-          Test if two shorts are equal.
- EqualsBuilderappendSuper(boolean superEquals) - -
-          Adds the result of super.equals() to this builder.
- booleanisEquals() - -
-          Returns true if the fields that have been checked - are all equal.
-static booleanreflectionEquals(Object lhs, - Object rhs) - -
-          This method uses reflection to determine if the two Objects - are equal.
-static booleanreflectionEquals(Object lhs, - Object rhs, - boolean testTransients) - -
-          This method uses reflection to determine if the two Objects - are equal.
-static booleanreflectionEquals(Object lhs, - Object rhs, - boolean testTransients, - Class reflectUpToClass) - -
-          This method uses reflection to determine if the two Objects - are equal.
-static booleanreflectionEquals(Object lhs, - Object rhs, - boolean testTransients, - Class reflectUpToClass, - String[] excludeFields) - -
-          This method uses reflection to determine if the two Objects - are equal.
-static booleanreflectionEquals(Object lhs, - Object rhs, - Collection excludeFields) - -
-          This method uses reflection to determine if the two Objects - are equal.
-static booleanreflectionEquals(Object lhs, - Object rhs, - String[] excludeFields) - -
-          This method uses reflection to determine if the two Objects - are equal.
-protected  voidsetEquals(boolean isEquals) - -
-          Sets the isEquals value.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-EqualsBuilder

-
-public EqualsBuilder()
-
-

Constructor for EqualsBuilder.

- -

Starts off assuming that equals is true.

-
See Also:
Object.equals(Object)
-
-
- - - - - - - - -
-Method Detail
- -

-reflectionEquals

-
-public static boolean reflectionEquals(Object lhs,
-                                       Object rhs)
-
-

This method uses reflection to determine if the two Objects - are equal.

- -

It uses AccessibleObject.setAccessible to gain access to private - fields. This means that it will throw a security exception if run under - a security manager, if the permissions are not set up correctly. It is also - not as efficient as testing explicitly.

- -

Transient members will be not be tested, as they are likely derived - fields, and not part of the value of the Object.

- -

Static fields will not be tested. Superclass fields will be included.

-
Parameters:
lhs - this object
rhs - the other object
Returns:
true if the two Objects have tested equals.
-
-
-
- -

-reflectionEquals

-
-public static boolean reflectionEquals(Object lhs,
-                                       Object rhs,
-                                       Collection excludeFields)
-
-

This method uses reflection to determine if the two Objects - are equal.

- -

It uses AccessibleObject.setAccessible to gain access to private - fields. This means that it will throw a security exception if run under - a security manager, if the permissions are not set up correctly. It is also - not as efficient as testing explicitly.

- -

Transient members will be not be tested, as they are likely derived - fields, and not part of the value of the Object.

- -

Static fields will not be tested. Superclass fields will be included.

-
Parameters:
lhs - this object
rhs - the other object
excludeFields - Collection of String field names to exclude from testing
Returns:
true if the two Objects have tested equals.
-
-
-
- -

-reflectionEquals

-
-public static boolean reflectionEquals(Object lhs,
-                                       Object rhs,
-                                       String[] excludeFields)
-
-

This method uses reflection to determine if the two Objects - are equal.

- -

It uses AccessibleObject.setAccessible to gain access to private - fields. This means that it will throw a security exception if run under - a security manager, if the permissions are not set up correctly. It is also - not as efficient as testing explicitly.

- -

Transient members will be not be tested, as they are likely derived - fields, and not part of the value of the Object.

- -

Static fields will not be tested. Superclass fields will be included.

-
Parameters:
lhs - this object
rhs - the other object
excludeFields - array of field names to exclude from testing
Returns:
true if the two Objects have tested equals.
-
-
-
- -

-reflectionEquals

-
-public static boolean reflectionEquals(Object lhs,
-                                       Object rhs,
-                                       boolean testTransients)
-
-

This method uses reflection to determine if the two Objects - are equal.

- -

It uses AccessibleObject.setAccessible to gain access to private - fields. This means that it will throw a security exception if run under - a security manager, if the permissions are not set up correctly. It is also - not as efficient as testing explicitly.

- -

If the TestTransients parameter is set to true, transient - members will be tested, otherwise they are ignored, as they are likely - derived fields, and not part of the value of the Object.

- -

Static fields will not be tested. Superclass fields will be included.

-
Parameters:
lhs - this object
rhs - the other object
testTransients - whether to include transient fields
Returns:
true if the two Objects have tested equals.
-
-
-
- -

-reflectionEquals

-
-public static boolean reflectionEquals(Object lhs,
-                                       Object rhs,
-                                       boolean testTransients,
-                                       Class reflectUpToClass)
-
-

This method uses reflection to determine if the two Objects - are equal.

- -

It uses AccessibleObject.setAccessible to gain access to private - fields. This means that it will throw a security exception if run under - a security manager, if the permissions are not set up correctly. It is also - not as efficient as testing explicitly.

- -

If the testTransients parameter is set to true, transient - members will be tested, otherwise they are ignored, as they are likely - derived fields, and not part of the value of the Object.

- -

Static fields will not be included. Superclass fields will be appended - up to and including the specified superclass. A null superclass is treated - as java.lang.Object.

-
Parameters:
lhs - this object
rhs - the other object
testTransients - whether to include transient fields
reflectUpToClass - the superclass to reflect up to (inclusive), - may be null
Returns:
true if the two Objects have tested equals.
Since:
2.0
-
-
-
-
- -

-reflectionEquals

-
-public static boolean reflectionEquals(Object lhs,
-                                       Object rhs,
-                                       boolean testTransients,
-                                       Class reflectUpToClass,
-                                       String[] excludeFields)
-
-

This method uses reflection to determine if the two Objects - are equal.

- -

It uses AccessibleObject.setAccessible to gain access to private - fields. This means that it will throw a security exception if run under - a security manager, if the permissions are not set up correctly. It is also - not as efficient as testing explicitly.

- -

If the testTransients parameter is set to true, transient - members will be tested, otherwise they are ignored, as they are likely - derived fields, and not part of the value of the Object.

- -

Static fields will not be included. Superclass fields will be appended - up to and including the specified superclass. A null superclass is treated - as java.lang.Object.

-
Parameters:
lhs - this object
rhs - the other object
testTransients - whether to include transient fields
reflectUpToClass - the superclass to reflect up to (inclusive), - may be null
excludeFields - array of field names to exclude from testing
Returns:
true if the two Objects have tested equals.
Since:
2.0
-
-
-
-
- -

-appendSuper

-
-public EqualsBuilder appendSuper(boolean superEquals)
-
-

Adds the result of super.equals() to this builder.

-
Parameters:
superEquals - the result of calling super.equals()
Returns:
EqualsBuilder - used to chain calls.
Since:
2.0
-
-
-
-
- -

-append

-
-public EqualsBuilder append(Object lhs,
-                            Object rhs)
-
-

Test if two Objects are equal using their - equals method.

-
Parameters:
lhs - the left hand object
rhs - the right hand object
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(long lhs,
-                            long rhs)
-
-

- Test if two long s are equal. -

-
Parameters:
lhs - the left hand long
rhs - the right hand long
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(int lhs,
-                            int rhs)
-
-

Test if two ints are equal.

-
Parameters:
lhs - the left hand int
rhs - the right hand int
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(short lhs,
-                            short rhs)
-
-

Test if two shorts are equal.

-
Parameters:
lhs - the left hand short
rhs - the right hand short
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(char lhs,
-                            char rhs)
-
-

Test if two chars are equal.

-
Parameters:
lhs - the left hand char
rhs - the right hand char
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(byte lhs,
-                            byte rhs)
-
-

Test if two bytes are equal.

-
Parameters:
lhs - the left hand byte
rhs - the right hand byte
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(double lhs,
-                            double rhs)
-
-

Test if two doubles are equal by testing that the - pattern of bits returned by doubleToLong are equal.

- -

This handles NaNs, Infinities, and -0.0.

- -

It is compatible with the hash code generated by - HashCodeBuilder.

-
Parameters:
lhs - the left hand double
rhs - the right hand double
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(float lhs,
-                            float rhs)
-
-

Test if two floats are equal byt testing that the - pattern of bits returned by doubleToLong are equal.

- -

This handles NaNs, Infinities, and -0.0.

- -

It is compatible with the hash code generated by - HashCodeBuilder.

-
Parameters:
lhs - the left hand float
rhs - the right hand float
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(boolean lhs,
-                            boolean rhs)
-
-

Test if two booleanss are equal.

-
Parameters:
lhs - the left hand boolean
rhs - the right hand boolean
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(Object[] lhs,
-                            Object[] rhs)
-
-

Performs a deep comparison of two Object arrays.

- -

This also will be called for the top level of - multi-dimensional, ragged, and multi-typed arrays.

-
Parameters:
lhs - the left hand Object[]
rhs - the right hand Object[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(long[] lhs,
-                            long[] rhs)
-
-

Deep comparison of array of long. Length and all - values are compared.

- -

The method append(long, long) is used.

-
Parameters:
lhs - the left hand long[]
rhs - the right hand long[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(int[] lhs,
-                            int[] rhs)
-
-

Deep comparison of array of int. Length and all - values are compared.

- -

The method append(int, int) is used.

-
Parameters:
lhs - the left hand int[]
rhs - the right hand int[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(short[] lhs,
-                            short[] rhs)
-
-

Deep comparison of array of short. Length and all - values are compared.

- -

The method append(short, short) is used.

-
Parameters:
lhs - the left hand short[]
rhs - the right hand short[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(char[] lhs,
-                            char[] rhs)
-
-

Deep comparison of array of char. Length and all - values are compared.

- -

The method append(char, char) is used.

-
Parameters:
lhs - the left hand char[]
rhs - the right hand char[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(byte[] lhs,
-                            byte[] rhs)
-
-

Deep comparison of array of byte. Length and all - values are compared.

- -

The method append(byte, byte) is used.

-
Parameters:
lhs - the left hand byte[]
rhs - the right hand byte[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(double[] lhs,
-                            double[] rhs)
-
-

Deep comparison of array of double. Length and all - values are compared.

- -

The method append(double, double) is used.

-
Parameters:
lhs - the left hand double[]
rhs - the right hand double[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(float[] lhs,
-                            float[] rhs)
-
-

Deep comparison of array of float. Length and all - values are compared.

- -

The method append(float, float) is used.

-
Parameters:
lhs - the left hand float[]
rhs - the right hand float[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-append

-
-public EqualsBuilder append(boolean[] lhs,
-                            boolean[] rhs)
-
-

Deep comparison of array of boolean. Length and all - values are compared.

- -

The method append(boolean, boolean) is used.

-
Parameters:
lhs - the left hand boolean[]
rhs - the right hand boolean[]
Returns:
EqualsBuilder - used to chain calls.
-
-
-
- -

-isEquals

-
-public boolean isEquals()
-
-

Returns true if the fields that have been checked - are all equal.

-
Returns:
boolean
-
-
-
- -

-setEquals

-
-protected void setEquals(boolean isEquals)
-
-
Sets the isEquals value.
-
Parameters:
isEquals - The value to set.
Since:
2.1
-
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/HashCodeBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/HashCodeBuilder.html deleted file mode 100644 index e1a96a37..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/HashCodeBuilder.html +++ /dev/null @@ -1,1080 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class HashCodeBuilder - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.builder -
-Class HashCodeBuilder

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.builder.HashCodeBuilder
-
-
-
-
public class HashCodeBuilder
extends Object
- -

-

- Assists in implementing Object.hashCode() methods. -

- -

- This class enables a good hashCode method to be built for any class. It follows the rules laid out in - the book Effective Java by Joshua Bloch. Writing a - good hashCode method is actually quite difficult. This class aims to simplify the process. -

- -

- All relevant fields from the object should be included in the hashCode method. Derived fields may be - excluded. In general, any field used in the equals method must be used in the hashCode - method. -

- -

- To use this class write code as follows: -

- -
- public class Person {
-   String name;
-   int age;
-   boolean smoker;
-   ...
-
-   public int hashCode() {
-     // you pick a hard-coded, randomly chosen, non-zero, odd number
-     // ideally different for each class
-     return new HashCodeBuilder(17, 37).
-       append(name).
-       append(age).
-       append(smoker).
-       toHashCode();
-   }
- }
- 
- -

- If required, the superclass hashCode() can be added using appendSuper(int). -

- -

- Alternatively, there is a method that uses reflection to determine the fields to test. Because these fields are - usually private, the method, reflectionHashCode, uses AccessibleObject.setAccessible - to change the visibility of the fields. This will fail under a security manager, unless the appropriate permissions - are set up correctly. It is also slower than testing explicitly. -

- -

- A typical invocation for this method would look like: -

- -
- public int hashCode() {
-   return HashCodeBuilder.reflectionHashCode(this);
- }
- 
-

-

-
Since:
1.0
-
Version:
$Id: HashCodeBuilder.java 447989 2006-09-19 21:58:11Z ggregory $
-
Author:
Stephen Colebourne, Gary Gregory, Pete Gieser
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
HashCodeBuilder() - -
-           - Uses two hard coded choices for the constants needed to build a hashCode.
HashCodeBuilder(int initialNonZeroOddNumber, - int multiplierNonZeroOddNumber) - -
-           - Two randomly chosen, non-zero, odd numbers must be passed in.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- HashCodeBuilderappend(boolean value) - -
-           - Append a hashCode for a boolean.
- HashCodeBuilderappend(boolean[] array) - -
-           - Append a hashCode for a boolean array.
- HashCodeBuilderappend(byte value) - -
-           - Append a hashCode for a byte.
- HashCodeBuilderappend(byte[] array) - -
-           - Append a hashCode for a byte array.
- HashCodeBuilderappend(char value) - -
-           - Append a hashCode for a char.
- HashCodeBuilderappend(char[] array) - -
-           - Append a hashCode for a char array.
- HashCodeBuilderappend(double value) - -
-           - Append a hashCode for a double.
- HashCodeBuilderappend(double[] array) - -
-           - Append a hashCode for a double array.
- HashCodeBuilderappend(float value) - -
-           - Append a hashCode for a float.
- HashCodeBuilderappend(float[] array) - -
-           - Append a hashCode for a float array.
- HashCodeBuilderappend(int value) - -
-           - Append a hashCode for an int.
- HashCodeBuilderappend(int[] array) - -
-           - Append a hashCode for an int array.
- HashCodeBuilderappend(long value) - -
-           - Append a hashCode for a long.
- HashCodeBuilderappend(long[] array) - -
-           - Append a hashCode for a long array.
- HashCodeBuilderappend(Object object) - -
-           - Append a hashCode for an Object.
- HashCodeBuilderappend(Object[] array) - -
-           - Append a hashCode for an Object array.
- HashCodeBuilderappend(short value) - -
-           - Append a hashCode for a short.
- HashCodeBuilderappend(short[] array) - -
-           - Append a hashCode for a short array.
- HashCodeBuilderappendSuper(int superHashCode) - -
-           - Adds the result of super.hashCode() to this builder.
-static intreflectionHashCode(int initialNonZeroOddNumber, - int multiplierNonZeroOddNumber, - Object object) - -
-           - This method uses reflection to build a valid hash code.
-static intreflectionHashCode(int initialNonZeroOddNumber, - int multiplierNonZeroOddNumber, - Object object, - boolean testTransients) - -
-           - This method uses reflection to build a valid hash code.
-static intreflectionHashCode(int initialNonZeroOddNumber, - int multiplierNonZeroOddNumber, - Object object, - boolean testTransients, - Class reflectUpToClass) - -
-          Calls reflectionHashCode(int, int, Object, boolean, Class, String[]) with excludeFields set to - null.
-static intreflectionHashCode(int initialNonZeroOddNumber, - int multiplierNonZeroOddNumber, - Object object, - boolean testTransients, - Class reflectUpToClass, - String[] excludeFields) - -
-           - This method uses reflection to build a valid hash code.
-static intreflectionHashCode(Object object) - -
-           - This method uses reflection to build a valid hash code.
-static intreflectionHashCode(Object object, - boolean testTransients) - -
-           - This method uses reflection to build a valid hash code.
-static intreflectionHashCode(Object object, - Collection excludeFields) - -
-           - This method uses reflection to build a valid hash code.
-static intreflectionHashCode(Object object, - String[] excludeFields) - -
-           - This method uses reflection to build a valid hash code.
- inttoHashCode() - -
-           - Return the computed hashCode.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-HashCodeBuilder

-
-public HashCodeBuilder()
-
-

- Uses two hard coded choices for the constants needed to build a hashCode. -

-
- -

-HashCodeBuilder

-
-public HashCodeBuilder(int initialNonZeroOddNumber,
-                       int multiplierNonZeroOddNumber)
-
-

- Two randomly chosen, non-zero, odd numbers must be passed in. Ideally these should be different for each class, - however this is not vital. -

- -

- Prime numbers are preferred, especially for the multiplier. -

-
Parameters:
initialNonZeroOddNumber - a non-zero, odd number used as the initial value
multiplierNonZeroOddNumber - a non-zero, odd number used as the multiplier
Throws:
IllegalArgumentException - if the number is zero or even
-
-
- - - - - - - - -
-Method Detail
- -

-reflectionHashCode

-
-public static int reflectionHashCode(int initialNonZeroOddNumber,
-                                     int multiplierNonZeroOddNumber,
-                                     Object object)
-
-

- This method uses reflection to build a valid hash code. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- Transient members will be not be used, as they are likely derived fields, and not part of the value of the - Object. -

- -

- Static fields will not be tested. Superclass fields will be included. -

- -

- Two randomly chosen, non-zero, odd numbers must be passed in. Ideally these should be different for each class, - however this is not vital. Prime numbers are preferred, especially for the multiplier. -

-
Parameters:
initialNonZeroOddNumber - a non-zero, odd number used as the initial value
multiplierNonZeroOddNumber - a non-zero, odd number used as the multiplier
object - the Object to create a hashCode for
Returns:
int hash code
Throws:
IllegalArgumentException - if the Object is null
IllegalArgumentException - if the number is zero or even
-
-
-
- -

-reflectionHashCode

-
-public static int reflectionHashCode(int initialNonZeroOddNumber,
-                                     int multiplierNonZeroOddNumber,
-                                     Object object,
-                                     boolean testTransients)
-
-

- This method uses reflection to build a valid hash code. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- If the TestTransients parameter is set to true, transient members will be tested, otherwise they - are ignored, as they are likely derived fields, and not part of the value of the Object. -

- -

- Static fields will not be tested. Superclass fields will be included. -

- -

- Two randomly chosen, non-zero, odd numbers must be passed in. Ideally these should be different for each class, - however this is not vital. Prime numbers are preferred, especially for the multiplier. -

-
Parameters:
initialNonZeroOddNumber - a non-zero, odd number used as the initial value
multiplierNonZeroOddNumber - a non-zero, odd number used as the multiplier
object - the Object to create a hashCode for
testTransients - whether to include transient fields
Returns:
int hash code
Throws:
IllegalArgumentException - if the Object is null
IllegalArgumentException - if the number is zero or even
-
-
-
- -

-reflectionHashCode

-
-public static int reflectionHashCode(int initialNonZeroOddNumber,
-                                     int multiplierNonZeroOddNumber,
-                                     Object object,
-                                     boolean testTransients,
-                                     Class reflectUpToClass)
-
-
Calls reflectionHashCode(int, int, Object, boolean, Class, String[]) with excludeFields set to - null.
-
Parameters:
initialNonZeroOddNumber - a non-zero, odd number used as the initial value
multiplierNonZeroOddNumber - a non-zero, odd number used as the multiplier
object - the Object to create a hashCode for
testTransients - whether to include transient fields
reflectUpToClass - the superclass to reflect up to (inclusive), may be null
Returns:
int hash code
-
-
-
- -

-reflectionHashCode

-
-public static int reflectionHashCode(int initialNonZeroOddNumber,
-                                     int multiplierNonZeroOddNumber,
-                                     Object object,
-                                     boolean testTransients,
-                                     Class reflectUpToClass,
-                                     String[] excludeFields)
-
-

- This method uses reflection to build a valid hash code. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- If the TestTransients parameter is set to true, transient members will be tested, otherwise they - are ignored, as they are likely derived fields, and not part of the value of the Object. -

- -

- Static fields will not be included. Superclass fields will be included up to and including the specified - superclass. A null superclass is treated as java.lang.Object. -

- -

- Two randomly chosen, non-zero, odd numbers must be passed in. Ideally these should be different for each class, - however this is not vital. Prime numbers are preferred, especially for the multiplier. -

-
Parameters:
initialNonZeroOddNumber - a non-zero, odd number used as the initial value
multiplierNonZeroOddNumber - a non-zero, odd number used as the multiplier
object - the Object to create a hashCode for
testTransients - whether to include transient fields
reflectUpToClass - the superclass to reflect up to (inclusive), may be null
excludeFields - array of field names to exclude from use in calculation of hash code
Returns:
int hash code
Throws:
IllegalArgumentException - if the Object is null
IllegalArgumentException - if the number is zero or even
Since:
2.0
-
-
-
-
- -

-reflectionHashCode

-
-public static int reflectionHashCode(Object object)
-
-

- This method uses reflection to build a valid hash code. -

- -

- This constructor uses two hard coded choices for the constants needed to build a hash code. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- Transient members will be not be used, as they are likely derived fields, and not part of the value of the - Object. -

- -

- Static fields will not be tested. Superclass fields will be included. -

-
Parameters:
object - the Object to create a hashCode for
Returns:
int hash code
Throws:
IllegalArgumentException - if the object is null
-
-
-
- -

-reflectionHashCode

-
-public static int reflectionHashCode(Object object,
-                                     boolean testTransients)
-
-

- This method uses reflection to build a valid hash code. -

- -

- This constructor uses two hard coded choices for the constants needed to build a hash code. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- If the TestTransients parameter is set to true, transient members will be tested, otherwise they - are ignored, as they are likely derived fields, and not part of the value of the Object. -

- -

- Static fields will not be tested. Superclass fields will be included. -

-
Parameters:
object - the Object to create a hashCode for
testTransients - whether to include transient fields
Returns:
int hash code
Throws:
IllegalArgumentException - if the object is null
-
-
-
- -

-reflectionHashCode

-
-public static int reflectionHashCode(Object object,
-                                     Collection excludeFields)
-
-

- This method uses reflection to build a valid hash code. -

- -

- This constructor uses two hard coded choices for the constants needed to build a hash code. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- Transient members will be not be used, as they are likely derived fields, and not part of the value of the - Object. -

- -

- Static fields will not be tested. Superclass fields will be included. -

-
Parameters:
object - the Object to create a hashCode for
excludeFields - Collection of String field names to exclude from use in calculation of hash code
Returns:
int hash code
Throws:
IllegalArgumentException - if the object is null
-
-
-
- -

-reflectionHashCode

-
-public static int reflectionHashCode(Object object,
-                                     String[] excludeFields)
-
-

- This method uses reflection to build a valid hash code. -

- -

- This constructor uses two hard coded choices for the constants needed to build a hash code. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- Transient members will be not be used, as they are likely derived fields, and not part of the value of the - Object. -

- -

- Static fields will not be tested. Superclass fields will be included. -

-
Parameters:
object - the Object to create a hashCode for
excludeFields - array of field names to exclude from use in calculation of hash code
Returns:
int hash code
Throws:
IllegalArgumentException - if the object is null
-
-
-
- -

-append

-
-public HashCodeBuilder append(boolean value)
-
-

- Append a hashCode for a boolean. -

-

- This adds iConstant * 1 to the hashCode and not a 1231 or - 1237 as done in java.lang.Boolean. This is in accordance with the Effective Java - design. -

-
Parameters:
value - the boolean to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(boolean[] array)
-
-

- Append a hashCode for a boolean array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(byte value)
-
-

- Append a hashCode for a byte. -

-
Parameters:
value - the byte to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(byte[] array)
-
-

- Append a hashCode for a byte array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(char value)
-
-

- Append a hashCode for a char. -

-
Parameters:
value - the char to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(char[] array)
-
-

- Append a hashCode for a char array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(double value)
-
-

- Append a hashCode for a double. -

-
Parameters:
value - the double to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(double[] array)
-
-

- Append a hashCode for a double array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(float value)
-
-

- Append a hashCode for a float. -

-
Parameters:
value - the float to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(float[] array)
-
-

- Append a hashCode for a float array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(int value)
-
-

- Append a hashCode for an int. -

-
Parameters:
value - the int to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(int[] array)
-
-

- Append a hashCode for an int array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(long value)
-
-

- Append a hashCode for a long. -

-
Parameters:
value - the long to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(long[] array)
-
-

- Append a hashCode for a long array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(Object object)
-
-

- Append a hashCode for an Object. -

-
Parameters:
object - the Object to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(Object[] array)
-
-

- Append a hashCode for an Object array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(short value)
-
-

- Append a hashCode for a short. -

-
Parameters:
value - the short to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public HashCodeBuilder append(short[] array)
-
-

- Append a hashCode for a short array. -

-
Parameters:
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-appendSuper

-
-public HashCodeBuilder appendSuper(int superHashCode)
-
-

- Adds the result of super.hashCode() to this builder. -

-
Parameters:
superHashCode - the result of calling super.hashCode()
Returns:
this HashCodeBuilder, used to chain calls.
Since:
2.0
-
-
-
-
- -

-toHashCode

-
-public int toHashCode()
-
-

- Return the computed hashCode. -

-
Returns:
hashCode based on the fields appended
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html deleted file mode 100644 index d2df5b35..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ReflectionToStringBuilder.html +++ /dev/null @@ -1,1023 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ReflectionToStringBuilder - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.builder -
-Class ReflectionToStringBuilder

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.builder.ToStringBuilder
-        |
-        +--org.apache.commons.lang.builder.ReflectionToStringBuilder
-
-
-
-
public class ReflectionToStringBuilder
extends ToStringBuilder
- -

-

- Assists in implementing Object.toString() methods using reflection. -

- -

- This class uses reflection to determine the fields to append. Because these fields are usually private, the class - uses AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean) to - change the visibility of the fields. This will fail under a security manager, unless the appropriate permissions are - set up correctly. -

- -

- A typical invocation for this method would look like: -

- -
- public String toString() {
-   return ReflectionToStringBuilder.toString(this);
- }
- - - -

- You can also use the builder to debug 3rd party objects: -

- -
- System.out.println("An object: " + ReflectionToStringBuilder.toString(anObject));
- - - -

- A subclass can control field output by overriding the methods: -

-

-

- For example, this method does not include the password field in the returned - String: -

- -
- public String toString() {
-     return (new ReflectionToStringBuilder(this) {
-         protected boolean accept(Field f) {
-             return super.accept(f) && !f.getName().equals("password");
-         }
-     }).toString();
- }
- - - -

- The exact format of the toString is determined by the ToStringStyle passed into the - constructor. -

-

-

-
Since:
2.0
-
Version:
$Id: ReflectionToStringBuilder.java 501986 2007-01-31 20:54:26Z bayard $
-
Author:
Gary Gregory, Stephen Colebourne, Pete Gieser
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ReflectionToStringBuilder(Object object) - -
-           - Constructor.
ReflectionToStringBuilder(Object object, - ToStringStyle style) - -
-           - Constructor.
ReflectionToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer) - -
-           - Constructor.
ReflectionToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer, - Class reflectUpToClass, - boolean outputTransients) - -
-          Deprecated. Use ReflectionToStringBuilder(Object,ToStringStyle,StringBuffer,Class,boolean,boolean).
ReflectionToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer, - Class reflectUpToClass, - boolean outputTransients, - boolean outputStatics) - -
-          Constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  booleanaccept(Field field) - -
-          Returns whether or not to append the given Field.
-protected  voidappendFieldsIn(Class clazz) - -
-           - Appends the fields and values defined by the given object of the given Class.
- String[]getExcludeFieldNames() - -
-           
- ClassgetUpToClass() - -
-           - Gets the last super class to stop appending fields for.
-protected  ObjectgetValue(Field field) - -
-           - Calls java.lang.reflect.Field.get(Object).
- booleanisAppendStatics() - -
-           - Gets whether or not to append static fields.
- booleanisAppendTransients() - -
-           - Gets whether or not to append transient fields.
- ToStringBuilderreflectionAppendArray(Object array) - -
-           - Append to the toString an Object array.
- voidsetAppendStatics(boolean appendStatics) - -
-           - Sets whether or not to append static fields.
- voidsetAppendTransients(boolean appendTransients) - -
-           - Sets whether or not to append transient fields.
- ReflectionToStringBuildersetExcludeFieldNames(String[] excludeFieldNamesParam) - -
-          Sets the field names to exclude.
- voidsetUpToClass(Class clazz) - -
-           - Sets the last super class to stop appending fields for.
- StringtoString() - -
-           - Gets the String built by this builder.
-static StringtoString(Object object) - -
-           - Builds a toString value using the default ToStringStyle through reflection.
-static StringtoString(Object object, - ToStringStyle style) - -
-           - Builds a toString value through reflection.
-static StringtoString(Object object, - ToStringStyle style, - boolean outputTransients) - -
-           - Builds a toString value through reflection.
-static StringtoString(Object object, - ToStringStyle style, - boolean outputTransients, - boolean outputStatics) - -
-           - Builds a toString value through reflection.
-static StringtoString(Object object, - ToStringStyle style, - boolean outputTransients, - boolean outputStatics, - Class reflectUpToClass) - -
-           - Builds a toString value through reflection.
-static StringtoString(Object object, - ToStringStyle style, - boolean outputTransients, - Class reflectUpToClass) - -
-          Deprecated. Use toString(Object,ToStringStyle,boolean,boolean,Class)
-static StringtoStringExclude(Object object, - Collection excludeFieldNames) - -
-          Builds a String for a toString method excluding the given field names.
-static StringtoStringExclude(Object object, - String excludeFieldName) - -
-          Builds a String for a toString method excluding the given field name.
-static StringtoStringExclude(Object object, - String[] excludeFieldNames) - -
-          Builds a String for a toString method excluding the given field names.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.builder.ToStringBuilder
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendAsObjectToString, appendSuper, appendToString, getDefaultStyle, getObject, getStringBuffer, getStyle, reflectionToString, reflectionToString, reflectionToString, reflectionToString, setDefaultStyle
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ReflectionToStringBuilder

-
-public ReflectionToStringBuilder(Object object)
-
-

- Constructor. -

- -

- This constructor outputs using the default style set with setDefaultStyle. -

-
Parameters:
object - the Object to build a toString for, must not be null
Throws:
IllegalArgumentException - if the Object passed in is null
-
-
-
- -

-ReflectionToStringBuilder

-
-public ReflectionToStringBuilder(Object object,
-                                 ToStringStyle style)
-
-

- Constructor. -

- -

- If the style is null, the default style is used. -

-
Parameters:
object - the Object to build a toString for, must not be null
style - the style of the toString to create, may be null
Throws:
IllegalArgumentException - if the Object passed in is null
-
-
-
- -

-ReflectionToStringBuilder

-
-public ReflectionToStringBuilder(Object object,
-                                 ToStringStyle style,
-                                 StringBuffer buffer)
-
-

- Constructor. -

- -

- If the style is null, the default style is used. -

- -

- If the buffer is null, a new one is created. -

-
Parameters:
object - the Object to build a toString for
style - the style of the toString to create, may be null
buffer - the StringBuffer to populate, may be null
Throws:
IllegalArgumentException - if the Object passed in is null
-
-
-
- -

-ReflectionToStringBuilder

-
-public ReflectionToStringBuilder(Object object,
-                                 ToStringStyle style,
-                                 StringBuffer buffer,
-                                 Class reflectUpToClass,
-                                 boolean outputTransients)
-
-
Deprecated. Use ReflectionToStringBuilder(Object,ToStringStyle,StringBuffer,Class,boolean,boolean). -

-

Constructor.
-
Parameters:
object - the Object to build a toString for
style - the style of the toString to create, may be null
buffer - the StringBuffer to populate, may be null
reflectUpToClass - the superclass to reflect up to (inclusive), may be null
outputTransients - whether to include transient fields
-
-
-
- -

-ReflectionToStringBuilder

-
-public ReflectionToStringBuilder(Object object,
-                                 ToStringStyle style,
-                                 StringBuffer buffer,
-                                 Class reflectUpToClass,
-                                 boolean outputTransients,
-                                 boolean outputStatics)
-
-
Constructor.
-
Parameters:
object - the Object to build a toString for
style - the style of the toString to create, may be null
buffer - the StringBuffer to populate, may be null
reflectUpToClass - the superclass to reflect up to (inclusive), may be null
outputTransients - whether to include transient fields
outputStatics - whether to include static fields
Since:
2.1
-
-
-
- - - - - - - - -
-Method Detail
- -

-toString

-
-public static String toString(Object object)
-
-

- Builds a toString value using the default ToStringStyle through reflection. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- Transient members will be not be included, as they are likely derived. Static fields will not be included. - Superclass fields will be appended. -

-
Parameters:
object - the Object to be output
Returns:
the String result
Throws:
IllegalArgumentException - if the Object is null
-
-
-
- -

-toString

-
-public static String toString(Object object,
-                              ToStringStyle style)
-
-

- Builds a toString value through reflection. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- Transient members will be not be included, as they are likely derived. Static fields will not be included. - Superclass fields will be appended. -

- -

- If the style is null, the default ToStringStyle is used. -

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
Returns:
the String result
Throws:
IllegalArgumentException - if the Object or ToStringStyle is null
-
-
-
- -

-toString

-
-public static String toString(Object object,
-                              ToStringStyle style,
-                              boolean outputTransients)
-
-

- Builds a toString value through reflection. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- If the outputTransients is true, transient members will be output, otherwise they - are ignored, as they are likely derived fields, and not part of the value of the Object. -

- -

- Static fields will not be included. Superclass fields will be appended. -

- -

- If the style is null, the default ToStringStyle is used. -

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
outputTransients - whether to include transient fields
Returns:
the String result
Throws:
IllegalArgumentException - if the Object is null
-
-
-
- -

-toString

-
-public static String toString(Object object,
-                              ToStringStyle style,
-                              boolean outputTransients,
-                              boolean outputStatics)
-
-

- Builds a toString value through reflection. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- If the outputTransients is true, transient fields will be output, otherwise they - are ignored, as they are likely derived fields, and not part of the value of the Object. -

- -

- If the outputStatics is true, static fields will be output, otherwise they are - ignored. -

- -

- Static fields will not be included. Superclass fields will be appended. -

- -

- If the style is null, the default ToStringStyle is used. -

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
outputTransients - whether to include transient fields
outputStatics - whether to include transient fields
Returns:
the String result
Throws:
IllegalArgumentException - if the Object is null
Since:
2.1
-
-
-
-
- -

-toString

-
-public static String toString(Object object,
-                              ToStringStyle style,
-                              boolean outputTransients,
-                              boolean outputStatics,
-                              Class reflectUpToClass)
-
-

- Builds a toString value through reflection. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- If the outputTransients is true, transient fields will be output, otherwise they - are ignored, as they are likely derived fields, and not part of the value of the Object. -

- -

- If the outputStatics is true, static fields will be output, otherwise they are - ignored. -

- -

- Superclass fields will be appended up to and including the specified superclass. A null superclass is treated as - java.lang.Object. -

- -

- If the style is null, the default ToStringStyle is used. -

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
outputTransients - whether to include transient fields
outputStatics - whether to include static fields
reflectUpToClass - the superclass to reflect up to (inclusive), may be null
Returns:
the String result
Throws:
IllegalArgumentException - if the Object is null
Since:
2.1
-
-
-
-
- -

-toString

-
-public static String toString(Object object,
-                              ToStringStyle style,
-                              boolean outputTransients,
-                              Class reflectUpToClass)
-
-
Deprecated. Use toString(Object,ToStringStyle,boolean,boolean,Class) -

-

- Builds a toString value through reflection. -

- -

- It uses AccessibleObject.setAccessible to gain access to private fields. This means that it will - throw a security exception if run under a security manager, if the permissions are not set up correctly. It is - also not as efficient as testing explicitly. -

- -

- If the outputTransients is true, transient members will be output, otherwise they - are ignored, as they are likely derived fields, and not part of the value of the Object. -

- -

- Static fields will not be included. Superclass fields will be appended up to and including the specified - superclass. A null superclass is treated as java.lang.Object. -

- -

- If the style is null, the default ToStringStyle is used. -

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
outputTransients - whether to include transient fields
reflectUpToClass - the superclass to reflect up to (inclusive), may be null
Returns:
the String result
Throws:
IllegalArgumentException - if the Object is null
Since:
2.0
-
-
-
-
- -

-toStringExclude

-
-public static String toStringExclude(Object object,
-                                     String excludeFieldName)
-
-
Builds a String for a toString method excluding the given field name.
-
Parameters:
object - The object to "toString".
excludeFieldName - The field name to exclude
Returns:
The toString value.
-
-
-
- -

-toStringExclude

-
-public static String toStringExclude(Object object,
-                                     Collection excludeFieldNames)
-
-
Builds a String for a toString method excluding the given field names.
-
Parameters:
object - The object to "toString".
excludeFieldNames - The field names to exclude. Null excludes nothing.
Returns:
The toString value.
-
-
-
- -

-toStringExclude

-
-public static String toStringExclude(Object object,
-                                     String[] excludeFieldNames)
-
-
Builds a String for a toString method excluding the given field names.
-
Parameters:
object - The object to "toString".
excludeFieldNames - The field names to exclude
Returns:
The toString value.
-
-
-
- -

-accept

-
-protected boolean accept(Field field)
-
-
Returns whether or not to append the given Field. -
    -
  • Transient fields are appended only if isAppendTransients() returns true. -
  • Static fields are appended only if isAppendStatics() returns true. -
  • Inner class fields are not appened.
  • -
-
Parameters:
field - The Field to test.
Returns:
Whether or not to append the given Field.
-
-
-
- -

-appendFieldsIn

-
-protected void appendFieldsIn(Class clazz)
-
-

- Appends the fields and values defined by the given object of the given Class. -

- -

- If a cycle is detected as an object is "toString()'ed", such an object is rendered as if - Object.toString() had been called and not implemented by the object. -

-
Parameters:
clazz - The class of object parameter
-
-
-
- -

-getExcludeFieldNames

-
-public String[] getExcludeFieldNames()
-
-
-
Returns:
Returns the excludeFieldNames.
-
-
-
- -

-getUpToClass

-
-public Class getUpToClass()
-
-

- Gets the last super class to stop appending fields for. -

-
Returns:
The last super class to stop appending fields for.
-
-
-
- -

-getValue

-
-protected Object getValue(Field field)
-                   throws IllegalArgumentException,
-                          IllegalAccessException
-
-

- Calls java.lang.reflect.Field.get(Object). -

-
Parameters:
field - The Field to query.
Returns:
The Object from the given Field.
Throws:
IllegalArgumentException - see Field.get(Object)
IllegalAccessException - see Field.get(Object)
See Also:
Field.get(Object)
-
-
-
- -

-isAppendStatics

-
-public boolean isAppendStatics()
-
-

- Gets whether or not to append static fields. -

-
Returns:
Whether or not to append static fields.
Since:
2.1
-
-
-
-
- -

-isAppendTransients

-
-public boolean isAppendTransients()
-
-

- Gets whether or not to append transient fields. -

-
Returns:
Whether or not to append transient fields.
-
-
-
- -

-reflectionAppendArray

-
-public ToStringBuilder reflectionAppendArray(Object array)
-
-

- Append to the toString an Object array. -

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-setAppendStatics

-
-public void setAppendStatics(boolean appendStatics)
-
-

- Sets whether or not to append static fields. -

-
Parameters:
appendStatics - Whether or not to append static fields.
Since:
2.1
-
-
-
-
- -

-setAppendTransients

-
-public void setAppendTransients(boolean appendTransients)
-
-

- Sets whether or not to append transient fields. -

-
Parameters:
appendTransients - Whether or not to append transient fields.
-
-
-
- -

-setExcludeFieldNames

-
-public ReflectionToStringBuilder setExcludeFieldNames(String[] excludeFieldNamesParam)
-
-
Sets the field names to exclude.
-
Parameters:
excludeFieldNamesParam - The excludeFieldNames to excluding from toString or null.
Returns:
this
-
-
-
- -

-setUpToClass

-
-public void setUpToClass(Class clazz)
-
-

- Sets the last super class to stop appending fields for. -

-
Parameters:
clazz - The last super class to stop appending fields for.
-
-
-
- -

-toString

-
-public String toString()
-
-

- Gets the String built by this builder. -

-
Overrides:
toString in class ToStringBuilder
-
-
-
Returns:
the built string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/StandardToStringStyle.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/StandardToStringStyle.html deleted file mode 100644 index 3ddc41f1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/StandardToStringStyle.html +++ /dev/null @@ -1,1246 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StandardToStringStyle - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.builder -
-Class StandardToStringStyle

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.builder.ToStringStyle
-        |
-        +--org.apache.commons.lang.builder.StandardToStringStyle
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class StandardToStringStyle
extends ToStringStyle
- -

-

Works with ToStringBuilder to create a toString.

- -

This class is intended to be used as a singleton. - There is no need to instantiate a new style each time. - Simply instantiate the class once, customize the values as required, and - store the result in a public static final variable for the rest of the - program to access.

-

-

-
Since:
1.0
-
Version:
$Id: StandardToStringStyle.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne, Pete Gieser, Gary Gregory
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - -
Fields inherited from class org.apache.commons.lang.builder.ToStringStyle
DEFAULT_STYLE, MULTI_LINE_STYLE, NO_FIELD_NAMES_STYLE, SHORT_PREFIX_STYLE, SIMPLE_STYLE
-  - - - - - - - - - - -
-Constructor Summary
StandardToStringStyle() - -
-          Constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetArrayEnd() - -
-          Gets the array end text.
- StringgetArraySeparator() - -
-          Gets the array separator text.
- StringgetArrayStart() - -
-          Gets the array start text.
- StringgetContentEnd() - -
-          Gets the content end text.
- StringgetContentStart() - -
-          Gets the content start text.
- StringgetFieldNameValueSeparator() - -
-          Gets the field name value separator text.
- StringgetFieldSeparator() - -
-          Gets the field separator text.
- StringgetNullText() - -
-          Gets the text to output when null found.
- StringgetSizeEndText() - -
-          Gets the end text to output when a Collection, - Map or Array size is output.
- StringgetSizeStartText() - -
-          Gets the text to output when a Collection, - Map or Array size is output.
- StringgetSummaryObjectEndText() - -
-          Gets the end text to output when an Object is - output in summary mode.
- StringgetSummaryObjectStartText() - -
-          Gets the start text to output when an Object is - output in summary mode.
- booleanisArrayContentDetail() - -
-          Gets whether to output array content detail.
- booleanisDefaultFullDetail() - -
-          Gets whether to use full detail when the caller doesn't - specify.
- booleanisFieldSeparatorAtEnd() - -
-          Gets whether the field separator should be added at the end - of each buffer.
- booleanisFieldSeparatorAtStart() - -
-          Gets whether the field separator should be added at the start - of each buffer.
- booleanisShortClassName() - -
-          Deprecated. Use isUseShortClassName() - Method will be removed in Commons Lang 3.0.
- booleanisUseClassName() - -
-          Gets whether to use the class name.
- booleanisUseFieldNames() - -
-          Gets whether to use the field names passed in.
- booleanisUseIdentityHashCode() - -
-          Gets whether to use the identity hash code.
- booleanisUseShortClassName() - -
-          Gets whether to output short or long class names.
- voidsetArrayContentDetail(boolean arrayContentDetail) - -
-          Sets whether to output array content detail.
- voidsetArrayEnd(String arrayEnd) - -
-          Sets the array end text.
- voidsetArraySeparator(String arraySeparator) - -
-          Sets the array separator text.
- voidsetArrayStart(String arrayStart) - -
-          Sets the array start text.
- voidsetContentEnd(String contentEnd) - -
-          Sets the content end text.
- voidsetContentStart(String contentStart) - -
-          Sets the content start text.
- voidsetDefaultFullDetail(boolean defaultFullDetail) - -
-          Sets whether to use full detail when the caller doesn't - specify.
- voidsetFieldNameValueSeparator(String fieldNameValueSeparator) - -
-          Sets the field name value separator text.
- voidsetFieldSeparator(String fieldSeparator) - -
-          Sets the field separator text.
- voidsetFieldSeparatorAtEnd(boolean fieldSeparatorAtEnd) - -
-          Sets whether the field separator should be added at the end - of each buffer.
- voidsetFieldSeparatorAtStart(boolean fieldSeparatorAtStart) - -
-          Sets whether the field separator should be added at the start - of each buffer.
- voidsetNullText(String nullText) - -
-          Sets the text to output when null found.
- voidsetShortClassName(boolean shortClassName) - -
-          Deprecated. Use setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0.
- voidsetSizeEndText(String sizeEndText) - -
-          Sets the end text to output when a Collection, - Map or Array size is output.
- voidsetSizeStartText(String sizeStartText) - -
-          Sets the start text to output when a Collection, - Map or Array size is output.
- voidsetSummaryObjectEndText(String summaryObjectEndText) - -
-          Sets the end text to output when an Object is - output in summary mode.
- voidsetSummaryObjectStartText(String summaryObjectStartText) - -
-          Sets the start text to output when an Object is - output in summary mode.
- voidsetUseClassName(boolean useClassName) - -
-          Sets whether to use the class name.
- voidsetUseFieldNames(boolean useFieldNames) - -
-          Sets whether to use the field names passed in.
- voidsetUseIdentityHashCode(boolean useIdentityHashCode) - -
-          Sets whether to use the identity hash code.
- voidsetUseShortClassName(boolean useShortClassName) - -
-          Sets whether to output short or long class names.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.builder.ToStringStyle
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, appendClassName, appendContentEnd, appendContentStart, appendCyclicObject, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendDetail, appendEnd, appendFieldEnd, appendFieldSeparator, appendFieldStart, appendIdentityHashCode, appendInternal, appendNullText, appendStart, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummary, appendSummarySize, appendSuper, appendToString, getShortClassName, isFullDetail, reflectionAppendArrayDetail, removeLastFieldSeparator
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-StandardToStringStyle

-
-public StandardToStringStyle()
-
-

Constructor.

- - - - - - - - -
-Method Detail
- -

-isUseClassName

-
-public boolean isUseClassName()
-
-

Gets whether to use the class name.

-
Overrides:
isUseClassName in class ToStringStyle
-
-
-
Returns:
the current useClassName flag
-
-
-
- -

-setUseClassName

-
-public void setUseClassName(boolean useClassName)
-
-

Sets whether to use the class name.

-
Overrides:
setUseClassName in class ToStringStyle
-
-
-
Parameters:
useClassName - the new useClassName flag
-
-
-
- -

-isUseShortClassName

-
-public boolean isUseShortClassName()
-
-

Gets whether to output short or long class names.

-
Overrides:
isUseShortClassName in class ToStringStyle
-
-
-
Returns:
the current useShortClassName flag
Since:
2.0
-
-
-
-
- -

-isShortClassName

-
-public boolean isShortClassName()
-
-
Deprecated. Use isUseShortClassName() - Method will be removed in Commons Lang 3.0. -

-

Gets whether to output short or long class names.

-
Overrides:
isShortClassName in class ToStringStyle
-
-
-
Returns:
the current shortClassName flag
-
-
-
- -

-setUseShortClassName

-
-public void setUseShortClassName(boolean useShortClassName)
-
-

Sets whether to output short or long class names.

-
Overrides:
setUseShortClassName in class ToStringStyle
-
-
-
Parameters:
useShortClassName - the new useShortClassName flag
Since:
2.0
-
-
-
-
- -

-setShortClassName

-
-public void setShortClassName(boolean shortClassName)
-
-
Deprecated. Use setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0. -

-

Sets whether to output short or long class names.

-
Overrides:
setShortClassName in class ToStringStyle
-
-
-
Parameters:
shortClassName - the new shortClassName flag
-
-
-
- -

-isUseIdentityHashCode

-
-public boolean isUseIdentityHashCode()
-
-

Gets whether to use the identity hash code.

-
Overrides:
isUseIdentityHashCode in class ToStringStyle
-
-
-
Returns:
the current useIdentityHashCode flag
-
-
-
- -

-setUseIdentityHashCode

-
-public void setUseIdentityHashCode(boolean useIdentityHashCode)
-
-

Sets whether to use the identity hash code.

-
Overrides:
setUseIdentityHashCode in class ToStringStyle
-
-
-
Parameters:
useIdentityHashCode - the new useIdentityHashCode flag
-
-
-
- -

-isUseFieldNames

-
-public boolean isUseFieldNames()
-
-

Gets whether to use the field names passed in.

-
Overrides:
isUseFieldNames in class ToStringStyle
-
-
-
Returns:
the current useFieldNames flag
-
-
-
- -

-setUseFieldNames

-
-public void setUseFieldNames(boolean useFieldNames)
-
-

Sets whether to use the field names passed in.

-
Overrides:
setUseFieldNames in class ToStringStyle
-
-
-
Parameters:
useFieldNames - the new useFieldNames flag
-
-
-
- -

-isDefaultFullDetail

-
-public boolean isDefaultFullDetail()
-
-

Gets whether to use full detail when the caller doesn't - specify.

-
Overrides:
isDefaultFullDetail in class ToStringStyle
-
-
-
Returns:
the current defaultFullDetail flag
-
-
-
- -

-setDefaultFullDetail

-
-public void setDefaultFullDetail(boolean defaultFullDetail)
-
-

Sets whether to use full detail when the caller doesn't - specify.

-
Overrides:
setDefaultFullDetail in class ToStringStyle
-
-
-
Parameters:
defaultFullDetail - the new defaultFullDetail flag
-
-
-
- -

-isArrayContentDetail

-
-public boolean isArrayContentDetail()
-
-

Gets whether to output array content detail.

-
Overrides:
isArrayContentDetail in class ToStringStyle
-
-
-
Returns:
the current array content detail setting
-
-
-
- -

-setArrayContentDetail

-
-public void setArrayContentDetail(boolean arrayContentDetail)
-
-

Sets whether to output array content detail.

-
Overrides:
setArrayContentDetail in class ToStringStyle
-
-
-
Parameters:
arrayContentDetail - the new arrayContentDetail flag
-
-
-
- -

-getArrayStart

-
-public String getArrayStart()
-
-

Gets the array start text.

-
Overrides:
getArrayStart in class ToStringStyle
-
-
-
Returns:
the current array start text
-
-
-
- -

-setArrayStart

-
-public void setArrayStart(String arrayStart)
-
-

Sets the array start text.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setArrayStart in class ToStringStyle
-
-
-
Parameters:
arrayStart - the new array start text
-
-
-
- -

-getArrayEnd

-
-public String getArrayEnd()
-
-

Gets the array end text.

-
Overrides:
getArrayEnd in class ToStringStyle
-
-
-
Returns:
the current array end text
-
-
-
- -

-setArrayEnd

-
-public void setArrayEnd(String arrayEnd)
-
-

Sets the array end text.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setArrayEnd in class ToStringStyle
-
-
-
Parameters:
arrayEnd - the new array end text
-
-
-
- -

-getArraySeparator

-
-public String getArraySeparator()
-
-

Gets the array separator text.

-
Overrides:
getArraySeparator in class ToStringStyle
-
-
-
Returns:
the current array separator text
-
-
-
- -

-setArraySeparator

-
-public void setArraySeparator(String arraySeparator)
-
-

Sets the array separator text.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setArraySeparator in class ToStringStyle
-
-
-
Parameters:
arraySeparator - the new array separator text
-
-
-
- -

-getContentStart

-
-public String getContentStart()
-
-

Gets the content start text.

-
Overrides:
getContentStart in class ToStringStyle
-
-
-
Returns:
the current content start text
-
-
-
- -

-setContentStart

-
-public void setContentStart(String contentStart)
-
-

Sets the content start text.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setContentStart in class ToStringStyle
-
-
-
Parameters:
contentStart - the new content start text
-
-
-
- -

-getContentEnd

-
-public String getContentEnd()
-
-

Gets the content end text.

-
Overrides:
getContentEnd in class ToStringStyle
-
-
-
Returns:
the current content end text
-
-
-
- -

-setContentEnd

-
-public void setContentEnd(String contentEnd)
-
-

Sets the content end text.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setContentEnd in class ToStringStyle
-
-
-
Parameters:
contentEnd - the new content end text
-
-
-
- -

-getFieldNameValueSeparator

-
-public String getFieldNameValueSeparator()
-
-

Gets the field name value separator text.

-
Overrides:
getFieldNameValueSeparator in class ToStringStyle
-
-
-
Returns:
the current field name value separator text
-
-
-
- -

-setFieldNameValueSeparator

-
-public void setFieldNameValueSeparator(String fieldNameValueSeparator)
-
-

Sets the field name value separator text.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setFieldNameValueSeparator in class ToStringStyle
-
-
-
Parameters:
fieldNameValueSeparator - the new field name value separator text
-
-
-
- -

-getFieldSeparator

-
-public String getFieldSeparator()
-
-

Gets the field separator text.

-
Overrides:
getFieldSeparator in class ToStringStyle
-
-
-
Returns:
the current field separator text
-
-
-
- -

-setFieldSeparator

-
-public void setFieldSeparator(String fieldSeparator)
-
-

Sets the field separator text.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setFieldSeparator in class ToStringStyle
-
-
-
Parameters:
fieldSeparator - the new field separator text
-
-
-
- -

-isFieldSeparatorAtStart

-
-public boolean isFieldSeparatorAtStart()
-
-

Gets whether the field separator should be added at the start - of each buffer.

-
Overrides:
isFieldSeparatorAtStart in class ToStringStyle
-
-
-
Returns:
the fieldSeparatorAtStart flag
Since:
2.0
-
-
-
-
- -

-setFieldSeparatorAtStart

-
-public void setFieldSeparatorAtStart(boolean fieldSeparatorAtStart)
-
-

Sets whether the field separator should be added at the start - of each buffer.

-
Overrides:
setFieldSeparatorAtStart in class ToStringStyle
-
-
-
Parameters:
fieldSeparatorAtStart - the fieldSeparatorAtStart flag
Since:
2.0
-
-
-
-
- -

-isFieldSeparatorAtEnd

-
-public boolean isFieldSeparatorAtEnd()
-
-

Gets whether the field separator should be added at the end - of each buffer.

-
Overrides:
isFieldSeparatorAtEnd in class ToStringStyle
-
-
-
Returns:
fieldSeparatorAtEnd flag
Since:
2.0
-
-
-
-
- -

-setFieldSeparatorAtEnd

-
-public void setFieldSeparatorAtEnd(boolean fieldSeparatorAtEnd)
-
-

Sets whether the field separator should be added at the end - of each buffer.

-
Overrides:
setFieldSeparatorAtEnd in class ToStringStyle
-
-
-
Parameters:
fieldSeparatorAtEnd - the fieldSeparatorAtEnd flag
Since:
2.0
-
-
-
-
- -

-getNullText

-
-public String getNullText()
-
-

Gets the text to output when null found.

-
Overrides:
getNullText in class ToStringStyle
-
-
-
Returns:
the current text to output when null found
-
-
-
- -

-setNullText

-
-public void setNullText(String nullText)
-
-

Sets the text to output when null found.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setNullText in class ToStringStyle
-
-
-
Parameters:
nullText - the new text to output when null found
-
-
-
- -

-getSizeStartText

-
-public String getSizeStartText()
-
-

Gets the text to output when a Collection, - Map or Array size is output.

- -

This is output before the size value.

-
Overrides:
getSizeStartText in class ToStringStyle
-
-
-
Returns:
the current start of size text
-
-
-
- -

-setSizeStartText

-
-public void setSizeStartText(String sizeStartText)
-
-

Sets the start text to output when a Collection, - Map or Array size is output.

- -

This is output before the size value.

- -

null is accepted, but will be converted to - an empty String.

-
Overrides:
setSizeStartText in class ToStringStyle
-
-
-
Parameters:
sizeStartText - the new start of size text
-
-
-
- -

-getSizeEndText

-
-public String getSizeEndText()
-
-
Gets the end text to output when a Collection, - Map or Array size is output.

- -

This is output after the size value.

-
Overrides:
getSizeEndText in class ToStringStyle
-
-
-
Returns:
the current end of size text
-
-
-
- -

-setSizeEndText

-
-public void setSizeEndText(String sizeEndText)
-
-

Sets the end text to output when a Collection, - Map or Array size is output.

- -

This is output after the size value.

- -

null is accepted, but will be converted - to an empty String.

-
Overrides:
setSizeEndText in class ToStringStyle
-
-
-
Parameters:
sizeEndText - the new end of size text
-
-
-
- -

-getSummaryObjectStartText

-
-public String getSummaryObjectStartText()
-
-

Gets the start text to output when an Object is - output in summary mode.

- -

This is output before the size value.

-
Overrides:
getSummaryObjectStartText in class ToStringStyle
-
-
-
Returns:
the current start of summary text
-
-
-
- -

-setSummaryObjectStartText

-
-public void setSummaryObjectStartText(String summaryObjectStartText)
-
-

Sets the start text to output when an Object is - output in summary mode.

- -

This is output before the size value.

- -

null is accepted, but will be converted to - an empty String.

-
Overrides:
setSummaryObjectStartText in class ToStringStyle
-
-
-
Parameters:
summaryObjectStartText - the new start of summary text
-
-
-
- -

-getSummaryObjectEndText

-
-public String getSummaryObjectEndText()
-
-

Gets the end text to output when an Object is - output in summary mode.

- -

This is output after the size value.

-
Overrides:
getSummaryObjectEndText in class ToStringStyle
-
-
-
Returns:
the current end of summary text
-
-
-
- -

-setSummaryObjectEndText

-
-public void setSummaryObjectEndText(String summaryObjectEndText)
-
-

Sets the end text to output when an Object is - output in summary mode.

- -

This is output after the size value.

- -

null is accepted, but will be converted to - an empty String.

-
Overrides:
setSummaryObjectEndText in class ToStringStyle
-
-
-
Parameters:
summaryObjectEndText - the new end of summary text
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ToStringBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ToStringBuilder.html deleted file mode 100644 index 9fc648a9..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ToStringBuilder.html +++ /dev/null @@ -1,1726 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ToStringBuilder - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.builder -
-Class ToStringBuilder

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.builder.ToStringBuilder
-
-
-
Direct Known Subclasses:
ReflectionToStringBuilder
-
-
-
-
public class ToStringBuilder
extends Object
- -

-

Assists in implementing Object.toString() methods.

- -

This class enables a good and consistent toString() to be built for any - class or object. This class aims to simplify the process by:

-
    -
  • allowing field names
  • -
  • handling all types consistently
  • -
  • handling nulls consistently
  • -
  • outputting arrays and multi-dimensional arrays
  • -
  • enabling the detail level to be controlled for Objects and Collections
  • -
  • handling class hierarchies
  • -
- -

To use this class write code as follows:

- -
- public class Person {
-   String name;
-   int age;
-   boolean smoker;
- 
-   ...
- 
-   public String toString() {
-     return new ToStringBuilder(this).
-       append("name", name).
-       append("age", age).
-       append("smoker", smoker).
-       toString();
-   }
- }
- 
- -

This will produce a toString of the format: - Person@7f54[name=Stephen,age=29,smoker=false]

- -

To add the superclass toString, use appendSuper(java.lang.String). - To append the toString from an object that is delegated - to (or any other object), use appendToString(java.lang.String).

- -

Alternatively, there is a method that uses reflection to determine - the fields to test. Because these fields are usually private, the method, - reflectionToString, uses AccessibleObject.setAccessible to - change the visibility of the fields. This will fail under a security manager, - unless the appropriate permissions are set up correctly. It is also - slower than testing explicitly.

- -

A typical invocation for this method would look like:

- -
- public String toString() {
-   return ToStringBuilder.reflectionToString(this);
- }
- 
- -

You can also use the builder to debug 3rd party objects:

- -
- System.out.println("An object: " + ToStringBuilder.reflectionToString(anObject));
- 
- -

The exact format of the toString is determined by - the ToStringStyle passed into the constructor.

-

-

-
Since:
1.0
-
Version:
$Id: ToStringBuilder.java 492354 2007-01-03 23:48:10Z scolebourne $
-
Author:
Stephen Colebourne, Gary Gregory, Pete Gieser
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ToStringBuilder(Object object) - -
-          Constructor for ToStringBuilder.
ToStringBuilder(Object object, - ToStringStyle style) - -
-          Constructor for ToStringBuilder specifying the - output style.
ToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer) - -
-          Constructor for ToStringBuilder.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ToStringBuilderappend(boolean value) - -
-          Append to the toString a boolean - value.
- ToStringBuilderappend(boolean[] array) - -
-          Append to the toString a boolean - array.
- ToStringBuilderappend(byte value) - -
-          Append to the toString a byte - value.
- ToStringBuilderappend(byte[] array) - -
-          Append to the toString a byte - array.
- ToStringBuilderappend(char value) - -
-          Append to the toString a char - value.
- ToStringBuilderappend(char[] array) - -
-          Append to the toString a char - array.
- ToStringBuilderappend(double value) - -
-          Append to the toString a double - value.
- ToStringBuilderappend(double[] array) - -
-          Append to the toString a double - array.
- ToStringBuilderappend(float value) - -
-          Append to the toString a float - value.
- ToStringBuilderappend(float[] array) - -
-          Append to the toString a float - array.
- ToStringBuilderappend(int value) - -
-          Append to the toString an int - value.
- ToStringBuilderappend(int[] array) - -
-          Append to the toString an int - array.
- ToStringBuilderappend(long value) - -
-          Append to the toString a long - value.
- ToStringBuilderappend(long[] array) - -
-          Append to the toString a long - array.
- ToStringBuilderappend(Object obj) - -
-          Append to the toString an Object - value.
- ToStringBuilderappend(Object[] array) - -
-          Append to the toString an Object - array.
- ToStringBuilderappend(short value) - -
-          Append to the toString a short - value.
- ToStringBuilderappend(short[] array) - -
-          Append to the toString a short - array.
- ToStringBuilderappend(String fieldName, - boolean value) - -
-          Append to the toString a boolean - value.
- ToStringBuilderappend(String fieldName, - boolean[] array) - -
-          Append to the toString a boolean - array.
- ToStringBuilderappend(String fieldName, - boolean[] array, - boolean fullDetail) - -
-          Append to the toString a boolean - array.
- ToStringBuilderappend(String fieldName, - byte value) - -
-          Append to the toString an byte - value.
- ToStringBuilderappend(String fieldName, - byte[] array) - -
-          Append to the toString a byte array.
- ToStringBuilderappend(String fieldName, - byte[] array, - boolean fullDetail) - -
-          Append to the toString a byte - array.
- ToStringBuilderappend(String fieldName, - char value) - -
-          Append to the toString a char - value.
- ToStringBuilderappend(String fieldName, - char[] array) - -
-          Append to the toString a char - array.
- ToStringBuilderappend(String fieldName, - char[] array, - boolean fullDetail) - -
-          Append to the toString a char - array.
- ToStringBuilderappend(String fieldName, - double value) - -
-          Append to the toString a double - value.
- ToStringBuilderappend(String fieldName, - double[] array) - -
-          Append to the toString a double - array.
- ToStringBuilderappend(String fieldName, - double[] array, - boolean fullDetail) - -
-          Append to the toString a double - array.
- ToStringBuilderappend(String fieldName, - float value) - -
-          Append to the toString an float - value.
- ToStringBuilderappend(String fieldName, - float[] array) - -
-          Append to the toString a float - array.
- ToStringBuilderappend(String fieldName, - float[] array, - boolean fullDetail) - -
-          Append to the toString a float - array.
- ToStringBuilderappend(String fieldName, - int value) - -
-          Append to the toString an int - value.
- ToStringBuilderappend(String fieldName, - int[] array) - -
-          Append to the toString an int - array.
- ToStringBuilderappend(String fieldName, - int[] array, - boolean fullDetail) - -
-          Append to the toString an int - array.
- ToStringBuilderappend(String fieldName, - long value) - -
-          Append to the toString a long - value.
- ToStringBuilderappend(String fieldName, - long[] array) - -
-          Append to the toString a long - array.
- ToStringBuilderappend(String fieldName, - long[] array, - boolean fullDetail) - -
-          Append to the toString a long - array.
- ToStringBuilderappend(String fieldName, - Object obj) - -
-          Append to the toString an Object - value.
- ToStringBuilderappend(String fieldName, - Object[] array) - -
-          Append to the toString an Object - array.
- ToStringBuilderappend(String fieldName, - Object[] array, - boolean fullDetail) - -
-          Append to the toString an Object - array.
- ToStringBuilderappend(String fieldName, - Object obj, - boolean fullDetail) - -
-          Append to the toString an Object - value.
- ToStringBuilderappend(String fieldName, - short value) - -
-          Append to the toString an short - value.
- ToStringBuilderappend(String fieldName, - short[] array) - -
-          Append to the toString a short - array.
- ToStringBuilderappend(String fieldName, - short[] array, - boolean fullDetail) - -
-          Append to the toString a short - array.
- ToStringBuilderappendAsObjectToString(Object object) - -
-          Appends with the same format as the default Object toString() - method.
- ToStringBuilderappendSuper(String superToString) - -
-          Append the toString from the superclass.
- ToStringBuilderappendToString(String toString) - -
-          Append the toString from another object.
-static ToStringStylegetDefaultStyle() - -
-          Gets the default ToStringStyle to use.
- ObjectgetObject() - -
-          Returns the Object being output.
- StringBuffergetStringBuffer() - -
-          Gets the StringBuffer being populated.
- ToStringStylegetStyle() - -
-          Gets the ToStringStyle being used.
-static StringreflectionToString(Object object) - -
-          Forwards to ReflectionToStringBuilder.
-static StringreflectionToString(Object object, - ToStringStyle style) - -
-          Forwards to ReflectionToStringBuilder.
-static StringreflectionToString(Object object, - ToStringStyle style, - boolean outputTransients) - -
-          Forwards to ReflectionToStringBuilder.
-static StringreflectionToString(Object object, - ToStringStyle style, - boolean outputTransients, - Class reflectUpToClass) - -
-          Forwards to ReflectionToStringBuilder.
-static voidsetDefaultStyle(ToStringStyle style) - -
-          Sets the default ToStringStyle to use.
- StringtoString() - -
-          Returns the built toString.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ToStringBuilder

-
-public ToStringBuilder(Object object)
-
-

Constructor for ToStringBuilder.

- -

This constructor outputs using the default style set with - setDefaultStyle.

-
Parameters:
object - the Object to build a toString for
Throws:
IllegalArgumentException - if the Object passed in is - null
-
-
-
- -

-ToStringBuilder

-
-public ToStringBuilder(Object object,
-                       ToStringStyle style)
-
-

Constructor for ToStringBuilder specifying the - output style.

- -

If the style is null, the default style is used.

-
Parameters:
object - the Object to build a toString for
style - the style of the toString to create, - may be null
Throws:
IllegalArgumentException - if the Object passed in is - null
-
-
-
- -

-ToStringBuilder

-
-public ToStringBuilder(Object object,
-                       ToStringStyle style,
-                       StringBuffer buffer)
-
-

Constructor for ToStringBuilder.

- -

If the style is null, the default style is used.

- -

If the buffer is null, a new one is created.

-
Parameters:
object - the Object to build a toString for
style - the style of the toString to create, - may be null
buffer - the StringBuffer to populate, may be - null
-
-
- - - - - - - - -
-Method Detail
- -

-getDefaultStyle

-
-public static ToStringStyle getDefaultStyle()
-
-

Gets the default ToStringStyle to use.

- -

This could allow the ToStringStyle to be - controlled for an entire application with one call.

- -

This might be used to have a verbose - ToStringStyle during development and a compact - ToStringStyle in production.

-
Returns:
the default ToStringStyle
-
-
-
- -

-reflectionToString

-
-public static String reflectionToString(Object object)
-
-

Forwards to ReflectionToStringBuilder.

-
Parameters:
object - the Object to be output
Returns:
the String result
See Also:
ReflectionToStringBuilder.toString(Object)
-
-
-
- -

-reflectionToString

-
-public static String reflectionToString(Object object,
-                                        ToStringStyle style)
-
-

Forwards to ReflectionToStringBuilder.

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
Returns:
the String result
See Also:
ReflectionToStringBuilder.toString(Object,ToStringStyle)
-
-
-
- -

-reflectionToString

-
-public static String reflectionToString(Object object,
-                                        ToStringStyle style,
-                                        boolean outputTransients)
-
-

Forwards to ReflectionToStringBuilder.

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
outputTransients - whether to include transient fields
Returns:
the String result
See Also:
ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean)
-
-
-
- -

-reflectionToString

-
-public static String reflectionToString(Object object,
-                                        ToStringStyle style,
-                                        boolean outputTransients,
-                                        Class reflectUpToClass)
-
-

Forwards to ReflectionToStringBuilder.

-
Parameters:
object - the Object to be output
style - the style of the toString to create, may be null
outputTransients - whether to include transient fields
reflectUpToClass - the superclass to reflect up to (inclusive), may be null
Returns:
the String result
Since:
2.0
-
See Also:
ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean,boolean,Class)
-
-
-
- -

-setDefaultStyle

-
-public static void setDefaultStyle(ToStringStyle style)
-
-

Sets the default ToStringStyle to use.

-
Parameters:
style - the default ToStringStyle
Throws:
IllegalArgumentException - if the style is null
-
-
-
- -

-append

-
-public ToStringBuilder append(boolean value)
-
-

Append to the toString a boolean - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(boolean[] array)
-
-

Append to the toString a boolean - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(byte value)
-
-

Append to the toString a byte - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(byte[] array)
-
-

Append to the toString a byte - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(char value)
-
-

Append to the toString a char - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(char[] array)
-
-

Append to the toString a char - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(double value)
-
-

Append to the toString a double - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(double[] array)
-
-

Append to the toString a double - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(float value)
-
-

Append to the toString a float - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(float[] array)
-
-

Append to the toString a float - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(int value)
-
-

Append to the toString an int - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(int[] array)
-
-

Append to the toString an int - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(long value)
-
-

Append to the toString a long - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(long[] array)
-
-

Append to the toString a long - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(Object obj)
-
-

Append to the toString an Object - value.

-
Parameters:
obj - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(Object[] array)
-
-

Append to the toString an Object - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(short value)
-
-

Append to the toString a short - value.

-
Parameters:
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(short[] array)
-
-

Append to the toString a short - array.

-
Parameters:
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              boolean value)
-
-

Append to the toString a boolean - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              boolean[] array)
-
-

Append to the toString a boolean - array.

-
Parameters:
fieldName - the field name
array - the array to add to the hashCode
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              boolean[] array,
-                              boolean fullDetail)
-
-

Append to the toString a boolean - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              byte value)
-
-

Append to the toString an byte - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              byte[] array)
-
-

Append to the toString a byte array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              byte[] array,
-                              boolean fullDetail)
-
-

Append to the toString a byte - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              char value)
-
-

Append to the toString a char - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              char[] array)
-
-

Append to the toString a char - array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              char[] array,
-                              boolean fullDetail)
-
-

Append to the toString a char - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              double value)
-
-

Append to the toString a double - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              double[] array)
-
-

Append to the toString a double - array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              double[] array,
-                              boolean fullDetail)
-
-

Append to the toString a double - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              float value)
-
-

Append to the toString an float - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              float[] array)
-
-

Append to the toString a float - array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              float[] array,
-                              boolean fullDetail)
-
-

Append to the toString a float - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              int value)
-
-

Append to the toString an int - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              int[] array)
-
-

Append to the toString an int - array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              int[] array,
-                              boolean fullDetail)
-
-

Append to the toString an int - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              long value)
-
-

Append to the toString a long - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              long[] array)
-
-

Append to the toString a long - array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              long[] array,
-                              boolean fullDetail)
-
-

Append to the toString a long - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              Object obj)
-
-

Append to the toString an Object - value.

-
Parameters:
fieldName - the field name
obj - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              Object obj,
-                              boolean fullDetail)
-
-

Append to the toString an Object - value.

-
Parameters:
fieldName - the field name
obj - the value to add to the toString
fullDetail - true for detail, - false for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              Object[] array)
-
-

Append to the toString an Object - array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              Object[] array,
-                              boolean fullDetail)
-
-

Append to the toString an Object - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              short value)
-
-

Append to the toString an short - value.

-
Parameters:
fieldName - the field name
value - the value to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              short[] array)
-
-

Append to the toString a short - array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
Returns:
this
-
-
-
- -

-append

-
-public ToStringBuilder append(String fieldName,
-                              short[] array,
-                              boolean fullDetail)
-
-

Append to the toString a short - array.

- -

A boolean parameter controls the level of detail to show. - Setting true will output the array in full. Setting - false will output a summary, typically the size of - the array.

-
Parameters:
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info
Returns:
this
-
-
-
- -

-appendAsObjectToString

-
-public ToStringBuilder appendAsObjectToString(Object object)
-
-

Appends with the same format as the default Object toString() - method. Appends the class name followed by - System#identityHashCode(java.lang.Object).

-
Parameters:
object - the Object whose class name and id to output
Returns:
this
Since:
2.0
-
-
-
-
- -

-appendSuper

-
-public ToStringBuilder appendSuper(String superToString)
-
-

Append the toString from the superclass.

- -

This method assumes that the superclass uses the same ToStringStyle - as this one.

- -

If superToString is null, no change is made.

-
Parameters:
superToString - the result of super.toString()
Returns:
this
Since:
2.0
-
-
-
-
- -

-appendToString

-
-public ToStringBuilder appendToString(String toString)
-
-

Append the toString from another object.

- -

This method is useful where a class delegates most of the implementation of - its properties to another class. You can then call toString() on - the other class and pass the result into this method.

- -
-   private AnotherObject delegate;
-   private String fieldInThisClass;
- 
-   public String toString() {
-     return new ToStringBuilder(this).
-       appendToString(delegate.toString()).
-       append(fieldInThisClass).
-       toString();
-   }
- -

This method assumes that the other object uses the same ToStringStyle - as this one.

- -

If the toString is null, no change is made.

-
Parameters:
toString - the result of toString() on another object
Returns:
this
Since:
2.0
-
-
-
-
- -

-getObject

-
-public Object getObject()
-
-

Returns the Object being output.

-
Returns:
The object being output.
Since:
2.0
-
-
-
-
- -

-getStringBuffer

-
-public StringBuffer getStringBuffer()
-
-

Gets the StringBuffer being populated.

-
Returns:
the StringBuffer being populated
-
-
-
- -

-getStyle

-
-public ToStringStyle getStyle()
-
-

Gets the ToStringStyle being used.

-
Returns:
the ToStringStyle being used
Since:
2.0
-
-
-
-
- -

-toString

-
-public String toString()
-
-

Returns the built toString.

- -

This method appends the end of data indicator, and can only be called once. - Use getStringBuffer() to get the current string state.

- -

If the object is null, return the style's nullText

-
Overrides:
toString in class Object
-
-
-
Returns:
the String toString
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ToStringStyle.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ToStringStyle.html deleted file mode 100644 index 9c606e24..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/ToStringStyle.html +++ /dev/null @@ -1,3249 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ToStringStyle - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.builder -
-Class ToStringStyle

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.builder.ToStringStyle
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
Direct Known Subclasses:
StandardToStringStyle
-
-
-
-
public abstract class ToStringStyle
extends Object
implements Serializable
- -

-

Controls String formatting for ToStringBuilder. - The main public interface is always via ToStringBuilder.

- -

These classes are intended to be used as Singletons. - There is no need to instantiate a new style each time. A program - will generally use one of the predefined constants on this class. - Alternatively, the StandardToStringStyle class can be used - to set the individual settings. Thus most styles can be achieved - without subclassing.

- -

If required, a subclass can override as many or as few of the - methods as it requires. Each object type (from boolean - to long to Object to int[]) has - its own methods to output it. Most have two versions, detail and summary. - -

For example, the detail version of the array based methods will - output the whole array, whereas the summary method will just output - the array length.

- -

If you want to format the output of certain objects, such as dates, you - must create a subclass and override a method. -

- public class MyStyle extends ToStringStyle {
-   protected void appendDetail(StringBuffer buffer, String fieldName, Object value) {
-     if (value instanceof Date) {
-       value = new SimpleDateFormat("yyyy-MM-dd").format(value);
-     }
-     buffer.append(value);
-   }
- }
- 
-

-

-

-
Since:
1.0
-
Version:
$Id: ToStringStyle.java 500497 2007-01-27 07:13:59Z bayard $
-
Author:
Stephen Colebourne, Gary Gregory, Pete Gieser, Masato Tezuka
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static ToStringStyleDEFAULT_STYLE - -
-          The default toString style.
-static ToStringStyleMULTI_LINE_STYLE - -
-          The multi line toString style.
-static ToStringStyleNO_FIELD_NAMES_STYLE - -
-          The no field names toString style.
-static ToStringStyleSHORT_PREFIX_STYLE - -
-          The short prefix toString style.
-static ToStringStyleSIMPLE_STYLE - -
-          The simple toString style.
-  - - - - - - - - - - - -
-Constructor Summary
-protected ToStringStyle() - -
-          Constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidappend(StringBuffer buffer, - String fieldName, - boolean value) - -
-          Append to the toString a boolean - value.
- voidappend(StringBuffer buffer, - String fieldName, - boolean[] array, - Boolean fullDetail) - -
-          Append to the toString a boolean - array.
- voidappend(StringBuffer buffer, - String fieldName, - byte value) - -
-          Append to the toString a byte - value.
- voidappend(StringBuffer buffer, - String fieldName, - byte[] array, - Boolean fullDetail) - -
-          Append to the toString a byte - array.
- voidappend(StringBuffer buffer, - String fieldName, - char value) - -
-          Append to the toString a char - value.
- voidappend(StringBuffer buffer, - String fieldName, - char[] array, - Boolean fullDetail) - -
-          Append to the toString a char - array.
- voidappend(StringBuffer buffer, - String fieldName, - double value) - -
-          Append to the toString a double - value.
- voidappend(StringBuffer buffer, - String fieldName, - double[] array, - Boolean fullDetail) - -
-          Append to the toString a double - array.
- voidappend(StringBuffer buffer, - String fieldName, - float value) - -
-          Append to the toString a float - value.
- voidappend(StringBuffer buffer, - String fieldName, - float[] array, - Boolean fullDetail) - -
-          Append to the toString a float - array.
- voidappend(StringBuffer buffer, - String fieldName, - int value) - -
-          Append to the toString an int - value.
- voidappend(StringBuffer buffer, - String fieldName, - int[] array, - Boolean fullDetail) - -
-          Append to the toString an int - array.
- voidappend(StringBuffer buffer, - String fieldName, - long value) - -
-          Append to the toString a long - value.
- voidappend(StringBuffer buffer, - String fieldName, - long[] array, - Boolean fullDetail) - -
-          Append to the toString a long - array.
- voidappend(StringBuffer buffer, - String fieldName, - Object[] array, - Boolean fullDetail) - -
-          Append to the toString an Object - array.
- voidappend(StringBuffer buffer, - String fieldName, - Object value, - Boolean fullDetail) - -
-          Append to the toString an Object - value, printing the full toString of the - Object passed in.
- voidappend(StringBuffer buffer, - String fieldName, - short value) - -
-          Append to the toString a short - value.
- voidappend(StringBuffer buffer, - String fieldName, - short[] array, - Boolean fullDetail) - -
-          Append to the toString a short - array.
-protected  voidappendClassName(StringBuffer buffer, - Object object) - -
-          Append to the toString the class name.
-protected  voidappendContentEnd(StringBuffer buffer) - -
-          Append to the toString the content end.
-protected  voidappendContentStart(StringBuffer buffer) - -
-          Append to the toString the content start.
-protected  voidappendCyclicObject(StringBuffer buffer, - String fieldName, - Object value) - -
-          Append to the toString an Object - value that has been detected to participate in a cycle.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - boolean value) - -
-          Append to the toString a boolean - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - boolean[] array) - -
-          Append to the toString the detail of a - boolean array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - byte value) - -
-          Append to the toString a byte - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - byte[] array) - -
-          Append to the toString the detail of a - byte array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - char value) - -
-          Append to the toString a char - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - char[] array) - -
-          Append to the toString the detail of a - char array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - Collection coll) - -
-          Append to the toString a Collection.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - double value) - -
-          Append to the toString a double - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - double[] array) - -
-          Append to the toString the detail of a - double array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - float value) - -
-          Append to the toString a float - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - float[] array) - -
-          Append to the toString the detail of a - float array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - int value) - -
-          Append to the toString an int - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - int[] array) - -
-          Append to the toString the detail of an - int array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - long value) - -
-          Append to the toString a long - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - long[] array) - -
-          Append to the toString the detail of a - long array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - Map map) - -
-          Append to the toString a Map.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - Object value) - -
-          Append to the toString an Object - value, printing the full detail of the Object.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - Object[] array) - -
-          Append to the toString the detail of an - Object array.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - short value) - -
-          Append to the toString a short - value.
-protected  voidappendDetail(StringBuffer buffer, - String fieldName, - short[] array) - -
-          Append to the toString the detail of a - short array.
- voidappendEnd(StringBuffer buffer, - Object object) - -
-          Append to the toString the end of data indicator.
-protected  voidappendFieldEnd(StringBuffer buffer, - String fieldName) - -
-          Append to the toString the field end.
-protected  voidappendFieldSeparator(StringBuffer buffer) - -
-          Append to the toString the field separator.
-protected  voidappendFieldStart(StringBuffer buffer, - String fieldName) - -
-          Append to the toString the field start.
-protected  voidappendIdentityHashCode(StringBuffer buffer, - Object object) - -
-          Append the System#identityHashCode(java.lang.Object).
-protected  voidappendInternal(StringBuffer buffer, - String fieldName, - Object value, - boolean detail) - -
-          Append to the toString an Object, - correctly interpreting its type.
-protected  voidappendNullText(StringBuffer buffer, - String fieldName) - -
-          Append to the toString an indicator for null.
- voidappendStart(StringBuffer buffer, - Object object) - -
-          Append to the toString the start of data indicator.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - boolean[] array) - -
-          Append to the toString a summary of a - boolean array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - byte[] array) - -
-          Append to the toString a summary of a - byte array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - char[] array) - -
-          Append to the toString a summary of a - char array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - double[] array) - -
-          Append to the toString a summary of a - double array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - float[] array) - -
-          Append to the toString a summary of a - float array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - int[] array) - -
-          Append to the toString a summary of an - int array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - long[] array) - -
-          Append to the toString a summary of a - long array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - Object value) - -
-          Append to the toString an Object - value, printing a summary of the Object.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - Object[] array) - -
-          Append to the toString a summary of an - Object array.
-protected  voidappendSummary(StringBuffer buffer, - String fieldName, - short[] array) - -
-          Append to the toString a summary of a - short array.
-protected  voidappendSummarySize(StringBuffer buffer, - String fieldName, - int size) - -
-          Append to the toString a size summary.
- voidappendSuper(StringBuffer buffer, - String superToString) - -
-          Append to the toString the superclass toString.
- voidappendToString(StringBuffer buffer, - String toString) - -
-          Append to the toString another toString.
-protected  StringgetArrayEnd() - -
-          Gets the array end text.
-protected  StringgetArraySeparator() - -
-          Gets the array separator text.
-protected  StringgetArrayStart() - -
-          Gets the array start text.
-protected  StringgetContentEnd() - -
-          Gets the content end text.
-protected  StringgetContentStart() - -
-          Gets the content start text.
-protected  StringgetFieldNameValueSeparator() - -
-          Gets the field name value separator text.
-protected  StringgetFieldSeparator() - -
-          Gets the field separator text.
-protected  StringgetNullText() - -
-          Gets the text to output when null found.
-protected  StringgetShortClassName(Class cls) - -
-          Gets the short class name for a class.
-protected  StringgetSizeEndText() - -
-          Gets the end text to output when a Collection, - Map or array size is output.
-protected  StringgetSizeStartText() - -
-          Gets the start text to output when a Collection, - Map or array size is output.
-protected  StringgetSummaryObjectEndText() - -
-          Gets the end text to output when an Object is - output in summary mode.
-protected  StringgetSummaryObjectStartText() - -
-          Gets the start text to output when an Object is - output in summary mode.
-protected  booleanisArrayContentDetail() - -
-          Gets whether to output array content detail.
-protected  booleanisDefaultFullDetail() - -
-          Gets whether to use full detail when the caller doesn't - specify.
-protected  booleanisFieldSeparatorAtEnd() - -
-          Gets whether the field separator should be added at the end - of each buffer.
-protected  booleanisFieldSeparatorAtStart() - -
-          Gets whether the field separator should be added at the start - of each buffer.
-protected  booleanisFullDetail(Boolean fullDetailRequest) - -
-          Is this field to be output in full detail.
-protected  booleanisShortClassName() - -
-          Deprecated. Use isUseShortClassName() - Method will be removed in Commons Lang 3.0.
-protected  booleanisUseClassName() - -
-          Gets whether to use the class name.
-protected  booleanisUseFieldNames() - -
-          Gets whether to use the field names passed in.
-protected  booleanisUseIdentityHashCode() - -
-          Gets whether to use the identity hash code.
-protected  booleanisUseShortClassName() - -
-          Gets whether to output short or long class names.
-protected  voidreflectionAppendArrayDetail(StringBuffer buffer, - String fieldName, - Object array) - -
-          Append to the toString the detail of an array type.
-protected  voidremoveLastFieldSeparator(StringBuffer buffer) - -
-          Remove the last field separator from the buffer.
-protected  voidsetArrayContentDetail(boolean arrayContentDetail) - -
-          Sets whether to output array content detail.
-protected  voidsetArrayEnd(String arrayEnd) - -
-          Sets the array end text.
-protected  voidsetArraySeparator(String arraySeparator) - -
-          Sets the array separator text.
-protected  voidsetArrayStart(String arrayStart) - -
-          Sets the array start text.
-protected  voidsetContentEnd(String contentEnd) - -
-          Sets the content end text.
-protected  voidsetContentStart(String contentStart) - -
-          Sets the content start text.
-protected  voidsetDefaultFullDetail(boolean defaultFullDetail) - -
-          Sets whether to use full detail when the caller doesn't - specify.
-protected  voidsetFieldNameValueSeparator(String fieldNameValueSeparator) - -
-          Sets the field name value separator text.
-protected  voidsetFieldSeparator(String fieldSeparator) - -
-          Sets the field separator text.
-protected  voidsetFieldSeparatorAtEnd(boolean fieldSeparatorAtEnd) - -
-          Sets whether the field separator should be added at the end - of each buffer.
-protected  voidsetFieldSeparatorAtStart(boolean fieldSeparatorAtStart) - -
-          Sets whether the field separator should be added at the start - of each buffer.
-protected  voidsetNullText(String nullText) - -
-          Sets the text to output when null found.
-protected  voidsetShortClassName(boolean shortClassName) - -
-          Deprecated. Use setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0.
-protected  voidsetSizeEndText(String sizeEndText) - -
-          Sets the end text to output when a Collection, - Map or array size is output.
-protected  voidsetSizeStartText(String sizeStartText) - -
-          Sets the start text to output when a Collection, - Map or array size is output.
-protected  voidsetSummaryObjectEndText(String summaryObjectEndText) - -
-          Sets the end text to output when an Object is - output in summary mode.
-protected  voidsetSummaryObjectStartText(String summaryObjectStartText) - -
-          Sets the start text to output when an Object is - output in summary mode.
-protected  voidsetUseClassName(boolean useClassName) - -
-          Sets whether to use the class name.
-protected  voidsetUseFieldNames(boolean useFieldNames) - -
-          Sets whether to use the field names passed in.
-protected  voidsetUseIdentityHashCode(boolean useIdentityHashCode) - -
-          Sets whether to use the identity hash code.
-protected  voidsetUseShortClassName(boolean useShortClassName) - -
-          Sets whether to output short or long class names.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-DEFAULT_STYLE

-
-public static final ToStringStyle DEFAULT_STYLE
-
-
The default toString style.
-
- -

-MULTI_LINE_STYLE

-
-public static final ToStringStyle MULTI_LINE_STYLE
-
-
The multi line toString style.
-
- -

-NO_FIELD_NAMES_STYLE

-
-public static final ToStringStyle NO_FIELD_NAMES_STYLE
-
-
The no field names toString style.
-
- -

-SHORT_PREFIX_STYLE

-
-public static final ToStringStyle SHORT_PREFIX_STYLE
-
-
The short prefix toString style.
-
Since:
2.1
-
-
-
-
- -

-SIMPLE_STYLE

-
-public static final ToStringStyle SIMPLE_STYLE
-
-
The simple toString style.
- - - - - - - - -
-Constructor Detail
- -

-ToStringStyle

-
-protected ToStringStyle()
-
-

Constructor.

- - - - - - - - -
-Method Detail
- -

-appendSuper

-
-public void appendSuper(StringBuffer buffer,
-                        String superToString)
-
-

Append to the toString the superclass toString.

- -

A null superToString is ignored.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
superToString - the super.toString()
Since:
2.0
-
-
-
-
- -

-appendToString

-
-public void appendToString(StringBuffer buffer,
-                           String toString)
-
-

Append to the toString another toString.

- -

A null toString is ignored.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
toString - the additional toString
Since:
2.0
-
-
-
-
- -

-appendStart

-
-public void appendStart(StringBuffer buffer,
-                        Object object)
-
-

Append to the toString the start of data indicator.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
object - the Object to build a toString for
-
-
-
- -

-appendEnd

-
-public void appendEnd(StringBuffer buffer,
-                      Object object)
-
-

Append to the toString the end of data indicator.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
object - the Object to build a - toString for.
-
-
-
- -

-removeLastFieldSeparator

-
-protected void removeLastFieldSeparator(StringBuffer buffer)
-
-

Remove the last field separator from the buffer.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
Since:
2.0
-
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   Object value,
-                   Boolean fullDetail)
-
-

Append to the toString an Object - value, printing the full toString of the - Object passed in.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendInternal

-
-protected void appendInternal(StringBuffer buffer,
-                              String fieldName,
-                              Object value,
-                              boolean detail)
-
-

Append to the toString an Object, - correctly interpreting its type.

- -

This method performs the main lookup by Class type to correctly - route arrays, Collections, Maps and - Objects to the appropriate method.

- -

Either detail or summary views can be specified.

- -

If a cycle is detected, an object will be appended with the - Object.toString() format.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString, - not null
detail - output detail or not
-
-
-
- -

-appendCyclicObject

-
-protected void appendCyclicObject(StringBuffer buffer,
-                                  String fieldName,
-                                  Object value)
-
-

Append to the toString an Object - value that has been detected to participate in a cycle. This - implementation will print the standard string value of the value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString, - not null
Since:
2.2
-
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            Object value)
-
-

Append to the toString an Object - value, printing the full detail of the Object.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString, - not null
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            Collection coll)
-
-

Append to the toString a Collection.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
coll - the Collection to add to the - toString, not null
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            Map map)
-
-

Append to the toString a Map.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
map - the Map to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             Object value)
-
-

Append to the toString an Object - value, printing a summary of the Object.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   long value)
-
-

Append to the toString a long - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            long value)
-
-

Append to the toString a long - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   int value)
-
-

Append to the toString an int - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            int value)
-
-

Append to the toString an int - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   short value)
-
-

Append to the toString a short - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            short value)
-
-

Append to the toString a short - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   byte value)
-
-

Append to the toString a byte - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            byte value)
-
-

Append to the toString a byte - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   char value)
-
-

Append to the toString a char - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            char value)
-
-

Append to the toString a char - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   double value)
-
-

Append to the toString a double - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            double value)
-
-

Append to the toString a double - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   float value)
-
-

Append to the toString a float - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            float value)
-
-

Append to the toString a float - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   boolean value)
-
-

Append to the toString a boolean - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
value - the value to add to the toString
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            boolean value)
-
-

Append to the toString a boolean - value.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
value - the value to add to the toString
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   Object[] array,
-                   Boolean fullDetail)
-
-

Append to the toString an Object - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            Object[] array)
-
-

Append to the toString the detail of an - Object array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-reflectionAppendArrayDetail

-
-protected void reflectionAppendArrayDetail(StringBuffer buffer,
-                                           String fieldName,
-                                           Object array)
-
-

Append to the toString the detail of an array type.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
Since:
2.0
-
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             Object[] array)
-
-

Append to the toString a summary of an - Object array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   long[] array,
-                   Boolean fullDetail)
-
-

Append to the toString a long - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            long[] array)
-
-

Append to the toString the detail of a - long array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             long[] array)
-
-

Append to the toString a summary of a - long array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   int[] array,
-                   Boolean fullDetail)
-
-

Append to the toString an int - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            int[] array)
-
-

Append to the toString the detail of an - int array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             int[] array)
-
-

Append to the toString a summary of an - int array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   short[] array,
-                   Boolean fullDetail)
-
-

Append to the toString a short - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            short[] array)
-
-

Append to the toString the detail of a - short array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             short[] array)
-
-

Append to the toString a summary of a - short array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   byte[] array,
-                   Boolean fullDetail)
-
-

Append to the toString a byte - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            byte[] array)
-
-

Append to the toString the detail of a - byte array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             byte[] array)
-
-

Append to the toString a summary of a - byte array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   char[] array,
-                   Boolean fullDetail)
-
-

Append to the toString a char - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            char[] array)
-
-

Append to the toString the detail of a - char array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             char[] array)
-
-

Append to the toString a summary of a - char array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   double[] array,
-                   Boolean fullDetail)
-
-

Append to the toString a double - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            double[] array)
-
-

Append to the toString the detail of a - double array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             double[] array)
-
-

Append to the toString a summary of a - double array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   float[] array,
-                   Boolean fullDetail)
-
-

Append to the toString a float - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            float[] array)
-
-

Append to the toString the detail of a - float array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             float[] array)
-
-

Append to the toString a summary of a - float array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-append

-
-public void append(StringBuffer buffer,
-                   String fieldName,
-                   boolean[] array,
-                   Boolean fullDetail)
-
-

Append to the toString a boolean - array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
array - the array to add to the toString
fullDetail - true for detail, false - for summary info, null for style decides
-
-
-
- -

-appendDetail

-
-protected void appendDetail(StringBuffer buffer,
-                            String fieldName,
-                            boolean[] array)
-
-

Append to the toString the detail of a - boolean array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendSummary

-
-protected void appendSummary(StringBuffer buffer,
-                             String fieldName,
-                             boolean[] array)
-
-

Append to the toString a summary of a - boolean array.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
array - the array to add to the toString, - not null
-
-
-
- -

-appendClassName

-
-protected void appendClassName(StringBuffer buffer,
-                               Object object)
-
-

Append to the toString the class name.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
object - the Object whose name to output
-
-
-
- -

-appendIdentityHashCode

-
-protected void appendIdentityHashCode(StringBuffer buffer,
-                                      Object object)
-
-

Append the System#identityHashCode(java.lang.Object).

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
object - the Object whose id to output
-
-
-
- -

-appendContentStart

-
-protected void appendContentStart(StringBuffer buffer)
-
-

Append to the toString the content start.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
-
-
-
- -

-appendContentEnd

-
-protected void appendContentEnd(StringBuffer buffer)
-
-

Append to the toString the content end.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
-
-
-
- -

-appendNullText

-
-protected void appendNullText(StringBuffer buffer,
-                              String fieldName)
-
-

Append to the toString an indicator for null.

- -

The default indicator is '<null>'.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
-
-
-
- -

-appendFieldSeparator

-
-protected void appendFieldSeparator(StringBuffer buffer)
-
-

Append to the toString the field separator.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
-
-
-
- -

-appendFieldStart

-
-protected void appendFieldStart(StringBuffer buffer,
-                                String fieldName)
-
-

Append to the toString the field start.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name
-
-
-
- -

-appendFieldEnd

-
-protected void appendFieldEnd(StringBuffer buffer,
-                              String fieldName)
-
-

Append to the toString the field end.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
-
-
-
- -

-appendSummarySize

-
-protected void appendSummarySize(StringBuffer buffer,
-                                 String fieldName,
-                                 int size)
-
-

Append to the toString a size summary.

- -

The size summary is used to summarize the contents of - Collections, Maps and arrays.

- -

The output consists of a prefix, the passed in size - and a suffix.

- -

The default format is '<size=n>'.

-
-
-
-
Parameters:
buffer - the StringBuffer to populate
fieldName - the field name, typically not used as already appended
size - the size to append
-
-
-
- -

-isFullDetail

-
-protected boolean isFullDetail(Boolean fullDetailRequest)
-
-

Is this field to be output in full detail.

- -

This method converts a detail request into a detail level. - The calling code may request full detail (true), - but a subclass might ignore that and always return - false. The calling code may pass in - null indicating that it doesn't care about - the detail level. In this case the default detail level is - used.

-
-
-
-
Parameters:
fullDetailRequest - the detail level requested
Returns:
whether full detail is to be shown
-
-
-
- -

-getShortClassName

-
-protected String getShortClassName(Class cls)
-
-

Gets the short class name for a class.

- -

The short class name is the classname excluding - the package name.

-
-
-
-
Parameters:
cls - the Class to get the short name of
Returns:
the short name
-
-
-
- -

-isUseClassName

-
-protected boolean isUseClassName()
-
-

Gets whether to use the class name.

-
-
-
-
Returns:
the current useClassName flag
-
-
-
- -

-setUseClassName

-
-protected void setUseClassName(boolean useClassName)
-
-

Sets whether to use the class name.

-
-
-
-
Parameters:
useClassName - the new useClassName flag
-
-
-
- -

-isUseShortClassName

-
-protected boolean isUseShortClassName()
-
-

Gets whether to output short or long class names.

-
-
-
-
Returns:
the current useShortClassName flag
Since:
2.0
-
-
-
-
- -

-isShortClassName

-
-protected boolean isShortClassName()
-
-
Deprecated. Use isUseShortClassName() - Method will be removed in Commons Lang 3.0. -

-

Gets whether to output short or long class names.

-
-
-
-
Returns:
the current shortClassName flag
-
-
-
- -

-setUseShortClassName

-
-protected void setUseShortClassName(boolean useShortClassName)
-
-

Sets whether to output short or long class names.

-
-
-
-
Parameters:
useShortClassName - the new useShortClassName flag
Since:
2.0
-
-
-
-
- -

-setShortClassName

-
-protected void setShortClassName(boolean shortClassName)
-
-
Deprecated. Use setUseShortClassName(boolean) - Method will be removed in Commons Lang 3.0. -

-

Sets whether to output short or long class names.

-
-
-
-
Parameters:
shortClassName - the new shortClassName flag
-
-
-
- -

-isUseIdentityHashCode

-
-protected boolean isUseIdentityHashCode()
-
-

Gets whether to use the identity hash code.

-
-
-
-
Returns:
the current useIdentityHashCode flag
-
-
-
- -

-setUseIdentityHashCode

-
-protected void setUseIdentityHashCode(boolean useIdentityHashCode)
-
-

Sets whether to use the identity hash code.

-
-
-
-
Parameters:
useIdentityHashCode - the new useIdentityHashCode flag
-
-
-
- -

-isUseFieldNames

-
-protected boolean isUseFieldNames()
-
-

Gets whether to use the field names passed in.

-
-
-
-
Returns:
the current useFieldNames flag
-
-
-
- -

-setUseFieldNames

-
-protected void setUseFieldNames(boolean useFieldNames)
-
-

Sets whether to use the field names passed in.

-
-
-
-
Parameters:
useFieldNames - the new useFieldNames flag
-
-
-
- -

-isDefaultFullDetail

-
-protected boolean isDefaultFullDetail()
-
-

Gets whether to use full detail when the caller doesn't - specify.

-
-
-
-
Returns:
the current defaultFullDetail flag
-
-
-
- -

-setDefaultFullDetail

-
-protected void setDefaultFullDetail(boolean defaultFullDetail)
-
-

Sets whether to use full detail when the caller doesn't - specify.

-
-
-
-
Parameters:
defaultFullDetail - the new defaultFullDetail flag
-
-
-
- -

-isArrayContentDetail

-
-protected boolean isArrayContentDetail()
-
-

Gets whether to output array content detail.

-
-
-
-
Returns:
the current array content detail setting
-
-
-
- -

-setArrayContentDetail

-
-protected void setArrayContentDetail(boolean arrayContentDetail)
-
-

Sets whether to output array content detail.

-
-
-
-
Parameters:
arrayContentDetail - the new arrayContentDetail flag
-
-
-
- -

-getArrayStart

-
-protected String getArrayStart()
-
-

Gets the array start text.

-
-
-
-
Returns:
the current array start text
-
-
-
- -

-setArrayStart

-
-protected void setArrayStart(String arrayStart)
-
-

Sets the array start text.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
arrayStart - the new array start text
-
-
-
- -

-getArrayEnd

-
-protected String getArrayEnd()
-
-

Gets the array end text.

-
-
-
-
Returns:
the current array end text
-
-
-
- -

-setArrayEnd

-
-protected void setArrayEnd(String arrayEnd)
-
-

Sets the array end text.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
arrayEnd - the new array end text
-
-
-
- -

-getArraySeparator

-
-protected String getArraySeparator()
-
-

Gets the array separator text.

-
-
-
-
Returns:
the current array separator text
-
-
-
- -

-setArraySeparator

-
-protected void setArraySeparator(String arraySeparator)
-
-

Sets the array separator text.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
arraySeparator - the new array separator text
-
-
-
- -

-getContentStart

-
-protected String getContentStart()
-
-

Gets the content start text.

-
-
-
-
Returns:
the current content start text
-
-
-
- -

-setContentStart

-
-protected void setContentStart(String contentStart)
-
-

Sets the content start text.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
contentStart - the new content start text
-
-
-
- -

-getContentEnd

-
-protected String getContentEnd()
-
-

Gets the content end text.

-
-
-
-
Returns:
the current content end text
-
-
-
- -

-setContentEnd

-
-protected void setContentEnd(String contentEnd)
-
-

Sets the content end text.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
contentEnd - the new content end text
-
-
-
- -

-getFieldNameValueSeparator

-
-protected String getFieldNameValueSeparator()
-
-

Gets the field name value separator text.

-
-
-
-
Returns:
the current field name value separator text
-
-
-
- -

-setFieldNameValueSeparator

-
-protected void setFieldNameValueSeparator(String fieldNameValueSeparator)
-
-

Sets the field name value separator text.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
fieldNameValueSeparator - the new field name value separator text
-
-
-
- -

-getFieldSeparator

-
-protected String getFieldSeparator()
-
-

Gets the field separator text.

-
-
-
-
Returns:
the current field separator text
-
-
-
- -

-setFieldSeparator

-
-protected void setFieldSeparator(String fieldSeparator)
-
-

Sets the field separator text.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
fieldSeparator - the new field separator text
-
-
-
- -

-isFieldSeparatorAtStart

-
-protected boolean isFieldSeparatorAtStart()
-
-

Gets whether the field separator should be added at the start - of each buffer.

-
-
-
-
Returns:
the fieldSeparatorAtStart flag
Since:
2.0
-
-
-
-
- -

-setFieldSeparatorAtStart

-
-protected void setFieldSeparatorAtStart(boolean fieldSeparatorAtStart)
-
-

Sets whether the field separator should be added at the start - of each buffer.

-
-
-
-
Parameters:
fieldSeparatorAtStart - the fieldSeparatorAtStart flag
Since:
2.0
-
-
-
-
- -

-isFieldSeparatorAtEnd

-
-protected boolean isFieldSeparatorAtEnd()
-
-

Gets whether the field separator should be added at the end - of each buffer.

-
-
-
-
Returns:
fieldSeparatorAtEnd flag
Since:
2.0
-
-
-
-
- -

-setFieldSeparatorAtEnd

-
-protected void setFieldSeparatorAtEnd(boolean fieldSeparatorAtEnd)
-
-

Sets whether the field separator should be added at the end - of each buffer.

-
-
-
-
Parameters:
fieldSeparatorAtEnd - the fieldSeparatorAtEnd flag
Since:
2.0
-
-
-
-
- -

-getNullText

-
-protected String getNullText()
-
-

Gets the text to output when null found.

-
-
-
-
Returns:
the current text to output when null found
-
-
-
- -

-setNullText

-
-protected void setNullText(String nullText)
-
-

Sets the text to output when null found.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
nullText - the new text to output when null found
-
-
-
- -

-getSizeStartText

-
-protected String getSizeStartText()
-
-

Gets the start text to output when a Collection, - Map or array size is output.

- -

This is output before the size value.

-
-
-
-
Returns:
the current start of size text
-
-
-
- -

-setSizeStartText

-
-protected void setSizeStartText(String sizeStartText)
-
-

Sets the start text to output when a Collection, - Map or array size is output.

- -

This is output before the size value.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
sizeStartText - the new start of size text
-
-
-
- -

-getSizeEndText

-
-protected String getSizeEndText()
-
-

Gets the end text to output when a Collection, - Map or array size is output.

- -

This is output after the size value.

-
-
-
-
Returns:
the current end of size text
-
-
-
- -

-setSizeEndText

-
-protected void setSizeEndText(String sizeEndText)
-
-

Sets the end text to output when a Collection, - Map or array size is output.

- -

This is output after the size value.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
sizeEndText - the new end of size text
-
-
-
- -

-getSummaryObjectStartText

-
-protected String getSummaryObjectStartText()
-
-

Gets the start text to output when an Object is - output in summary mode.

- -

This is output before the size value.

-
-
-
-
Returns:
the current start of summary text
-
-
-
- -

-setSummaryObjectStartText

-
-protected void setSummaryObjectStartText(String summaryObjectStartText)
-
-

Sets the start text to output when an Object is - output in summary mode.

- -

This is output before the size value.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
summaryObjectStartText - the new start of summary text
-
-
-
- -

-getSummaryObjectEndText

-
-protected String getSummaryObjectEndText()
-
-

Gets the end text to output when an Object is - output in summary mode.

- -

This is output after the size value.

-
-
-
-
Returns:
the current end of summary text
-
-
-
- -

-setSummaryObjectEndText

-
-protected void setSummaryObjectEndText(String summaryObjectEndText)
-
-

Sets the end text to output when an Object is - output in summary mode.

- -

This is output after the size value.

- -

null is accepted, but will be converted to - an empty String.

-
-
-
-
Parameters:
summaryObjectEndText - the new end of summary text
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/CompareToBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/CompareToBuilder.html deleted file mode 100644 index 22e455d1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/CompareToBuilder.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.builder.CompareToBuilder - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.builder.CompareToBuilder

-
- - - - - - - - - -
-Packages that use CompareToBuilder
org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. 
-  -

- - - - - -
-Uses of CompareToBuilder in org.apache.commons.lang.builder
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.builder that return CompareToBuilder
- CompareToBuilderCompareToBuilder.appendSuper(int superCompareTo) - -
-          Appends to the builder the compareTo(Object) - result of the superclass.
- CompareToBuilderCompareToBuilder.append(Object lhs, - Object rhs) - -
-          Appends to the builder the comparison of - two Objects.
- CompareToBuilderCompareToBuilder.append(Object lhs, - Object rhs, - Comparator comparator) - -
-          Appends to the builder the comparison of - two Objects.
- CompareToBuilderCompareToBuilder.append(long lhs, - long rhs) - -
-          Appends to the builder the comparison of - two longs.
- CompareToBuilderCompareToBuilder.append(int lhs, - int rhs) - -
-          Appends to the builder the comparison of - two ints.
- CompareToBuilderCompareToBuilder.append(short lhs, - short rhs) - -
-          Appends to the builder the comparison of - two shorts.
- CompareToBuilderCompareToBuilder.append(char lhs, - char rhs) - -
-          Appends to the builder the comparison of - two chars.
- CompareToBuilderCompareToBuilder.append(byte lhs, - byte rhs) - -
-          Appends to the builder the comparison of - two bytes.
- CompareToBuilderCompareToBuilder.append(double lhs, - double rhs) - -
-          Appends to the builder the comparison of - two doubles.
- CompareToBuilderCompareToBuilder.append(float lhs, - float rhs) - -
-          Appends to the builder the comparison of - two floats.
- CompareToBuilderCompareToBuilder.append(boolean lhs, - boolean rhs) - -
-          Appends to the builder the comparison of - two booleanss.
- CompareToBuilderCompareToBuilder.append(Object[] lhs, - Object[] rhs) - -
-          Appends to the builder the deep comparison of - two Object arrays.
- CompareToBuilderCompareToBuilder.append(Object[] lhs, - Object[] rhs, - Comparator comparator) - -
-          Appends to the builder the deep comparison of - two Object arrays.
- CompareToBuilderCompareToBuilder.append(long[] lhs, - long[] rhs) - -
-          Appends to the builder the deep comparison of - two long arrays.
- CompareToBuilderCompareToBuilder.append(int[] lhs, - int[] rhs) - -
-          Appends to the builder the deep comparison of - two int arrays.
- CompareToBuilderCompareToBuilder.append(short[] lhs, - short[] rhs) - -
-          Appends to the builder the deep comparison of - two short arrays.
- CompareToBuilderCompareToBuilder.append(char[] lhs, - char[] rhs) - -
-          Appends to the builder the deep comparison of - two char arrays.
- CompareToBuilderCompareToBuilder.append(byte[] lhs, - byte[] rhs) - -
-          Appends to the builder the deep comparison of - two byte arrays.
- CompareToBuilderCompareToBuilder.append(double[] lhs, - double[] rhs) - -
-          Appends to the builder the deep comparison of - two double arrays.
- CompareToBuilderCompareToBuilder.append(float[] lhs, - float[] rhs) - -
-          Appends to the builder the deep comparison of - two float arrays.
- CompareToBuilderCompareToBuilder.append(boolean[] lhs, - boolean[] rhs) - -
-          Appends to the builder the deep comparison of - two boolean arrays.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/EqualsBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/EqualsBuilder.html deleted file mode 100644 index 92a3b2f1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/EqualsBuilder.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.builder.EqualsBuilder - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.builder.EqualsBuilder

-
- - - - - - - - - -
-Packages that use EqualsBuilder
org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. 
-  -

- - - - - -
-Uses of EqualsBuilder in org.apache.commons.lang.builder
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.builder that return EqualsBuilder
- EqualsBuilderEqualsBuilder.appendSuper(boolean superEquals) - -
-          Adds the result of super.equals() to this builder.
- EqualsBuilderEqualsBuilder.append(Object lhs, - Object rhs) - -
-          Test if two Objects are equal using their - equals method.
- EqualsBuilderEqualsBuilder.append(long lhs, - long rhs) - -
-           - Test if two long s are equal.
- EqualsBuilderEqualsBuilder.append(int lhs, - int rhs) - -
-          Test if two ints are equal.
- EqualsBuilderEqualsBuilder.append(short lhs, - short rhs) - -
-          Test if two shorts are equal.
- EqualsBuilderEqualsBuilder.append(char lhs, - char rhs) - -
-          Test if two chars are equal.
- EqualsBuilderEqualsBuilder.append(byte lhs, - byte rhs) - -
-          Test if two bytes are equal.
- EqualsBuilderEqualsBuilder.append(double lhs, - double rhs) - -
-          Test if two doubles are equal by testing that the - pattern of bits returned by doubleToLong are equal.
- EqualsBuilderEqualsBuilder.append(float lhs, - float rhs) - -
-          Test if two floats are equal byt testing that the - pattern of bits returned by doubleToLong are equal.
- EqualsBuilderEqualsBuilder.append(boolean lhs, - boolean rhs) - -
-          Test if two booleanss are equal.
- EqualsBuilderEqualsBuilder.append(Object[] lhs, - Object[] rhs) - -
-          Performs a deep comparison of two Object arrays.
- EqualsBuilderEqualsBuilder.append(long[] lhs, - long[] rhs) - -
-          Deep comparison of array of long.
- EqualsBuilderEqualsBuilder.append(int[] lhs, - int[] rhs) - -
-          Deep comparison of array of int.
- EqualsBuilderEqualsBuilder.append(short[] lhs, - short[] rhs) - -
-          Deep comparison of array of short.
- EqualsBuilderEqualsBuilder.append(char[] lhs, - char[] rhs) - -
-          Deep comparison of array of char.
- EqualsBuilderEqualsBuilder.append(byte[] lhs, - byte[] rhs) - -
-          Deep comparison of array of byte.
- EqualsBuilderEqualsBuilder.append(double[] lhs, - double[] rhs) - -
-          Deep comparison of array of double.
- EqualsBuilderEqualsBuilder.append(float[] lhs, - float[] rhs) - -
-          Deep comparison of array of float.
- EqualsBuilderEqualsBuilder.append(boolean[] lhs, - boolean[] rhs) - -
-          Deep comparison of array of boolean.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/HashCodeBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/HashCodeBuilder.html deleted file mode 100644 index bd4fcdc0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/HashCodeBuilder.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.builder.HashCodeBuilder - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.builder.HashCodeBuilder

-
- - - - - - - - - -
-Packages that use HashCodeBuilder
org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. 
-  -

- - - - - -
-Uses of HashCodeBuilder in org.apache.commons.lang.builder
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.builder that return HashCodeBuilder
- HashCodeBuilderHashCodeBuilder.append(boolean value) - -
-           - Append a hashCode for a boolean.
- HashCodeBuilderHashCodeBuilder.append(boolean[] array) - -
-           - Append a hashCode for a boolean array.
- HashCodeBuilderHashCodeBuilder.append(byte value) - -
-           - Append a hashCode for a byte.
- HashCodeBuilderHashCodeBuilder.append(byte[] array) - -
-           - Append a hashCode for a byte array.
- HashCodeBuilderHashCodeBuilder.append(char value) - -
-           - Append a hashCode for a char.
- HashCodeBuilderHashCodeBuilder.append(char[] array) - -
-           - Append a hashCode for a char array.
- HashCodeBuilderHashCodeBuilder.append(double value) - -
-           - Append a hashCode for a double.
- HashCodeBuilderHashCodeBuilder.append(double[] array) - -
-           - Append a hashCode for a double array.
- HashCodeBuilderHashCodeBuilder.append(float value) - -
-           - Append a hashCode for a float.
- HashCodeBuilderHashCodeBuilder.append(float[] array) - -
-           - Append a hashCode for a float array.
- HashCodeBuilderHashCodeBuilder.append(int value) - -
-           - Append a hashCode for an int.
- HashCodeBuilderHashCodeBuilder.append(int[] array) - -
-           - Append a hashCode for an int array.
- HashCodeBuilderHashCodeBuilder.append(long value) - -
-           - Append a hashCode for a long.
- HashCodeBuilderHashCodeBuilder.append(long[] array) - -
-           - Append a hashCode for a long array.
- HashCodeBuilderHashCodeBuilder.append(Object object) - -
-           - Append a hashCode for an Object.
- HashCodeBuilderHashCodeBuilder.append(Object[] array) - -
-           - Append a hashCode for an Object array.
- HashCodeBuilderHashCodeBuilder.append(short value) - -
-           - Append a hashCode for a short.
- HashCodeBuilderHashCodeBuilder.append(short[] array) - -
-           - Append a hashCode for a short array.
- HashCodeBuilderHashCodeBuilder.appendSuper(int superHashCode) - -
-           - Adds the result of super.hashCode() to this builder.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ReflectionToStringBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ReflectionToStringBuilder.html deleted file mode 100644 index 181fc029..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ReflectionToStringBuilder.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.builder.ReflectionToStringBuilder - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.builder.ReflectionToStringBuilder

-
- - - - - - - - - -
-Packages that use ReflectionToStringBuilder
org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. 
-  -

- - - - - -
-Uses of ReflectionToStringBuilder in org.apache.commons.lang.builder
-  -

- - - - - - - - - -
Methods in org.apache.commons.lang.builder that return ReflectionToStringBuilder
- ReflectionToStringBuilderReflectionToStringBuilder.setExcludeFieldNames(String[] excludeFieldNamesParam) - -
-          Sets the field names to exclude.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/StandardToStringStyle.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/StandardToStringStyle.html deleted file mode 100644 index aded9915..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/StandardToStringStyle.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.builder.StandardToStringStyle - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.builder.StandardToStringStyle

-
-No usage of org.apache.commons.lang.builder.StandardToStringStyle -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ToStringBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ToStringBuilder.html deleted file mode 100644 index 88d96fd6..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ToStringBuilder.html +++ /dev/null @@ -1,626 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.builder.ToStringBuilder - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.builder.ToStringBuilder

-
- - - - - - - - - -
-Packages that use ToStringBuilder
org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. 
-  -

- - - - - -
-Uses of ToStringBuilder in org.apache.commons.lang.builder
-  -

- - - - - - - - - -
Subclasses of ToStringBuilder in org.apache.commons.lang.builder
- classReflectionToStringBuilder - -
-           - Assists in implementing Object.toString() methods using reflection.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.builder that return ToStringBuilder
- ToStringBuilderToStringBuilder.append(boolean value) - -
-          Append to the toString a boolean - value.
- ToStringBuilderToStringBuilder.append(boolean[] array) - -
-          Append to the toString a boolean - array.
- ToStringBuilderToStringBuilder.append(byte value) - -
-          Append to the toString a byte - value.
- ToStringBuilderToStringBuilder.append(byte[] array) - -
-          Append to the toString a byte - array.
- ToStringBuilderToStringBuilder.append(char value) - -
-          Append to the toString a char - value.
- ToStringBuilderToStringBuilder.append(char[] array) - -
-          Append to the toString a char - array.
- ToStringBuilderToStringBuilder.append(double value) - -
-          Append to the toString a double - value.
- ToStringBuilderToStringBuilder.append(double[] array) - -
-          Append to the toString a double - array.
- ToStringBuilderToStringBuilder.append(float value) - -
-          Append to the toString a float - value.
- ToStringBuilderToStringBuilder.append(float[] array) - -
-          Append to the toString a float - array.
- ToStringBuilderToStringBuilder.append(int value) - -
-          Append to the toString an int - value.
- ToStringBuilderToStringBuilder.append(int[] array) - -
-          Append to the toString an int - array.
- ToStringBuilderToStringBuilder.append(long value) - -
-          Append to the toString a long - value.
- ToStringBuilderToStringBuilder.append(long[] array) - -
-          Append to the toString a long - array.
- ToStringBuilderToStringBuilder.append(Object obj) - -
-          Append to the toString an Object - value.
- ToStringBuilderToStringBuilder.append(Object[] array) - -
-          Append to the toString an Object - array.
- ToStringBuilderToStringBuilder.append(short value) - -
-          Append to the toString a short - value.
- ToStringBuilderToStringBuilder.append(short[] array) - -
-          Append to the toString a short - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - boolean value) - -
-          Append to the toString a boolean - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - boolean[] array) - -
-          Append to the toString a boolean - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - boolean[] array, - boolean fullDetail) - -
-          Append to the toString a boolean - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - byte value) - -
-          Append to the toString an byte - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - byte[] array) - -
-          Append to the toString a byte array.
- ToStringBuilderToStringBuilder.append(String fieldName, - byte[] array, - boolean fullDetail) - -
-          Append to the toString a byte - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - char value) - -
-          Append to the toString a char - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - char[] array) - -
-          Append to the toString a char - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - char[] array, - boolean fullDetail) - -
-          Append to the toString a char - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - double value) - -
-          Append to the toString a double - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - double[] array) - -
-          Append to the toString a double - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - double[] array, - boolean fullDetail) - -
-          Append to the toString a double - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - float value) - -
-          Append to the toString an float - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - float[] array) - -
-          Append to the toString a float - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - float[] array, - boolean fullDetail) - -
-          Append to the toString a float - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - int value) - -
-          Append to the toString an int - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - int[] array) - -
-          Append to the toString an int - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - int[] array, - boolean fullDetail) - -
-          Append to the toString an int - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - long value) - -
-          Append to the toString a long - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - long[] array) - -
-          Append to the toString a long - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - long[] array, - boolean fullDetail) - -
-          Append to the toString a long - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - Object obj) - -
-          Append to the toString an Object - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - Object obj, - boolean fullDetail) - -
-          Append to the toString an Object - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - Object[] array) - -
-          Append to the toString an Object - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - Object[] array, - boolean fullDetail) - -
-          Append to the toString an Object - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - short value) - -
-          Append to the toString an short - value.
- ToStringBuilderToStringBuilder.append(String fieldName, - short[] array) - -
-          Append to the toString a short - array.
- ToStringBuilderToStringBuilder.append(String fieldName, - short[] array, - boolean fullDetail) - -
-          Append to the toString a short - array.
- ToStringBuilderToStringBuilder.appendAsObjectToString(Object object) - -
-          Appends with the same format as the default Object toString() - method.
- ToStringBuilderToStringBuilder.appendSuper(String superToString) - -
-          Append the toString from the superclass.
- ToStringBuilderToStringBuilder.appendToString(String toString) - -
-          Append the toString from another object.
- ToStringBuilderReflectionToStringBuilder.reflectionAppendArray(Object array) - -
-           - Append to the toString an Object array.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ToStringStyle.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ToStringStyle.html deleted file mode 100644 index d94a3ac7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/class-use/ToStringStyle.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.builder.ToStringStyle - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.builder.ToStringStyle

-
- - - - - - - - - -
-Packages that use ToStringStyle
org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. 
-  -

- - - - - -
-Uses of ToStringStyle in org.apache.commons.lang.builder
-  -

- - - - - - - - - -
Subclasses of ToStringStyle in org.apache.commons.lang.builder
- classStandardToStringStyle - -
-          Works with ToStringBuilder to create a toString.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Fields in org.apache.commons.lang.builder declared as ToStringStyle
-static ToStringStyleToStringStyle.DEFAULT_STYLE - -
-          The default toString style.
-static ToStringStyleToStringStyle.MULTI_LINE_STYLE - -
-          The multi line toString style.
-static ToStringStyleToStringStyle.NO_FIELD_NAMES_STYLE - -
-          The no field names toString style.
-static ToStringStyleToStringStyle.SHORT_PREFIX_STYLE - -
-          The short prefix toString style.
-static ToStringStyleToStringStyle.SIMPLE_STYLE - -
-          The simple toString style.
-  -

- - - - - - - - - - - - - -
Methods in org.apache.commons.lang.builder that return ToStringStyle
-static ToStringStyleToStringBuilder.getDefaultStyle() - -
-          Gets the default ToStringStyle to use.
- ToStringStyleToStringBuilder.getStyle() - -
-          Gets the ToStringStyle being used.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.builder with parameters of type ToStringStyle
-static StringToStringBuilder.reflectionToString(Object object, - ToStringStyle style) - -
-          Forwards to ReflectionToStringBuilder.
-static StringToStringBuilder.reflectionToString(Object object, - ToStringStyle style, - boolean outputTransients) - -
-          Forwards to ReflectionToStringBuilder.
-static StringToStringBuilder.reflectionToString(Object object, - ToStringStyle style, - boolean outputTransients, - Class reflectUpToClass) - -
-          Forwards to ReflectionToStringBuilder.
-static voidToStringBuilder.setDefaultStyle(ToStringStyle style) - -
-          Sets the default ToStringStyle to use.
-static StringReflectionToStringBuilder.toString(Object object, - ToStringStyle style) - -
-           - Builds a toString value through reflection.
-static StringReflectionToStringBuilder.toString(Object object, - ToStringStyle style, - boolean outputTransients) - -
-           - Builds a toString value through reflection.
-static StringReflectionToStringBuilder.toString(Object object, - ToStringStyle style, - boolean outputTransients, - boolean outputStatics) - -
-           - Builds a toString value through reflection.
-static StringReflectionToStringBuilder.toString(Object object, - ToStringStyle style, - boolean outputTransients, - boolean outputStatics, - Class reflectUpToClass) - -
-           - Builds a toString value through reflection.
-static StringReflectionToStringBuilder.toString(Object object, - ToStringStyle style, - boolean outputTransients, - Class reflectUpToClass) - -
-          Deprecated. Use ReflectionToStringBuilder.toString(Object,ToStringStyle,boolean,boolean,Class)
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
Constructors in org.apache.commons.lang.builder with parameters of type ToStringStyle
ToStringBuilder(Object object, - ToStringStyle style) - -
-          Constructor for ToStringBuilder specifying the - output style.
ToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer) - -
-          Constructor for ToStringBuilder.
ReflectionToStringBuilder(Object object, - ToStringStyle style) - -
-           - Constructor.
ReflectionToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer) - -
-           - Constructor.
ReflectionToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer, - Class reflectUpToClass, - boolean outputTransients) - -
-          Deprecated. Use ReflectionToStringBuilder.ReflectionToStringBuilder(Object,ToStringStyle,StringBuffer,Class,boolean,boolean).
ReflectionToStringBuilder(Object object, - ToStringStyle style, - StringBuffer buffer, - Class reflectUpToClass, - boolean outputTransients, - boolean outputStatics) - -
-          Constructor.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-frame.html deleted file mode 100644 index 753883b7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-frame.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.builder - - - - - -org.apache.commons.lang.builder - - - - -
-Classes  - -
-CompareToBuilder -
-EqualsBuilder -
-HashCodeBuilder -
-ReflectionToStringBuilder -
-StandardToStringStyle -
-ToStringBuilder -
-ToStringStyle
- - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-summary.html deleted file mode 100644 index df0712f1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-summary.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.builder - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package org.apache.commons.lang.builder -

-Assists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
CompareToBuilderAssists in implementing Comparable.compareTo(Object) methods.
EqualsBuilderAssists in implementing Object.equals(Object) methods.
HashCodeBuilder - Assists in implementing Object.hashCode() methods.
ReflectionToStringBuilder - Assists in implementing Object.toString() methods using reflection.
StandardToStringStyleWorks with ToStringBuilder to create a toString.
ToStringBuilderAssists in implementing Object.toString() methods.
ToStringStyleControls String formatting for ToStringBuilder.
-  - -

-

-Package org.apache.commons.lang.builder Description -

- -

-Assists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. -

-

-
Since:
1.0
-
See Also:
Object.equals(Object), -Object.toString(), -Object.hashCode(), -Comparable.compareTo(Object)
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-tree.html deleted file mode 100644 index 130f38c7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-tree.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.builder Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package org.apache.commons.lang.builder -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-use.html deleted file mode 100644 index 8b7f5fb0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/builder/package-use.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.builder - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Package
org.apache.commons.lang.builder

-
- - - - - - - - - -
-Packages that use org.apache.commons.lang.builder
org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods. 
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
-Classes in org.apache.commons.lang.builder used by org.apache.commons.lang.builder
CompareToBuilder - -
-          Assists in implementing Comparable.compareTo(Object) methods.
EqualsBuilder - -
-          Assists in implementing Object.equals(Object) methods.
HashCodeBuilder - -
-           - Assists in implementing Object.hashCode() methods.
ReflectionToStringBuilder - -
-           - Assists in implementing Object.toString() methods using reflection.
ToStringBuilder - -
-          Assists in implementing Object.toString() methods.
ToStringStyle - -
-          Controls String formatting for ToStringBuilder.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ArrayUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ArrayUtils.html deleted file mode 100644 index fa038497..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ArrayUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.ArrayUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.ArrayUtils

-
-No usage of org.apache.commons.lang.ArrayUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/BitField.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/BitField.html deleted file mode 100644 index 4c8b367a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/BitField.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.BitField - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.BitField

-
-No usage of org.apache.commons.lang.BitField -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/BooleanUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/BooleanUtils.html deleted file mode 100644 index d417017e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/BooleanUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.BooleanUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.BooleanUtils

-
-No usage of org.apache.commons.lang.BooleanUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharEncoding.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharEncoding.html deleted file mode 100644 index 286f0ba4..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharEncoding.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.CharEncoding - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.CharEncoding

-
-No usage of org.apache.commons.lang.CharEncoding -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharRange.html deleted file mode 100644 index 5f4de394..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharRange.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.CharRange - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.CharRange

-
- - - - - - - - - -
-Packages that use CharRange
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
-  -

- - - - - -
-Uses of CharRange in org.apache.commons.lang
-  -

- - - - - - - - - -
Methods in org.apache.commons.lang that return CharRange
- CharRange[]CharSet.getCharRanges() - -
-          Gets the internal set as an array of CharRange objects.
-  -

- - - - - - - - - -
Methods in org.apache.commons.lang with parameters of type CharRange
- booleanCharRange.contains(CharRange range) - -
-          Are all the characters of the passed in range contained in - this range.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharSet.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharSet.html deleted file mode 100644 index 89977b4e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharSet.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.CharSet - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.CharSet

-
- - - - - - - - - -
-Packages that use CharSet
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
-  -

- - - - - -
-Uses of CharSet in org.apache.commons.lang
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Fields in org.apache.commons.lang declared as CharSet
-static CharSetCharSet.EMPTY - -
-          A CharSet defining no characters.
-static CharSetCharSet.ASCII_ALPHA - -
-          A CharSet defining ASCII alphabetic characters "a-zA-Z".
-static CharSetCharSet.ASCII_ALPHA_LOWER - -
-          A CharSet defining ASCII alphabetic characters "a-z".
-static CharSetCharSet.ASCII_ALPHA_UPPER - -
-          A CharSet defining ASCII alphabetic characters "A-Z".
-static CharSetCharSet.ASCII_NUMERIC - -
-          A CharSet defining ASCII alphabetic characters "0-9".
-  -

- - - - - - - - - - - - - -
Methods in org.apache.commons.lang that return CharSet
-static CharSetCharSet.getInstance(String setStr) - -
-          Factory method to create a new CharSet using a special syntax.
-static CharSetCharSetUtils.evaluateSet(String[] set) - -
-          Deprecated. Use getInstance(String). - Method will be removed in Commons Lang 3.0.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharSetUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharSetUtils.html deleted file mode 100644 index da4b8431..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharSetUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.CharSetUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.CharSetUtils

-
-No usage of org.apache.commons.lang.CharSetUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharUtils.html deleted file mode 100644 index 4b4f2a18..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/CharUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.CharUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.CharUtils

-
-No usage of org.apache.commons.lang.CharUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ClassUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ClassUtils.html deleted file mode 100644 index 1a6c0dc6..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ClassUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.ClassUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.ClassUtils

-
-No usage of org.apache.commons.lang.ClassUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/IllegalClassException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/IllegalClassException.html deleted file mode 100644 index 355b7504..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/IllegalClassException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.IllegalClassException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.IllegalClassException

-
-No usage of org.apache.commons.lang.IllegalClassException -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/IncompleteArgumentException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/IncompleteArgumentException.html deleted file mode 100644 index c81240b2..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/IncompleteArgumentException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.IncompleteArgumentException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.IncompleteArgumentException

-
-No usage of org.apache.commons.lang.IncompleteArgumentException -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/LocaleUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/LocaleUtils.html deleted file mode 100644 index 10ff63fa..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/LocaleUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.LocaleUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.LocaleUtils

-
-No usage of org.apache.commons.lang.LocaleUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NotImplementedException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NotImplementedException.html deleted file mode 100644 index ec744f61..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NotImplementedException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.NotImplementedException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.NotImplementedException

-
-No usage of org.apache.commons.lang.NotImplementedException -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NullArgumentException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NullArgumentException.html deleted file mode 100644 index 017cef8a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NullArgumentException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.NullArgumentException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.NullArgumentException

-
-No usage of org.apache.commons.lang.NullArgumentException -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NumberRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NumberRange.html deleted file mode 100644 index 5cb0c3fd..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NumberRange.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.NumberRange - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.NumberRange

-
- - - - - - - - - -
-Packages that use NumberRange
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
-  -

- - - - - -
-Uses of NumberRange in org.apache.commons.lang
-  -

- - - - - - - - - - - - - -
Methods in org.apache.commons.lang with parameters of type NumberRange
- booleanNumberRange.includesRange(NumberRange range) - -
-          Deprecated. Tests whether the specified range occurs entirely within this - range using double comparison.
- booleanNumberRange.overlaps(NumberRange range) - -
-          Deprecated. Tests whether the specified range overlaps with this range - using double comparison.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NumberUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NumberUtils.html deleted file mode 100644 index 0f1d6d8e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/NumberUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.NumberUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.NumberUtils

-
-No usage of org.apache.commons.lang.NumberUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ObjectUtils.Null.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ObjectUtils.Null.html deleted file mode 100644 index 4c90da57..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ObjectUtils.Null.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.ObjectUtils.Null - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.ObjectUtils.Null

-
- - - - - - - - - -
-Packages that use ObjectUtils.Null
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
-  -

- - - - - -
-Uses of ObjectUtils.Null in org.apache.commons.lang
-  -

- - - - - - - - - -
Fields in org.apache.commons.lang declared as ObjectUtils.Null
-static ObjectUtils.NullObjectUtils.NULL - -
-          Singleton used as a null placeholder where - null has another meaning.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ObjectUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ObjectUtils.html deleted file mode 100644 index cdef8c50..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/ObjectUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.ObjectUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.ObjectUtils

-
-No usage of org.apache.commons.lang.ObjectUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/RandomStringUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/RandomStringUtils.html deleted file mode 100644 index 3dcbcb5c..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/RandomStringUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.RandomStringUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.RandomStringUtils

-
-No usage of org.apache.commons.lang.RandomStringUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SerializationException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SerializationException.html deleted file mode 100644 index a580eaae..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SerializationException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.SerializationException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.SerializationException

-
-No usage of org.apache.commons.lang.SerializationException -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SerializationUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SerializationUtils.html deleted file mode 100644 index 03c51ac4..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SerializationUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.SerializationUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.SerializationUtils

-
-No usage of org.apache.commons.lang.SerializationUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/StringEscapeUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/StringEscapeUtils.html deleted file mode 100644 index d3b05aee..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/StringEscapeUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.StringEscapeUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.StringEscapeUtils

-
-No usage of org.apache.commons.lang.StringEscapeUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/StringUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/StringUtils.html deleted file mode 100644 index 1b8a016d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/StringUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.StringUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.StringUtils

-
-No usage of org.apache.commons.lang.StringUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SystemUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SystemUtils.html deleted file mode 100644 index c0b3a767..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/SystemUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.SystemUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.SystemUtils

-
-No usage of org.apache.commons.lang.SystemUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/UnhandledException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/UnhandledException.html deleted file mode 100644 index 257172b1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/UnhandledException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.UnhandledException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.UnhandledException

-
-No usage of org.apache.commons.lang.UnhandledException -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/Validate.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/Validate.html deleted file mode 100644 index e65d4e2e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/Validate.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.Validate - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.Validate

-
-No usage of org.apache.commons.lang.Validate -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/WordUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/WordUtils.html deleted file mode 100644 index 8f4270c7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/class-use/WordUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.WordUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.WordUtils

-
-No usage of org.apache.commons.lang.WordUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/Enum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/Enum.html deleted file mode 100644 index 5acea58c..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/Enum.html +++ /dev/null @@ -1,733 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class Enum - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.enum -
-Class Enum

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.enum.Enum
-
-
-
All Implemented Interfaces:
Comparable, Serializable
-
-
-
Direct Known Subclasses:
ValuedEnum
-
-
-Deprecated. Replaced by org.apache.commons.lang.enums.Enum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword. -

-

-
public abstract class Enum
extends Object
implements Comparable, Serializable
- -

-

Abstract superclass for type-safe enums.

- -

One feature of the C programming language lacking in Java is enumerations. The - C implementation based on ints was poor and open to abuse. The original Java - recommendation and most of the JDK also uses int constants. It has been recognised - however that a more robust type-safe class-based solution can be designed. This - class follows the basic Java type-safe enumeration pattern.

- -

NOTE:Due to the way in which Java ClassLoaders work, comparing - Enum objects should always be done using equals(), not ==. - The equals() method will try == first so in most cases the effect is the same.

- -

Of course, if you actually want (or don't mind) Enums in different class - loaders being non-equal, then you can use ==.

- -

Simple Enums

- -

To use this class, it must be subclassed. For example:

- -
- public final class ColorEnum extends Enum {
-   public static final ColorEnum RED = new ColorEnum("Red");
-   public static final ColorEnum GREEN = new ColorEnum("Green");
-   public static final ColorEnum BLUE = new ColorEnum("Blue");
-
-   private ColorEnum(String color) {
-     super(color);
-   }
- 
-   public static ColorEnum getEnum(String color) {
-     return (ColorEnum) getEnum(ColorEnum.class, color);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(ColorEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(ColorEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(ColorEnum.class);
-   }
- }
- 
- -

As shown, each enum has a name. This can be accessed using getName.

- -

The getEnum and iterator methods are recommended. - Unfortunately, Java restrictions require these to be coded as shown in each subclass. - An alternative choice is to use the EnumUtils class.

- -

Subclassed Enums

-

A hierarchy of Enum classes can be built. In this case, the superclass is - unaffected by the addition of subclasses (as per normal Java). The subclasses - may add additional Enum constants of the type of the superclass. The - query methods on the subclass will return all of the Enum constants from the - superclass and subclass.

- -
- public final class ExtraColorEnum extends ColorEnum {
-   // NOTE: Color enum declared above is final, change that to get this
-   // example to compile.
-   public static final ColorEnum YELLOW = new ExtraColorEnum("Yellow");
-
-   private ExtraColorEnum(String color) {
-     super(color);
-   }
- 
-   public static ColorEnum getEnum(String color) {
-     return (ColorEnum) getEnum(ExtraColorEnum.class, color);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(ExtraColorEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(ExtraColorEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(ExtraColorEnum.class);
-   }
- }
- 
- -

This example will return RED, GREEN, BLUE, YELLOW from the List and iterator - methods in that order. The RED, GREEN and BLUE instances will be the same (==) - as those from the superclass ColorEnum. Note that YELLOW is declared as a - ColorEnum and not an ExtraColorEnum.

- -

Functional Enums

- -

The enums can have functionality by defining subclasses and - overriding the getEnumClass() method:

- -
-   public static final OperationEnum PLUS = new PlusOperation();
-   private static final class PlusOperation extends OperationEnum {
-     private PlusOperation() {
-       super("Plus");
-     }
-     public int eval(int a, int b) {
-       return a + b;
-     }
-   }
-   public static final OperationEnum MINUS = new MinusOperation();
-   private static final class MinusOperation extends OperationEnum {
-     private MinusOperation() {
-       super("Minus");
-     }
-     public int eval(int a, int b) {
-       return a - b;
-     }
-   }
-
-   private OperationEnum(String color) {
-     super(color);
-   }
- 
-   public final Class getEnumClass() {     // NOTE: new method!
-     return OperationEnum.class;
-   }
-
-   public abstract double eval(double a, double b);
- 
-   public static OperationEnum getEnum(String name) {
-     return (OperationEnum) getEnum(OperationEnum.class, name);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(OperationEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(OperationEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(OperationEnum.class);
-   }
- }
- 
-

The code above will work on JDK 1.2. If JDK1.3 and later is used, - the subclasses may be defined as anonymous.

- -

Nested class Enums

- -

Care must be taken with class loading when defining a static nested class - for enums. The static nested class can be loaded without the surrounding outer - class being loaded. This can result in an empty list/map/iterator being returned. - One solution is to define a static block that references the outer class where - the constants are defined. For example:

- -
- public final class Outer {
-   public static final BWEnum BLACK = new BWEnum("Black");
-   public static final BWEnum WHITE = new BWEnum("White");
-
-   // static nested enum class
-   public static final class BWEnum extends Enum {
- 
-     static {
-       // explicitly reference BWEnum class to force constants to load
-       Object obj = Outer.BLACK;
-     }
- 
-     // ... other methods omitted
-   }
- }
- 
- -

Although the above solves the problem, it is not recommended. The best solution - is to define the constants in the enum class, and hold references in the outer class: - -

- public final class Outer {
-   public static final BWEnum BLACK = BWEnum.BLACK;
-   public static final BWEnum WHITE = BWEnum.WHITE;
-
-   // static nested enum class
-   public static final class BWEnum extends Enum {
-     // only define constants in enum classes - private if desired
-     private static final BWEnum BLACK = new BWEnum("Black");
-     private static final BWEnum WHITE = new BWEnum("White");
- 
-     // ... other methods omitted
-   }
- }
- 
- -

For more details, see the 'Nested' test cases. -

-

-
Since:
1.0
-
Version:
$Id: Enum.java 447975 2006-09-19 21:20:56Z bayard $
-
Author:
Apache Avalon project, Stephen Colebourne, Chris Webb, Mike Bowler
-
See Also:
Enum, Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  StringiToString - -
-          Deprecated. The toString representation of the Enum.
-  - - - - - - - - - - - -
-Constructor Summary
-protected Enum(String name) - -
-          Deprecated. Constructor to add a new named item to the enumeration.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(Object other) - -
-          Deprecated. Tests for order.
- booleanequals(Object other) - -
-          Deprecated. Tests for equality.
-protected static EnumgetEnum(Class enumClass, - String name) - -
-          Deprecated. Gets an Enum object by class and name.
- ClassgetEnumClass() - -
-          Deprecated. Retrieves the Class of this Enum item, set in the constructor.
-protected static ListgetEnumList(Class enumClass) - -
-          Deprecated. Gets the List of Enum objects using the - Enum class.
-protected static MapgetEnumMap(Class enumClass) - -
-          Deprecated. Gets the Map of Enum objects by - name using the Enum class.
- StringgetName() - -
-          Deprecated. Retrieve the name of this Enum item, set in the constructor.
- inthashCode() - -
-          Deprecated. Returns a suitable hashCode for the enumeration.
-protected static Iteratoriterator(Class enumClass) - -
-          Deprecated. Gets an Iterator over the Enum objects in - an Enum class.
-protected  ObjectreadResolve() - -
-          Deprecated. Handle the deserialization of the class to ensure that multiple - copies are not wastefully created, or illegal enum types created.
- StringtoString() - -
-          Deprecated. Human readable description of this Enum item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-iToString

-
-protected transient String iToString
-
-
Deprecated. 
The toString representation of the Enum.
-
Since:
2.0
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-Enum

-
-protected Enum(String name)
-
-
Deprecated. 

Constructor to add a new named item to the enumeration.

-
Parameters:
name - the name of the enum object, - must not be empty or null
Throws:
IllegalArgumentException - if the name is null - or an empty string
IllegalArgumentException - if the getEnumClass() method returns - a null or invalid Class
-
-
- - - - - - - - -
-Method Detail
- -

-readResolve

-
-protected Object readResolve()
-
-
Deprecated. 

Handle the deserialization of the class to ensure that multiple - copies are not wastefully created, or illegal enum types created.

-
-
-
-
Returns:
the resolved object
-
-
-
- -

-getEnum

-
-protected static Enum getEnum(Class enumClass,
-                              String name)
-
-
Deprecated. 

Gets an Enum object by class and name.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, must not - be null
name - the name of the Enum to get, - may be null
Returns:
the enum object, or null if the enum does not exist
Throws:
IllegalArgumentException - if the enum class - is null
-
-
-
- -

-getEnumMap

-
-protected static Map getEnumMap(Class enumClass)
-
-
Deprecated. 

Gets the Map of Enum objects by - name using the Enum class.

- -

If the requested class has no enum objects an empty - Map is returned.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, - must not be null
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
-
- -

-getEnumList

-
-protected static List getEnumList(Class enumClass)
-
-
Deprecated. 

Gets the List of Enum objects using the - Enum class.

- -

The list is in the order that the objects were created (source code order). - If the requested class has no enum objects an empty List is - returned.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, - must not be null
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
-
- -

-iterator

-
-protected static Iterator iterator(Class enumClass)
-
-
Deprecated. 

Gets an Iterator over the Enum objects in - an Enum class.

- -

The Iterator is in the order that the objects were - created (source code order). If the requested class has no enum - objects an empty Iterator is returned.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, - must not be null
Returns:
an iterator of the Enum objects
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
-
- -

-getName

-
-public final String getName()
-
-
Deprecated. 

Retrieve the name of this Enum item, set in the constructor.

-
-
-
-
Returns:
the String name of this Enum item
-
-
-
- -

-getEnumClass

-
-public Class getEnumClass()
-
-
Deprecated. 

Retrieves the Class of this Enum item, set in the constructor.

- -

This is normally the same as getClass(), but for - advanced Enums may be different. If overridden, it must return a - constant value.

-
-
-
-
Returns:
the Class of the enum
Since:
2.0
-
-
-
-
- -

-equals

-
-public final boolean equals(Object other)
-
-
Deprecated. 

Tests for equality.

- -

Two Enum objects are considered equal - if they have the same class names and the same names. - Identity is tested for first, so this method usually runs fast.

- -

If the parameter is in a different class loader than this instance, - reflection is used to compare the names.

-
Overrides:
equals in class Object
-
-
-
Parameters:
other - the other object to compare for equality
Returns:
true if the Enums are equal
-
-
-
- -

-hashCode

-
-public final int hashCode()
-
-
Deprecated. 

Returns a suitable hashCode for the enumeration.

-
Overrides:
hashCode in class Object
-
-
-
Returns:
a hashcode based on the name
-
-
-
- -

-compareTo

-
-public int compareTo(Object other)
-
-
Deprecated. 

Tests for order.

- -

The default ordering is alphabetic by name, but this - can be overridden by subclasses.

- -

If the parameter is in a different class loader than this instance, - reflection is used to compare the names.

-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
other - the other object to compare to
Returns:
-ve if this is less than the other object, +ve if greater - than, 0 of equal
Throws:
ClassCastException - if other is not an Enum
NullPointerException - if other is null
See Also:
Comparable.compareTo(Object)
-
-
-
- -

-toString

-
-public String toString()
-
-
Deprecated. 

Human readable description of this Enum item.

-
Overrides:
toString in class Object
-
-
-
Returns:
String in the form type[name], for example: - Color[Red]. Note that the package name is stripped from - the type name.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/EnumUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/EnumUtils.html deleted file mode 100644 index 8fbae19e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/EnumUtils.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class EnumUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.enum -
-Class EnumUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.enum.EnumUtils
-
-
-Deprecated. Replaced by org.apache.commons.lang.enums.EnumUtils - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword. -

-

-
public class EnumUtils
extends Object
- -

-

Utility class for accessing and manipulating Enums.

-

-

-
Since:
1.0
-
Version:
$Id: EnumUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne, Gary Gregory
-
See Also:
EnumUtils, -Enum, -ValuedEnum
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
EnumUtils() - -
-          Deprecated. Public constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static ValuedEnumgetEnum(Class enumClass, - int value) - -
-          Deprecated. Gets a ValuedEnum object by class and value.
-static EnumgetEnum(Class enumClass, - String name) - -
-          Deprecated. Gets an Enum object by class and name.
-static ListgetEnumList(Class enumClass) - -
-          Deprecated. Gets the List of Enum objects using - the Enum class.
-static MapgetEnumMap(Class enumClass) - -
-          Deprecated. Gets the Map of Enum objects by - name using the Enum class.
-static Iteratoriterator(Class enumClass) - -
-          Deprecated. Gets an Iterator over the Enum objects - in an Enum class.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-EnumUtils

-
-public EnumUtils()
-
-
Deprecated. 
Public constructor. This class should not normally be instantiated.
-
Since:
2.0
-
-
-
- - - - - - - - -
-Method Detail
- -

-getEnum

-
-public static Enum getEnum(Class enumClass,
-                           String name)
-
-
Deprecated. 

Gets an Enum object by class and name.

-
Parameters:
enumClass - the class of the Enum to get
name - the name of the Enum to get, may be null
Returns:
the enum object
Throws:
IllegalArgumentException - if the enum class is null
-
-
-
- -

-getEnum

-
-public static ValuedEnum getEnum(Class enumClass,
-                                 int value)
-
-
Deprecated. 

Gets a ValuedEnum object by class and value.

-
Parameters:
enumClass - the class of the Enum to get
value - the value of the Enum to get
Returns:
the enum object, or null if the enum does not exist
Throws:
IllegalArgumentException - if the enum class is null
-
-
-
- -

-getEnumMap

-
-public static Map getEnumMap(Class enumClass)
-
-
Deprecated. 

Gets the Map of Enum objects by - name using the Enum class.

- -

If the requested class has no enum objects an empty - Map is returned. The Map is unmodifiable.

-
Parameters:
enumClass - the class of the Enum to get
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass - of Enum
-
-
-
- -

-getEnumList

-
-public static List getEnumList(Class enumClass)
-
-
Deprecated. 

Gets the List of Enum objects using - the Enum class.

- -

The list is in the order that the objects were created - (source code order).

- -

If the requested class has no enum objects an empty - List is returned. The List is unmodifiable.

-
Parameters:
enumClass - the class of the Enum to get
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass - of Enum
-
-
-
- -

-iterator

-
-public static Iterator iterator(Class enumClass)
-
-
Deprecated. 

Gets an Iterator over the Enum objects - in an Enum class.

- -

The iterator is in the order that the objects were created - (source code order).

- -

If the requested class has no enum objects an empty - Iterator is returned. The Iterator - is unmodifiable.

-
Parameters:
enumClass - the class of the Enum to get
Returns:
an Iterator of the Enum objects
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/ValuedEnum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/ValuedEnum.html deleted file mode 100644 index b863b986..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/ValuedEnum.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ValuedEnum - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.enum -
-Class ValuedEnum

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.enum.Enum
-        |
-        +--org.apache.commons.lang.enum.ValuedEnum
-
-
-
All Implemented Interfaces:
Comparable, Serializable
-
-
-Deprecated. Replaced by org.apache.commons.lang.enums.ValuedEnum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword. -

-

-
public abstract class ValuedEnum
extends Enum
- -

-

Abstract superclass for type-safe enums with integer values suitable - for use in switch statements.

- -

NOTE:Due to the way in which Java ClassLoaders work, comparing - Enum objects should always be done using the equals() method, - not ==. The equals() method will try == first so - in most cases the effect is the same.

- -

To use this class, it must be subclassed. For example:

- -
- public final class JavaVersionEnum extends ValuedEnum {
-   //standard enums for version of JVM
-   public static final int  JAVA1_0_VALUE  = 100;
-   public static final int  JAVA1_1_VALUE  = 110;
-   public static final int  JAVA1_2_VALUE  = 120;
-   public static final int  JAVA1_3_VALUE  = 130;
-   public static final JavaVersionEnum  JAVA1_0  = new JavaVersionEnum( "Java 1.0", JAVA1_0_VALUE );
-   public static final JavaVersionEnum  JAVA1_1  = new JavaVersionEnum( "Java 1.1", JAVA1_1_VALUE );
-   public static final JavaVersionEnum  JAVA1_2  = new JavaVersionEnum( "Java 1.2", JAVA1_2_VALUE );
-   public static final JavaVersionEnum  JAVA1_3  = new JavaVersionEnum( "Java 1.3", JAVA1_3_VALUE );
-
-   private JavaVersionEnum(String name, int value) {
-     super( name, value );
-   }
- 
-   public static JavaVersionEnum getEnum(String javaVersion) {
-     return (JavaVersionEnum) getEnum(JavaVersionEnum.class, javaVersion);
-   }
- 
-   public static JavaVersionEnum getEnum(int javaVersion) {
-     return (JavaVersionEnum) getEnum(JavaVersionEnum.class, javaVersion);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(JavaVersionEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(JavaVersionEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(JavaVersionEnum.class);
-   }
- }
- 
- -

The above class could then be used as follows:

- -
- public void doSomething(JavaVersionEnum ver) {
-   switch (ver.getValue()) {
-     case JAVA1_0_VALUE:
-       // ...
-       break;
-     case JAVA1_1_VALUE:
-       // ...
-       break;
-     //...
-   }
- }
- 
- -

As shown, each enum has a name and a value. These can be accessed using - getName and getValue.

- -

The getEnum and iterator methods are recommended. - Unfortunately, Java restrictions require these to be coded as shown in each subclass. - An alternative choice is to use the EnumUtils class.

-

-

-
Since:
1.0
-
Version:
$Id: ValuedEnum.java 441929 2006-09-10 08:04:17Z bayard $
-
Author:
Apache Avalon project, Stephen Colebourne
-
See Also:
ValuedEnum, Serialized Form
-
- -

- - - - - - - - - - - - - -
Fields inherited from class org.apache.commons.lang.enum.Enum
iToString
-  - - - - - - - - - - - -
-Constructor Summary
-protected ValuedEnum(String name, - int value) - -
-          Deprecated. Constructor for enum item.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(Object other) - -
-          Deprecated. Tests for order.
-protected static EnumgetEnum(Class enumClass, - int value) - -
-          Deprecated. Gets an Enum object by class and value.
- intgetValue() - -
-          Deprecated. Get value of enum item.
- StringtoString() - -
-          Deprecated. Human readable description of this Enum item.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.enum.Enum
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ValuedEnum

-
-protected ValuedEnum(String name,
-                     int value)
-
-
Deprecated. 
Constructor for enum item.
-
Parameters:
name - the name of enum item
value - the value of enum item
-
-
- - - - - - - - -
-Method Detail
- -

-getEnum

-
-protected static Enum getEnum(Class enumClass,
-                              int value)
-
-
Deprecated. 

Gets an Enum object by class and value.

- -

This method loops through the list of Enum, - thus if there are many Enums this will be - slow.

-
Parameters:
enumClass - the class of the Enum to get
value - the value of the Enum to get
Returns:
the enum object, or null if the enum does not exist
Throws:
IllegalArgumentException - if the enum class is null
-
-
-
- -

-getValue

-
-public final int getValue()
-
-
Deprecated. 

Get value of enum item.

-
Returns:
the enum item's value.
-
-
-
- -

-compareTo

-
-public int compareTo(Object other)
-
-
Deprecated. 

Tests for order.

- -

The default ordering is numeric by value, but this - can be overridden by subclasses.

-
Overrides:
compareTo in class Enum
-
-
-
Parameters:
other - the other object to compare to
Returns:
-ve if this is less than the other object, +ve if greater than, - 0 of equal
Throws:
ClassCastException - if other is not an Enum
NullPointerException - if other is null
See Also:
Comparable.compareTo(Object)
-
-
-
- -

-toString

-
-public String toString()
-
-
Deprecated. 

Human readable description of this Enum item.

-
Overrides:
toString in class Enum
-
-
-
Returns:
String in the form type[name=value], for example: - JavaVersion[Java 1.0=100]. Note that the package name is - stripped from the type name.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/Enum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/Enum.html deleted file mode 100644 index 2a420532..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/Enum.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.enum.Enum - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.enum.Enum

-
- - - - - - - - - -
-Packages that use Enum
org.apache.commons.lang.enum -Deprecated and replaced by org.apache.commons.lang.enums -and will be removed in version 3.0. 
-  -

- - - - - -
-Uses of Enum in org.apache.commons.lang.enum
-  -

- - - - - - - - - -
Subclasses of Enum in org.apache.commons.lang.enum
- classValuedEnum - -
-          Deprecated. Replaced by org.apache.commons.lang.enums.ValuedEnum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword.
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.enum that return Enum
-static EnumEnumUtils.getEnum(Class enumClass, - String name) - -
-          Deprecated. Gets an Enum object by class and name.
-protected static EnumEnum.getEnum(Class enumClass, - String name) - -
-          Deprecated. Gets an Enum object by class and name.
-protected static EnumValuedEnum.getEnum(Class enumClass, - int value) - -
-          Deprecated. Gets an Enum object by class and value.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/EnumUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/EnumUtils.html deleted file mode 100644 index e44788ce..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/EnumUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.enum.EnumUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.enum.EnumUtils

-
-No usage of org.apache.commons.lang.enum.EnumUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/ValuedEnum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/ValuedEnum.html deleted file mode 100644 index e7d7ec10..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/class-use/ValuedEnum.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.enum.ValuedEnum - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.enum.ValuedEnum

-
- - - - - - - - - -
-Packages that use ValuedEnum
org.apache.commons.lang.enum -Deprecated and replaced by org.apache.commons.lang.enums -and will be removed in version 3.0. 
-  -

- - - - - -
-Uses of ValuedEnum in org.apache.commons.lang.enum
-  -

- - - - - - - - - -
Methods in org.apache.commons.lang.enum that return ValuedEnum
-static ValuedEnumEnumUtils.getEnum(Class enumClass, - int value) - -
-          Deprecated. Gets a ValuedEnum object by class and value.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-frame.html deleted file mode 100644 index dfd38288..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.enum - - - - - -org.apache.commons.lang.enum - - - - -
-Classes  - -
-Enum -
-EnumUtils -
-ValuedEnum
- - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-summary.html deleted file mode 100644 index 35c9f1db..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-summary.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.enum - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package org.apache.commons.lang.enum -

- -Deprecated and replaced by org.apache.commons.lang.enums -and will be removed in version 3.0. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Class Summary
EnumDeprecated. Replaced by org.apache.commons.lang.enums.Enum - and will be removed in version 3.0.
EnumUtilsDeprecated. Replaced by org.apache.commons.lang.enums.EnumUtils - and will be removed in version 3.0.
ValuedEnumDeprecated. Replaced by org.apache.commons.lang.enums.ValuedEnum - and will be removed in version 3.0.
-  - -

-

-Package org.apache.commons.lang.enum Description -

- -

-

-Deprecated and replaced by org.apache.commons.lang.enums -and will be removed in version 3.0. -

-

-All classes in this package are deprecated and repackaged to org.apache.commons.lang.enums -since enum is a Java 1.5 keyword. -

-

-Provides an implementation of the C style enum in the Java world. -

-

-The classic example being an RGB color enumeration. -

-
-public final class ColorEnum extends Enum {
-    public static final ColorEnum RED = new ColorEnum("Red");
-    public static final ColorEnum GREEN = new ColorEnum("Green");
-    public static final ColorEnum BLUE = new ColorEnum("Blue");
-
-    private ColorEnum(String color) {
-        super(color);
-    }
-
-    public static ColorEnum getEnum(String color) {
-        return (ColorEnum) getEnum(ColorEnum.class, color);
-    }
-
-    public static Map getEnumMap() {
-        return getEnumMap(ColorEnum.class);
-    }
-
-    public static List getEnumList() {
-        return getEnumList(ColorEnum.class);
-    }
-
-    public static Iterator iterator() {
-        return iterator(ColorEnum.class);
-    }
-}
-
-

-

-
Since:
1.0
-
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-tree.html deleted file mode 100644 index 7a85e4c1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-tree.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.enum Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package org.apache.commons.lang.enum -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-use.html deleted file mode 100644 index 82620cd9..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enum/package-use.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.enum - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Package
org.apache.commons.lang.enum

-
- - - - - - - - - -
-Packages that use org.apache.commons.lang.enum
org.apache.commons.lang.enum -Deprecated and replaced by org.apache.commons.lang.enums -and will be removed in version 3.0. 
-  -

- - - - - - - - - - - -
-Classes in org.apache.commons.lang.enum used by org.apache.commons.lang.enum
Enum - -
-          Deprecated. Replaced by org.apache.commons.lang.enums.Enum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword.
ValuedEnum - -
-          Deprecated. Replaced by org.apache.commons.lang.enums.ValuedEnum - and will be removed in version 3.0. All classes in this package are deprecated and repackaged to - org.apache.commons.lang.enums since enum is a Java 1.5 keyword.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/Enum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/Enum.html deleted file mode 100644 index 6e8d66ff..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/Enum.html +++ /dev/null @@ -1,778 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class Enum - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.enums -
-Class Enum

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.enums.Enum
-
-
-
All Implemented Interfaces:
Comparable, Serializable
-
-
-
Direct Known Subclasses:
ValuedEnum
-
-
-
-
public abstract class Enum
extends Object
implements Comparable, Serializable
- -

-

Abstract superclass for type-safe enums.

- -

One feature of the C programming language lacking in Java is enumerations. The - C implementation based on ints was poor and open to abuse. The original Java - recommendation and most of the JDK also uses int constants. It has been recognised - however that a more robust type-safe class-based solution can be designed. This - class follows the basic Java type-safe enumeration pattern.

- -

NOTE: Due to the way in which Java ClassLoaders work, comparing - Enum objects should always be done using equals(), not ==. - The equals() method will try == first so in most cases the effect is the same.

- -

Of course, if you actually want (or don't mind) Enums in different class - loaders being non-equal, then you can use ==.

- -

Simple Enums

- -

To use this class, it must be subclassed. For example:

- -
- public final class ColorEnum extends Enum {
-   public static final ColorEnum RED = new ColorEnum("Red");
-   public static final ColorEnum GREEN = new ColorEnum("Green");
-   public static final ColorEnum BLUE = new ColorEnum("Blue");
-
-   private ColorEnum(String color) {
-     super(color);
-   }
- 
-   public static ColorEnum getEnum(String color) {
-     return (ColorEnum) getEnum(ColorEnum.class, color);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(ColorEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(ColorEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(ColorEnum.class);
-   }
- }
- 
- -

As shown, each enum has a name. This can be accessed using getName.

- -

The getEnum and iterator methods are recommended. - Unfortunately, Java restrictions require these to be coded as shown in each subclass. - An alternative choice is to use the EnumUtils class.

- -

Subclassed Enums

-

A hierarchy of Enum classes can be built. In this case, the superclass is - unaffected by the addition of subclasses (as per normal Java). The subclasses - may add additional Enum constants of the type of the superclass. The - query methods on the subclass will return all of the Enum constants from the - superclass and subclass.

- -
- public final class ExtraColorEnum extends ColorEnum {
-   // NOTE: Color enum declared above is final, change that to get this
-   // example to compile.
-   public static final ColorEnum YELLOW = new ExtraColorEnum("Yellow");
-
-   private ExtraColorEnum(String color) {
-     super(color);
-   }
- 
-   public static ColorEnum getEnum(String color) {
-     return (ColorEnum) getEnum(ExtraColorEnum.class, color);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(ExtraColorEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(ExtraColorEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(ExtraColorEnum.class);
-   }
- }
- 
- -

This example will return RED, GREEN, BLUE, YELLOW from the List and iterator - methods in that order. The RED, GREEN and BLUE instances will be the same (==) - as those from the superclass ColorEnum. Note that YELLOW is declared as a - ColorEnum and not an ExtraColorEnum.

- -

Functional Enums

- -

The enums can have functionality by defining subclasses and - overriding the getEnumClass() method:

- -
-   public static final OperationEnum PLUS = new PlusOperation();
-   private static final class PlusOperation extends OperationEnum {
-     private PlusOperation() {
-       super("Plus");
-     }
-     public int eval(int a, int b) {
-       return a + b;
-     }
-   }
-   public static final OperationEnum MINUS = new MinusOperation();
-   private static final class MinusOperation extends OperationEnum {
-     private MinusOperation() {
-       super("Minus");
-     }
-     public int eval(int a, int b) {
-       return a - b;
-     }
-   }
-
-   private OperationEnum(String color) {
-     super(color);
-   }
- 
-   public final Class getEnumClass() {     // NOTE: new method!
-     return OperationEnum.class;
-   }
-
-   public abstract double eval(double a, double b);
- 
-   public static OperationEnum getEnum(String name) {
-     return (OperationEnum) getEnum(OperationEnum.class, name);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(OperationEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(OperationEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(OperationEnum.class);
-   }
- }
- 
-

The code above will work on JDK 1.2. If JDK1.3 and later is used, - the subclasses may be defined as anonymous.

- -

Nested class Enums

- -

Care must be taken with class loading when defining a static nested class - for enums. The static nested class can be loaded without the surrounding outer - class being loaded. This can result in an empty list/map/iterator being returned. - One solution is to define a static block that references the outer class where - the constants are defined. For example:

- -
- public final class Outer {
-   public static final BWEnum BLACK = new BWEnum("Black");
-   public static final BWEnum WHITE = new BWEnum("White");
-
-   // static nested enum class
-   public static final class BWEnum extends Enum {
- 
-     static {
-       // explicitly reference BWEnum class to force constants to load
-       Object obj = Outer.BLACK;
-     }
- 
-     // ... other methods omitted
-   }
- }
- 
- -

Although the above solves the problem, it is not recommended. The best solution - is to define the constants in the enum class, and hold references in the outer class: - -

- public final class Outer {
-   public static final BWEnum BLACK = BWEnum.BLACK;
-   public static final BWEnum WHITE = BWEnum.WHITE;
-
-   // static nested enum class
-   public static final class BWEnum extends Enum {
-     // only define constants in enum classes - private if desired
-     private static final BWEnum BLACK = new BWEnum("Black");
-     private static final BWEnum WHITE = new BWEnum("White");
- 
-     // ... other methods omitted
-   }
- }
- 
- -

For more details, see the 'Nested' test cases. - -

Lang Enums and Java 5.0 Enums

- -

Enums were added to Java in Java 5.0. The main differences between Lang's - implementation and the new official JDK implementation are:

-
    -
  • The standard Enum is a not just a superclass, but is a type baked into the - language.
  • -
  • The standard Enum does not support extension, so the standard methods that - are provided in the Lang enum are not available.
  • -
  • Lang mandates a String name, whereas the standard Enum uses the class - name as its name. getName() changes to name().
  • -
- -

Generally people should use the standard Enum. Migrating from the Lang - enum to the standard Enum is not as easy as it might be due to the lack of - class inheritence in standard Enums. This means that it's not possible - to provide a 'super-enum' which could provide the same utility methods - that the Lang enum does. The following utility class is a Java 5.0 - version of our EnumUtils class and provides those utility methods.

- -
- import java.util.*;
- 
- public class EnumUtils {
- 
-   public static Enum getEnum(Class enumClass, String token) {
-     return Enum.valueOf(enumClass, token);
-   }
- 
-   public static Map getEnumMap(Class enumClass) {
-     HashMap map = new HashMap();
-     Iterator itr = EnumUtils.iterator(enumClass);
-     while(itr.hasNext()) {
-       Enum enm = (Enum) itr.next();
-       map.put( enm.name(), enm );
-     }
-     return map;
-   }
- 
-   public static List getEnumList(Class enumClass) {
-     return new ArrayList( EnumSet.allOf(enumClass) );
-   }
- 
-   public static Iterator iterator(Class enumClass) {
-     return EnumUtils.getEnumList(enumClass).iterator();
-   }
- }
- 
-

-

-
Since:
2.1 (class existed in enum package from v1.0)
-
Version:
$Id: Enum.java 466285 2006-10-20 22:36:21Z bayard $
-
Author:
Apache Avalon project, Stephen Colebourne, Chris Webb, Mike Bowler, Matthias Eichel
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  StringiToString - -
-          The toString representation of the Enum.
-  - - - - - - - - - - - -
-Constructor Summary
-protected Enum(String name) - -
-          Constructor to add a new named item to the enumeration.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(Object other) - -
-          Tests for order.
- booleanequals(Object other) - -
-          Tests for equality.
-protected static EnumgetEnum(Class enumClass, - String name) - -
-          Gets an Enum object by class and name.
- ClassgetEnumClass() - -
-          Retrieves the Class of this Enum item, set in the constructor.
-protected static ListgetEnumList(Class enumClass) - -
-          Gets the List of Enum objects using the - Enum class.
-protected static MapgetEnumMap(Class enumClass) - -
-          Gets the Map of Enum objects by - name using the Enum class.
- StringgetName() - -
-          Retrieve the name of this Enum item, set in the constructor.
- inthashCode() - -
-          Returns a suitable hashCode for the enumeration.
-protected static Iteratoriterator(Class enumClass) - -
-          Gets an Iterator over the Enum objects in - an Enum class.
-protected  ObjectreadResolve() - -
-          Handle the deserialization of the class to ensure that multiple - copies are not wastefully created, or illegal enum types created.
- StringtoString() - -
-          Human readable description of this Enum item.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-iToString

-
-protected transient String iToString
-
-
The toString representation of the Enum.
-
Since:
2.0
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-Enum

-
-protected Enum(String name)
-
-

Constructor to add a new named item to the enumeration.

-
Parameters:
name - the name of the enum object, - must not be empty or null
Throws:
IllegalArgumentException - if the name is null - or an empty string
IllegalArgumentException - if the getEnumClass() method returns - a null or invalid Class
-
-
- - - - - - - - -
-Method Detail
- -

-readResolve

-
-protected Object readResolve()
-
-

Handle the deserialization of the class to ensure that multiple - copies are not wastefully created, or illegal enum types created.

-
-
-
-
Returns:
the resolved object
-
-
-
- -

-getEnum

-
-protected static Enum getEnum(Class enumClass,
-                              String name)
-
-

Gets an Enum object by class and name.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, must not - be null
name - the name of the Enum to get, - may be null
Returns:
the enum object, or null if the enum does not exist
Throws:
IllegalArgumentException - if the enum class - is null
-
-
-
- -

-getEnumMap

-
-protected static Map getEnumMap(Class enumClass)
-
-

Gets the Map of Enum objects by - name using the Enum class.

- -

If the requested class has no enum objects an empty - Map is returned.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, - must not be null
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
-
- -

-getEnumList

-
-protected static List getEnumList(Class enumClass)
-
-

Gets the List of Enum objects using the - Enum class.

- -

The list is in the order that the objects were created (source code order). - If the requested class has no enum objects an empty List is - returned.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, - must not be null
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
-
- -

-iterator

-
-protected static Iterator iterator(Class enumClass)
-
-

Gets an Iterator over the Enum objects in - an Enum class.

- -

The Iterator is in the order that the objects were - created (source code order). If the requested class has no enum - objects an empty Iterator is returned.

-
-
-
-
Parameters:
enumClass - the class of the Enum to get, - must not be null
Returns:
an iterator of the Enum objects
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
-
- -

-getName

-
-public final String getName()
-
-

Retrieve the name of this Enum item, set in the constructor.

-
-
-
-
Returns:
the String name of this Enum item
-
-
-
- -

-getEnumClass

-
-public Class getEnumClass()
-
-

Retrieves the Class of this Enum item, set in the constructor.

- -

This is normally the same as getClass(), but for - advanced Enums may be different. If overridden, it must return a - constant value.

-
-
-
-
Returns:
the Class of the enum
Since:
2.0
-
-
-
-
- -

-equals

-
-public final boolean equals(Object other)
-
-

Tests for equality.

- -

Two Enum objects are considered equal - if they have the same class names and the same names. - Identity is tested for first, so this method usually runs fast.

- -

If the parameter is in a different class loader than this instance, - reflection is used to compare the names.

-
Overrides:
equals in class Object
-
-
-
Parameters:
other - the other object to compare for equality
Returns:
true if the Enums are equal
-
-
-
- -

-hashCode

-
-public final int hashCode()
-
-

Returns a suitable hashCode for the enumeration.

-
Overrides:
hashCode in class Object
-
-
-
Returns:
a hashcode based on the name
-
-
-
- -

-compareTo

-
-public int compareTo(Object other)
-
-

Tests for order.

- -

The default ordering is alphabetic by name, but this - can be overridden by subclasses.

- -

If the parameter is in a different class loader than this instance, - reflection is used to compare the names.

-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
other - the other object to compare to
Returns:
-ve if this is less than the other object, +ve if greater - than, 0 of equal
Throws:
ClassCastException - if other is not an Enum
NullPointerException - if other is null
See Also:
Comparable.compareTo(Object)
-
-
-
- -

-toString

-
-public String toString()
-
-

Human readable description of this Enum item.

-
Overrides:
toString in class Object
-
-
-
Returns:
String in the form type[name], for example: - Color[Red]. Note that the package name is stripped from - the type name.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/EnumUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/EnumUtils.html deleted file mode 100644 index b5377a12..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/EnumUtils.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class EnumUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.enums -
-Class EnumUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.enums.EnumUtils
-
-
-
-
public class EnumUtils
extends Object
- -

-

Utility class for accessing and manipulating Enums.

-

-

-
Since:
2.1 (class existed in enum package from v1.0)
-
Version:
$Id: EnumUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne, Gary Gregory
-
See Also:
Enum, -ValuedEnum
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
EnumUtils() - -
-          Public constructor.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static ValuedEnumgetEnum(Class enumClass, - int value) - -
-          Gets a ValuedEnum object by class and value.
-static EnumgetEnum(Class enumClass, - String name) - -
-          Gets an Enum object by class and name.
-static ListgetEnumList(Class enumClass) - -
-          Gets the List of Enum objects using - the Enum class.
-static MapgetEnumMap(Class enumClass) - -
-          Gets the Map of Enum objects by - name using the Enum class.
-static Iteratoriterator(Class enumClass) - -
-          Gets an Iterator over the Enum objects - in an Enum class.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-EnumUtils

-
-public EnumUtils()
-
-
Public constructor. This class should not normally be instantiated.
-
Since:
2.0
-
-
-
- - - - - - - - -
-Method Detail
- -

-getEnum

-
-public static Enum getEnum(Class enumClass,
-                           String name)
-
-

Gets an Enum object by class and name.

-
Parameters:
enumClass - the class of the Enum to get
name - the name of the Enum to get, may be null
Returns:
the enum object
Throws:
IllegalArgumentException - if the enum class is null
-
-
-
- -

-getEnum

-
-public static ValuedEnum getEnum(Class enumClass,
-                                 int value)
-
-

Gets a ValuedEnum object by class and value.

-
Parameters:
enumClass - the class of the Enum to get
value - the value of the Enum to get
Returns:
the enum object, or null if the enum does not exist
Throws:
IllegalArgumentException - if the enum class is null
-
-
-
- -

-getEnumMap

-
-public static Map getEnumMap(Class enumClass)
-
-

Gets the Map of Enum objects by - name using the Enum class.

- -

If the requested class has no enum objects an empty - Map is returned. The Map is unmodifiable.

-
Parameters:
enumClass - the class of the Enum to get
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass - of Enum
-
-
-
- -

-getEnumList

-
-public static List getEnumList(Class enumClass)
-
-

Gets the List of Enum objects using - the Enum class.

- -

The list is in the order that the objects were created - (source code order).

- -

If the requested class has no enum objects an empty - List is returned. The List is unmodifiable.

-
Parameters:
enumClass - the class of the Enum to get
Returns:
the enum object Map
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass - of Enum
-
-
-
- -

-iterator

-
-public static Iterator iterator(Class enumClass)
-
-

Gets an Iterator over the Enum objects - in an Enum class.

- -

The iterator is in the order that the objects were created - (source code order).

- -

If the requested class has no enum objects an empty - Iterator is returned. The Iterator - is unmodifiable.

-
Parameters:
enumClass - the class of the Enum to get
Returns:
an Iterator of the Enum objects
Throws:
IllegalArgumentException - if the enum class is null
IllegalArgumentException - if the enum class is not a subclass of Enum
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/ValuedEnum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/ValuedEnum.html deleted file mode 100644 index bc0d6b47..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/ValuedEnum.html +++ /dev/null @@ -1,403 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ValuedEnum - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.enums -
-Class ValuedEnum

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.enums.Enum
-        |
-        +--org.apache.commons.lang.enums.ValuedEnum
-
-
-
All Implemented Interfaces:
Comparable, Serializable
-
-
-
-
public abstract class ValuedEnum
extends Enum
- -

-

Abstract superclass for type-safe enums with integer values suitable - for use in switch statements.

- -

NOTE:Due to the way in which Java ClassLoaders work, comparing - Enum objects should always be done using the equals() method, - not ==. The equals() method will try == first so - in most cases the effect is the same.

- -

To use this class, it must be subclassed. For example:

- -
- public final class JavaVersionEnum extends ValuedEnum {
-   //standard enums for version of JVM
-   public static final int  JAVA1_0_VALUE  = 100;
-   public static final int  JAVA1_1_VALUE  = 110;
-   public static final int  JAVA1_2_VALUE  = 120;
-   public static final int  JAVA1_3_VALUE  = 130;
-   public static final JavaVersionEnum  JAVA1_0  = new JavaVersionEnum( "Java 1.0", JAVA1_0_VALUE );
-   public static final JavaVersionEnum  JAVA1_1  = new JavaVersionEnum( "Java 1.1", JAVA1_1_VALUE );
-   public static final JavaVersionEnum  JAVA1_2  = new JavaVersionEnum( "Java 1.2", JAVA1_2_VALUE );
-   public static final JavaVersionEnum  JAVA1_3  = new JavaVersionEnum( "Java 1.3", JAVA1_3_VALUE );
-
-   private JavaVersionEnum(String name, int value) {
-     super( name, value );
-   }
- 
-   public static JavaVersionEnum getEnum(String javaVersion) {
-     return (JavaVersionEnum) getEnum(JavaVersionEnum.class, javaVersion);
-   }
- 
-   public static JavaVersionEnum getEnum(int javaVersion) {
-     return (JavaVersionEnum) getEnum(JavaVersionEnum.class, javaVersion);
-   }
- 
-   public static Map getEnumMap() {
-     return getEnumMap(JavaVersionEnum.class);
-   }
- 
-   public static List getEnumList() {
-     return getEnumList(JavaVersionEnum.class);
-   }
- 
-   public static Iterator iterator() {
-     return iterator(JavaVersionEnum.class);
-   }
- }
- 
- -

NOTE:These are declared final, so compilers may - inline the code. Ensure you recompile everything when using final.

- -

The above class could then be used as follows:

- -
- public void doSomething(JavaVersionEnum ver) {
-   switch (ver.getValue()) {
-     case JAVA1_0_VALUE:
-       // ...
-       break;
-     case JAVA1_1_VALUE:
-       // ...
-       break;
-     //...
-   }
- }
- 
- -

As shown, each enum has a name and a value. These can be accessed using - getName and getValue.

- -

NOTE: Because the switch is ultimately sitting on top of an - int, the example above is not type-safe. That is, there is nothing that - checks that JAVA1_0_VALUE is a legal constant for JavaVersionEnum.

- -

The getEnum and iterator methods are recommended. - Unfortunately, Java restrictions require these to be coded as shown in each subclass. - An alternative choice is to use the EnumUtils class.

-

-

-
Since:
2.1 (class existed in enum package from v1.0)
-
Version:
$Id: ValuedEnum.java 466275 2006-10-20 22:02:34Z bayard $
-
Author:
Apache Avalon project, Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - -
Fields inherited from class org.apache.commons.lang.enums.Enum
iToString
-  - - - - - - - - - - - -
-Constructor Summary
-protected ValuedEnum(String name, - int value) - -
-          Constructor for enum item.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- intcompareTo(Object other) - -
-          Tests for order.
-protected static EnumgetEnum(Class enumClass, - int value) - -
-          Gets an Enum object by class and value.
- intgetValue() - -
-          Get value of enum item.
- StringtoString() - -
-          Human readable description of this Enum item.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.enums.Enum
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ValuedEnum

-
-protected ValuedEnum(String name,
-                     int value)
-
-
Constructor for enum item.
-
Parameters:
name - the name of enum item
value - the value of enum item
-
-
- - - - - - - - -
-Method Detail
- -

-getEnum

-
-protected static Enum getEnum(Class enumClass,
-                              int value)
-
-

Gets an Enum object by class and value.

- -

This method loops through the list of Enum, - thus if there are many Enums this will be - slow.

-
Parameters:
enumClass - the class of the Enum to get
value - the value of the Enum to get
Returns:
the enum object, or null if the enum does not exist
Throws:
IllegalArgumentException - if the enum class is null
-
-
-
- -

-getValue

-
-public final int getValue()
-
-

Get value of enum item.

-
Returns:
the enum item's value.
-
-
-
- -

-compareTo

-
-public int compareTo(Object other)
-
-

Tests for order.

- -

The default ordering is numeric by value, but this - can be overridden by subclasses.

- -

NOTE: From v2.2 the enums must be of the same type. - If the parameter is in a different class loader than this instance, - reflection is used to compare the values.

-
Overrides:
compareTo in class Enum
-
-
-
Parameters:
other - the other object to compare to
Returns:
-ve if this is less than the other object, +ve if greater than, - 0 of equal
Throws:
ClassCastException - if other is not an Enum
NullPointerException - if other is null
See Also:
Comparable.compareTo(Object)
-
-
-
- -

-toString

-
-public String toString()
-
-

Human readable description of this Enum item.

-
Overrides:
toString in class Enum
-
-
-
Returns:
String in the form type[name=value], for example: - JavaVersion[Java 1.0=100]. Note that the package name is - stripped from the type name.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/Enum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/Enum.html deleted file mode 100644 index 0d18aaa7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/Enum.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.enums.Enum - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.enums.Enum

-
- - - - - - - - - -
-Packages that use Enum
org.apache.commons.lang.enums -Provides an implementation of the C style enum in the Java world. 
-  -

- - - - - -
-Uses of Enum in org.apache.commons.lang.enums
-  -

- - - - - - - - - -
Subclasses of Enum in org.apache.commons.lang.enums
- classValuedEnum - -
-          Abstract superclass for type-safe enums with integer values suitable - for use in switch statements.
-  -

- - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.enums that return Enum
-static EnumEnumUtils.getEnum(Class enumClass, - String name) - -
-          Gets an Enum object by class and name.
-protected static EnumEnum.getEnum(Class enumClass, - String name) - -
-          Gets an Enum object by class and name.
-protected static EnumValuedEnum.getEnum(Class enumClass, - int value) - -
-          Gets an Enum object by class and value.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/EnumUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/EnumUtils.html deleted file mode 100644 index c74ff64a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/EnumUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.enums.EnumUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.enums.EnumUtils

-
-No usage of org.apache.commons.lang.enums.EnumUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/ValuedEnum.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/ValuedEnum.html deleted file mode 100644 index b75da8cc..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/class-use/ValuedEnum.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.enums.ValuedEnum - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.enums.ValuedEnum

-
- - - - - - - - - -
-Packages that use ValuedEnum
org.apache.commons.lang.enums -Provides an implementation of the C style enum in the Java world. 
-  -

- - - - - -
-Uses of ValuedEnum in org.apache.commons.lang.enums
-  -

- - - - - - - - - -
Methods in org.apache.commons.lang.enums that return ValuedEnum
-static ValuedEnumEnumUtils.getEnum(Class enumClass, - int value) - -
-          Gets a ValuedEnum object by class and value.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-frame.html deleted file mode 100644 index 4803390a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.enums - - - - - -org.apache.commons.lang.enums - - - - -
-Classes  - -
-Enum -
-EnumUtils -
-ValuedEnum
- - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-summary.html deleted file mode 100644 index fa3e4f96..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-summary.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.enums - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package org.apache.commons.lang.enums -

- -Provides an implementation of the C style enum in the Java world. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - -
-Class Summary
EnumAbstract superclass for type-safe enums.
EnumUtilsUtility class for accessing and manipulating Enums.
ValuedEnumAbstract superclass for type-safe enums with integer values suitable - for use in switch statements.
-  - -

-

-Package org.apache.commons.lang.enums Description -

- -

-

-Provides an implementation of the C style enum in the Java world. -

-

-The classic example being an RGB color enumeration. -

-
-public final class ColorEnum extends Enum {
-    public static final ColorEnum RED = new ColorEnum("Red");
-    public static final ColorEnum GREEN = new ColorEnum("Green");
-    public static final ColorEnum BLUE = new ColorEnum("Blue");
-
-    private ColorEnum(String color) {
-        super(color);
-    }
-
-    public static ColorEnum getEnum(String color) {
-        return (ColorEnum) getEnum(ColorEnum.class, color);
-    }
-
-    public static Map getEnumMap() {
-        return getEnumMap(ColorEnum.class);
-    }
-
-    public static List getEnumList() {
-        return getEnumList(ColorEnum.class);
-    }
-
-    public static Iterator iterator() {
-        return iterator(ColorEnum.class);
-    }
-}
-
-

-

-
Since:
2.1
-
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-tree.html deleted file mode 100644 index 08213e5e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-tree.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.enums Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package org.apache.commons.lang.enums -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-use.html deleted file mode 100644 index 4787e746..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/enums/package-use.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.enums - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Package
org.apache.commons.lang.enums

-
- - - - - - - - - -
-Packages that use org.apache.commons.lang.enums
org.apache.commons.lang.enums -Provides an implementation of the C style enum in the Java world. 
-  -

- - - - - - - - - - - -
-Classes in org.apache.commons.lang.enums used by org.apache.commons.lang.enums
Enum - -
-          Abstract superclass for type-safe enums.
ValuedEnum - -
-          Abstract superclass for type-safe enums with integer values suitable - for use in switch statements.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/ExceptionUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/ExceptionUtils.html deleted file mode 100644 index 4b59ea94..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/ExceptionUtils.html +++ /dev/null @@ -1,964 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class ExceptionUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.exception -
-Class ExceptionUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.exception.ExceptionUtils
-
-
-
-
public class ExceptionUtils
extends Object
- -

-

Provides utilities for manipulating and examining - Throwable objects.

-

-

-
Since:
1.0
-
Version:
$Id: ExceptionUtils.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Daniel Rall, Dmitri Plotnikov, Stephen Colebourne, Gary Gregory, Pete Gieser
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
ExceptionUtils() - -
-           - Public constructor allows an instance of ExceptionUtils to be created, although that is not - normally necessary.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static voidaddCauseMethodName(String methodName) - -
-          Adds to the list of method names used in the search for Throwable - objects.
-static ThrowablegetCause(Throwable throwable) - -
-          Introspects the Throwable to obtain the cause.
-static ThrowablegetCause(Throwable throwable, - String[] methodNames) - -
-          Introspects the Throwable to obtain the cause.
-static StringgetFullStackTrace(Throwable throwable) - -
-          A way to get the entire nested stack-trace of an throwable.
-static StringgetMessage(Throwable th) - -
-          Gets a short message summarising the exception.
-static ThrowablegetRootCause(Throwable throwable) - -
-          Introspects the Throwable to obtain the root cause.
-static StringgetRootCauseMessage(Throwable th) - -
-          Gets a short message summarising the root cause exception.
-static String[]getRootCauseStackTrace(Throwable throwable) - -
-          Creates a compact stack trace for the root cause of the supplied - Throwable.
-static String[]getStackFrames(Throwable throwable) - -
-          Captures the stack trace associated with the specified - Throwable object, decomposing it into a list of - stack frames.
-static StringgetStackTrace(Throwable throwable) - -
-          Gets the stack trace from a Throwable as a String.
-static intgetThrowableCount(Throwable throwable) - -
-          Counts the number of Throwable objects in the - exception chain.
-static ListgetThrowableList(Throwable throwable) - -
-          Returns the list of Throwable objects in the - exception chain.
-static Throwable[]getThrowables(Throwable throwable) - -
-          Returns the list of Throwable objects in the - exception chain.
-static intindexOfThrowable(Throwable throwable, - Class clazz) - -
-          Returns the (zero based) index of the first Throwable - that matches the specified class (exactly) in the exception chain.
-static intindexOfThrowable(Throwable throwable, - Class clazz, - int fromIndex) - -
-          Returns the (zero based) index of the first Throwable - that matches the specified type in the exception chain from - a specified index.
-static intindexOfType(Throwable throwable, - Class type) - -
-          Returns the (zero based) index of the first Throwable - that matches the specified class or subclass in the exception chain.
-static intindexOfType(Throwable throwable, - Class type, - int fromIndex) - -
-          Returns the (zero based) index of the first Throwable - that matches the specified type in the exception chain from - a specified index.
-static booleanisCauseMethodName(String methodName) - -
-          Tests if the list of method names used in the search for Throwable - objects include the given name.
-static booleanisNestedThrowable(Throwable throwable) - -
-          Checks whether this Throwable class can store a cause.
-static booleanisThrowableNested() - -
-          Checks if the Throwable class has a getCause method.
-static voidprintRootCauseStackTrace(Throwable throwable) - -
-          Prints a compact stack trace for the root cause of a throwable - to System.err.
-static voidprintRootCauseStackTrace(Throwable throwable, - PrintStream stream) - -
-          Prints a compact stack trace for the root cause of a throwable.
-static voidprintRootCauseStackTrace(Throwable throwable, - PrintWriter writer) - -
-          Prints a compact stack trace for the root cause of a throwable.
-static voidremoveCauseMethodName(String methodName) - -
-          Removes from the list of method names used in the search for Throwable - objects.
-static voidremoveCommonFrames(List causeFrames, - List wrapperFrames) - -
-          Removes common frames from the cause trace given the two stack traces.
-static booleansetCause(Throwable target, - Throwable cause) - -
-          Sets the cause of a Throwable using introspection, allowing - source code compatibility between pre-1.4 and post-1.4 Java releases.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-ExceptionUtils

-
-public ExceptionUtils()
-
-

- Public constructor allows an instance of ExceptionUtils to be created, although that is not - normally necessary. -

- - - - - - - - -
-Method Detail
- -

-addCauseMethodName

-
-public static void addCauseMethodName(String methodName)
-
-

Adds to the list of method names used in the search for Throwable - objects.

-
Parameters:
methodName - the methodName to add to the list, null - and empty strings are ignored
Since:
2.0
-
-
-
-
- -

-removeCauseMethodName

-
-public static void removeCauseMethodName(String methodName)
-
-

Removes from the list of method names used in the search for Throwable - objects.

-
Parameters:
methodName - the methodName to remove from the list, null - and empty strings are ignored
Since:
2.1
-
-
-
-
- -

-setCause

-
-public static boolean setCause(Throwable target,
-                               Throwable cause)
-
-

Sets the cause of a Throwable using introspection, allowing - source code compatibility between pre-1.4 and post-1.4 Java releases.

- -

The typical use of this method is inside a constructor as in - the following example:

- -
- import org.apache.commons.lang.exception.ExceptionUtils;
-  
- public class MyException extends Exception {
-  
-    public MyException(String msg) {
-       super(msg);
-    }
-
-    public MyException(String msg, Throwable cause) {
-       super(msg);
-       ExceptionUtils.setCause(this, cause);
-    }
- }
- 
-
Parameters:
target - the target Throwable
cause - the Throwable to set in the target
Returns:
a true if the target has been modified
Since:
2.2
-
-
-
-
- -

-isCauseMethodName

-
-public static boolean isCauseMethodName(String methodName)
-
-

Tests if the list of method names used in the search for Throwable - objects include the given name.

-
Parameters:
methodName - the methodName to search in the list.
Returns:
if the list of method names used in the search for Throwable - objects include the given name.
Since:
2.1
-
-
-
-
- -

-getCause

-
-public static Throwable getCause(Throwable throwable)
-
-

Introspects the Throwable to obtain the cause.

- -

The method searches for methods with specific names that return a - Throwable object. This will pick up most wrapping exceptions, - including those from JDK 1.4, and - NestableException. - The method names can be added to using addCauseMethodName(String).

- -

The default list searched for are:

-
    -
  • getCause()
  • -
  • getNextException()
  • -
  • getTargetException()
  • -
  • getException()
  • -
  • getSourceException()
  • -
  • getRootCause()
  • -
  • getCausedByException()
  • -
  • getNested()
  • -
- -

In the absence of any such method, the object is inspected for a - detail field assignable to a Throwable.

- -

If none of the above is found, returns null.

-
Parameters:
throwable - the throwable to introspect for a cause, may be null
Returns:
the cause of the Throwable, - null if none found or null throwable input
Since:
1.0
-
-
-
-
- -

-getCause

-
-public static Throwable getCause(Throwable throwable,
-                                 String[] methodNames)
-
-

Introspects the Throwable to obtain the cause.

- -
    -
  1. Try known exception types.
  2. -
  3. Try the supplied array of method names.
  4. -
  5. Try the field 'detail'.
  6. -
- -

A null set of method names means use the default set. - A null in the set of method names will be ignored.

-
Parameters:
throwable - the throwable to introspect for a cause, may be null
methodNames - the method names, null treated as default set
Returns:
the cause of the Throwable, - null if none found or null throwable input
Since:
1.0
-
-
-
-
- -

-getRootCause

-
-public static Throwable getRootCause(Throwable throwable)
-
-

Introspects the Throwable to obtain the root cause.

- -

This method walks through the exception chain to the last element, - "root" of the tree, using getCause(Throwable), and - returns that exception.

- -

From version 2.2, this method handles recursive cause structures - that might otherwise cause infinite loops. If the throwable parameter - has a cause of itself, then null will be returned. If the throwable - parameter cause chain loops, the last element in the chain before the - loop is returned.

-
Parameters:
throwable - the throwable to get the root cause for, may be null
Returns:
the root cause of the Throwable, - null if none found or null throwable input
-
-
-
- -

-isThrowableNested

-
-public static boolean isThrowableNested()
-
-

Checks if the Throwable class has a getCause method.

- -

This is true for JDK 1.4 and above.

-
Returns:
true if Throwable is nestable
Since:
2.0
-
-
-
-
- -

-isNestedThrowable

-
-public static boolean isNestedThrowable(Throwable throwable)
-
-

Checks whether this Throwable class can store a cause.

- -

This method does not check whether it actually does store a cause.

-
Parameters:
throwable - the Throwable to examine, may be null
Returns:
boolean true if nested otherwise false
Since:
2.0
-
-
-
-
- -

-getThrowableCount

-
-public static int getThrowableCount(Throwable throwable)
-
-

Counts the number of Throwable objects in the - exception chain.

- -

A throwable without cause will return 1. - A throwable with one cause will return 2 and so on. - A null throwable will return 0.

- -

From version 2.2, this method handles recursive cause structures - that might otherwise cause infinite loops. The cause chain is - processed until the end is reached, or until the next item in the - chain is already in the result set.

-
Parameters:
throwable - the throwable to inspect, may be null
Returns:
the count of throwables, zero if null input
-
-
-
- -

-getThrowables

-
-public static Throwable[] getThrowables(Throwable throwable)
-
-

Returns the list of Throwable objects in the - exception chain.

- -

A throwable without cause will return an array containing - one element - the input throwable. - A throwable with one cause will return an array containing - two elements. - the input throwable and the cause throwable. - A null throwable will return an array of size zero.

- -

From version 2.2, this method handles recursive cause structures - that might otherwise cause infinite loops. The cause chain is - processed until the end is reached, or until the next item in the - chain is already in the result set.

-
Parameters:
throwable - the throwable to inspect, may be null
Returns:
the array of throwables, never null
See Also:
getThrowableList(Throwable)
-
-
-
- -

-getThrowableList

-
-public static List getThrowableList(Throwable throwable)
-
-

Returns the list of Throwable objects in the - exception chain.

- -

A throwable without cause will return a list containing - one element - the input throwable. - A throwable with one cause will return a list containing - two elements. - the input throwable and the cause throwable. - A null throwable will return a list of size zero.

- -

This method handles recursive cause structures that might - otherwise cause infinite loops. The cause chain is processed until - the end is reached, or until the next item in the chain is already - in the result set.

-
Parameters:
throwable - the throwable to inspect, may be null
Returns:
the list of throwables, never null
Since:
Commons Lang 2.2
-
-
-
-
- -

-indexOfThrowable

-
-public static int indexOfThrowable(Throwable throwable,
-                                   Class clazz)
-
-

Returns the (zero based) index of the first Throwable - that matches the specified class (exactly) in the exception chain. - Subclasses of the specified class do not match - see - indexOfType(Throwable, Class) for the opposite.

- -

A null throwable returns -1. - A null type returns -1. - No match in the chain returns -1.

-
Parameters:
throwable - the throwable to inspect, may be null
clazz - the class to search for, subclasses do not match, null returns -1
Returns:
the index into the throwable chain, -1 if no match or null input
-
-
-
- -

-indexOfThrowable

-
-public static int indexOfThrowable(Throwable throwable,
-                                   Class clazz,
-                                   int fromIndex)
-
-

Returns the (zero based) index of the first Throwable - that matches the specified type in the exception chain from - a specified index. - Subclasses of the specified class do not match - see - indexOfType(Throwable, Class, int) for the opposite.

- -

A null throwable returns -1. - A null type returns -1. - No match in the chain returns -1. - A negative start index is treated as zero. - A start index greater than the number of throwables returns -1.

-
Parameters:
throwable - the throwable to inspect, may be null
clazz - the class to search for, subclasses do not match, null returns -1
fromIndex - the (zero based) index of the starting position, - negative treated as zero, larger than chain size returns -1
Returns:
the index into the throwable chain, -1 if no match or null input
-
-
-
- -

-indexOfType

-
-public static int indexOfType(Throwable throwable,
-                              Class type)
-
-

Returns the (zero based) index of the first Throwable - that matches the specified class or subclass in the exception chain. - Subclasses of the specified class do match - see - indexOfThrowable(Throwable, Class) for the opposite.

- -

A null throwable returns -1. - A null type returns -1. - No match in the chain returns -1.

-
Parameters:
throwable - the throwable to inspect, may be null
type - the type to search for, subclasses match, null returns -1
Returns:
the index into the throwable chain, -1 if no match or null input
Since:
2.1
-
-
-
-
- -

-indexOfType

-
-public static int indexOfType(Throwable throwable,
-                              Class type,
-                              int fromIndex)
-
-

Returns the (zero based) index of the first Throwable - that matches the specified type in the exception chain from - a specified index. - Subclasses of the specified class do match - see - indexOfThrowable(Throwable, Class) for the opposite.

- -

A null throwable returns -1. - A null type returns -1. - No match in the chain returns -1. - A negative start index is treated as zero. - A start index greater than the number of throwables returns -1.

-
Parameters:
throwable - the throwable to inspect, may be null
type - the type to search for, subclasses match, null returns -1
fromIndex - the (zero based) index of the starting position, - negative treated as zero, larger than chain size returns -1
Returns:
the index into the throwable chain, -1 if no match or null input
Since:
2.1
-
-
-
-
- -

-printRootCauseStackTrace

-
-public static void printRootCauseStackTrace(Throwable throwable)
-
-

Prints a compact stack trace for the root cause of a throwable - to System.err.

- -

The compact stack trace starts with the root cause and prints - stack frames up to the place where it was caught and wrapped. - Then it prints the wrapped exception and continues with stack frames - until the wrapper exception is caught and wrapped again, etc.

- -

The output of this method is consistent across JDK versions. - Note that this is the opposite order to the JDK1.4 display.

- -

The method is equivalent to printStackTrace for throwables - that don't have nested causes.

-
Parameters:
throwable - the throwable to output
Since:
2.0
-
-
-
-
- -

-printRootCauseStackTrace

-
-public static void printRootCauseStackTrace(Throwable throwable,
-                                            PrintStream stream)
-
-

Prints a compact stack trace for the root cause of a throwable.

- -

The compact stack trace starts with the root cause and prints - stack frames up to the place where it was caught and wrapped. - Then it prints the wrapped exception and continues with stack frames - until the wrapper exception is caught and wrapped again, etc.

- -

The output of this method is consistent across JDK versions. - Note that this is the opposite order to the JDK1.4 display.

- -

The method is equivalent to printStackTrace for throwables - that don't have nested causes.

-
Parameters:
throwable - the throwable to output, may be null
stream - the stream to output to, may not be null
Throws:
IllegalArgumentException - if the stream is null
Since:
2.0
-
-
-
-
- -

-printRootCauseStackTrace

-
-public static void printRootCauseStackTrace(Throwable throwable,
-                                            PrintWriter writer)
-
-

Prints a compact stack trace for the root cause of a throwable.

- -

The compact stack trace starts with the root cause and prints - stack frames up to the place where it was caught and wrapped. - Then it prints the wrapped exception and continues with stack frames - until the wrapper exception is caught and wrapped again, etc.

- -

The output of this method is consistent across JDK versions. - Note that this is the opposite order to the JDK1.4 display.

- -

The method is equivalent to printStackTrace for throwables - that don't have nested causes.

-
Parameters:
throwable - the throwable to output, may be null
writer - the writer to output to, may not be null
Throws:
IllegalArgumentException - if the writer is null
Since:
2.0
-
-
-
-
- -

-getRootCauseStackTrace

-
-public static String[] getRootCauseStackTrace(Throwable throwable)
-
-

Creates a compact stack trace for the root cause of the supplied - Throwable.

- -

The output of this method is consistent across JDK versions. - It consists of the root exception followed by each of its wrapping - exceptions separated by '[wrapped]'. Note that this is the opposite - order to the JDK1.4 display.

-
Parameters:
throwable - the throwable to examine, may be null
Returns:
an array of stack trace frames, never null
Since:
2.0
-
-
-
-
- -

-removeCommonFrames

-
-public static void removeCommonFrames(List causeFrames,
-                                      List wrapperFrames)
-
-

Removes common frames from the cause trace given the two stack traces.

-
Parameters:
causeFrames - stack trace of a cause throwable
wrapperFrames - stack trace of a wrapper throwable
Throws:
IllegalArgumentException - if either argument is null
Since:
2.0
-
-
-
-
- -

-getFullStackTrace

-
-public static String getFullStackTrace(Throwable throwable)
-
-

A way to get the entire nested stack-trace of an throwable.

- -

The result of this method is highly dependent on the JDK version - and whether the exceptions override printStackTrace or not.

-
Parameters:
throwable - the Throwable to be examined
Returns:
the nested stack trace, with the root cause first
Since:
2.0
-
-
-
-
- -

-getStackTrace

-
-public static String getStackTrace(Throwable throwable)
-
-

Gets the stack trace from a Throwable as a String.

- -

The result of this method vary by JDK version as this method - uses Throwable.printStackTrace(java.io.PrintWriter). - On JDK1.3 and earlier, the cause exception will not be shown - unless the specified throwable alters printStackTrace.

-
Parameters:
throwable - the Throwable to be examined
Returns:
the stack trace as generated by the exception's - printStackTrace(PrintWriter) method
-
-
-
- -

-getStackFrames

-
-public static String[] getStackFrames(Throwable throwable)
-
-

Captures the stack trace associated with the specified - Throwable object, decomposing it into a list of - stack frames.

- -

The result of this method vary by JDK version as this method - uses Throwable.printStackTrace(java.io.PrintWriter). - On JDK1.3 and earlier, the cause exception will not be shown - unless the specified throwable alters printStackTrace.

-
Parameters:
throwable - the Throwable to examine, may be null
Returns:
an array of strings describing each stack frame, never null
-
-
-
- -

-getMessage

-
-public static String getMessage(Throwable th)
-
-
Gets a short message summarising the exception. -

- The message returned is of the form - {ClassNameWithoutPackage}: {ThrowableMessage}

-
Parameters:
th - the throwable to get a message for, null returns empty string
Returns:
the message, non-null
Since:
Commons Lang 2.2
-
-
-
-
- -

-getRootCauseMessage

-
-public static String getRootCauseMessage(Throwable th)
-
-
Gets a short message summarising the root cause exception. -

- The message returned is of the form - {ClassNameWithoutPackage}: {ThrowableMessage}

-
Parameters:
th - the throwable to get a message for, null returns empty string
Returns:
the message, non-null
Since:
Commons Lang 2.2
-
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/Nestable.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/Nestable.html deleted file mode 100644 index bb1ac2f7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/Nestable.html +++ /dev/null @@ -1,457 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Interface Nestable - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.exception -
-Interface Nestable

-
-
All Known Implementing Classes:
NestableError, NestableException, NestableRuntimeException, NotImplementedException
-
-
-
-
public interface Nestable
- -

-An interface to be implemented by Throwable - extensions which would like to be able to nest root exceptions - inside themselves. -

-

-
Since:
1.0
-
Version:
$Id: Nestable.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Daniel Rall, Kasper Nielsen, Steven Caswell, Pete Gieser
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ThrowablegetCause() - -
-          Returns the reference to the exception or error that caused the - exception implementing the Nestable to be thrown.
- StringgetMessage() - -
-          Returns the error message of this and any nested - Throwable.
- StringgetMessage(int index) - -
-          Returns the error message of the Throwable in the chain - of Throwables at the specified index, numbered from 0.
- String[]getMessages() - -
-          Returns the error message of this and any nested Throwables - in an array of Strings, one element for each message.
- ThrowablegetThrowable(int index) - -
-          Returns the Throwable in the chain of - Throwables at the specified index, numbered from 0.
- intgetThrowableCount() - -
-          Returns the number of nested Throwables represented by - this Nestable, including this Nestable.
- Throwable[]getThrowables() - -
-          Returns this Nestable and any nested Throwables - in an array of Throwables, one element for each - Throwable.
- intindexOfThrowable(Class type) - -
-          Returns the index, numbered from 0, of the first occurrence of the - specified type, or a subclass, in the chain of Throwables.
- intindexOfThrowable(Class type, - int fromIndex) - -
-          Returns the index, numbered from 0, of the first Throwable - that matches the specified type, or a subclass, in the chain of Throwables - with an index greater than or equal to the specified index.
- voidprintPartialStackTrace(PrintWriter out) - -
-          Prints the stack trace for this exception only--root cause not - included--using the provided writer.
- voidprintStackTrace(PrintStream out) - -
-          Prints the stack trace of this exception to the specified print - stream.
- voidprintStackTrace(PrintWriter out) - -
-          Prints the stack trace of this exception to the specified print - writer.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getCause

-
-public Throwable getCause()
-
-
Returns the reference to the exception or error that caused the - exception implementing the Nestable to be thrown.
-
Returns:
throwable that caused the original exception
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
Returns the error message of this and any nested - Throwable.
-
Returns:
the error message
-
-
-
- -

-getMessage

-
-public String getMessage(int index)
-
-
Returns the error message of the Throwable in the chain - of Throwables at the specified index, numbered from 0.
-
Parameters:
index - the index of the Throwable in the chain of - Throwables
Returns:
the error message, or null if the Throwable at the - specified index in the chain does not contain a message
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getMessages

-
-public String[] getMessages()
-
-
Returns the error message of this and any nested Throwables - in an array of Strings, one element for each message. Any - Throwable not containing a message is represented in the - array by a null. This has the effect of cause the length of the returned - array to be equal to the result of the getThrowableCount() - operation.
-
Returns:
the error messages
-
-
-
- -

-getThrowable

-
-public Throwable getThrowable(int index)
-
-
Returns the Throwable in the chain of - Throwables at the specified index, numbered from 0.
-
Parameters:
index - the index, numbered from 0, of the Throwable in - the chain of Throwables
Returns:
the Throwable
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getThrowableCount

-
-public int getThrowableCount()
-
-
Returns the number of nested Throwables represented by - this Nestable, including this Nestable.
-
Returns:
the throwable count
-
-
-
- -

-getThrowables

-
-public Throwable[] getThrowables()
-
-
Returns this Nestable and any nested Throwables - in an array of Throwables, one element for each - Throwable.
-
Returns:
the Throwables
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type)
-
-
Returns the index, numbered from 0, of the first occurrence of the - specified type, or a subclass, in the chain of Throwables. - The method returns -1 if the specified type is not found in the chain. -

- NOTE: From v2.1, we have clarified the Nestable interface - such that this method matches subclasses. - If you want to NOT match subclasses, please use - ExceptionUtils.indexOfThrowable(Throwable, Class) - (which is avaiable in all versions of lang).

-
Parameters:
type - the type to find, subclasses match, null returns -1
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type,
-                            int fromIndex)
-
-
Returns the index, numbered from 0, of the first Throwable - that matches the specified type, or a subclass, in the chain of Throwables - with an index greater than or equal to the specified index. - The method returns -1 if the specified type is not found in the chain. -

- NOTE: From v2.1, we have clarified the Nestable interface - such that this method matches subclasses. - If you want to NOT match subclasses, please use - ExceptionUtils.indexOfThrowable(Throwable, Class, int) - (which is avaiable in all versions of lang).

-
Parameters:
type - the type to find, subclasses match, null returns -1
fromIndex - the index, numbered from 0, of the starting position in - the chain to be searched
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
Throws:
IndexOutOfBoundsException - if the fromIndex argument - is negative or not less than the count of Throwables in the - chain
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintWriter out)
-
-
Prints the stack trace of this exception to the specified print - writer. Includes information from the exception, if any, - which caused this exception.
-
Parameters:
out - PrintWriter to use for output.
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintStream out)
-
-
Prints the stack trace of this exception to the specified print - stream. Includes information from the exception, if any, - which caused this exception.
-
Parameters:
out - PrintStream to use for output.
-
-
-
- -

-printPartialStackTrace

-
-public void printPartialStackTrace(PrintWriter out)
-
-
Prints the stack trace for this exception only--root cause not - included--using the provided writer. Used by - NestableDelegate to write - individual stack traces to a buffer. The implementation of - this method should call - super.printStackTrace(out); in most cases.
-
Parameters:
out - The writer to use.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableDelegate.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableDelegate.html deleted file mode 100644 index 22f20a4b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableDelegate.html +++ /dev/null @@ -1,627 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NestableDelegate - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.exception -
-Class NestableDelegate

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.exception.NestableDelegate
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class NestableDelegate
extends Object
implements Serializable
- -

-

A shared implementation of the nestable exception functionality.

-

- The code is shared between - NestableError, - NestableException and - NestableRuntimeException. -

-

-

-
Since:
1.0
-
Version:
$Id: NestableDelegate.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Rafal Krzewski, Daniel Rall, Kasper Nielsen, Steven Caswell, Sean C. Sullivan, Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static booleanmatchSubclasses - -
-          Whether to match subclasses via indexOf.
-static booleantopDown - -
-          Whether to print the stack trace top-down.
-static booleantrimStackFrames - -
-          Whether to trim the repeated stack trace.
-  - - - - - - - - - - -
-Constructor Summary
NestableDelegate(Nestable nestable) - -
-          Constructs a new NestableDelegate instance to manage the - specified Nestable.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetMessage(int index) - -
-          Returns the error message of the Throwable in the chain of Throwables at the - specified index, numbered from 0.
- StringgetMessage(String baseMsg) - -
-          Returns the full message contained by the Nestable and any nested Throwables.
- String[]getMessages() - -
-          Returns the error message of this and any nested Throwables in an array of Strings, one element - for each message.
-protected  String[]getStackFrames(Throwable t) - -
-          Captures the stack trace associated with the specified - Throwable object, decomposing it into a list of - stack frames.
- ThrowablegetThrowable(int index) - -
-          Returns the Throwable in the chain of - Throwables at the specified index, numbered from 0.
- intgetThrowableCount() - -
-          Returns the number of Throwables contained in the - Nestable contained by this delegate.
- Throwable[]getThrowables() - -
-          Returns this delegate's Nestable and any nested - Throwables in an array of Throwables, one - element for each Throwable.
- intindexOfThrowable(Class type, - int fromIndex) - -
-          Returns the index, numbered from 0, of the first Throwable - that matches the specified type, or a subclass, in the chain of Throwables - with an index greater than or equal to the specified index.
- voidprintStackTrace() - -
-          Prints the stack trace of this exception the the standar error - stream.
- voidprintStackTrace(PrintStream out) - -
-          Prints the stack trace of this exception to the specified - stream.
- voidprintStackTrace(PrintWriter out) - -
-          Prints the stack trace of this exception to the specified - writer.
-protected  voidtrimStackFrames(List stacks) - -
-          Trims the stack frames.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-topDown

-
-public static boolean topDown
-
-
Whether to print the stack trace top-down. - This public flag may be set by calling code, typically in initialisation. - This exists for backwards compatability, setting it to false will return - the library to v1.0 behaviour (but will affect all users of the library - in the classloader).
-
Since:
2.0
-
-
-
-
- -

-trimStackFrames

-
-public static boolean trimStackFrames
-
-
Whether to trim the repeated stack trace. - This public flag may be set by calling code, typically in initialisation. - This exists for backwards compatability, setting it to false will return - the library to v1.0 behaviour (but will affect all users of the library - in the classloader).
-
Since:
2.0
-
-
-
-
- -

-matchSubclasses

-
-public static boolean matchSubclasses
-
-
Whether to match subclasses via indexOf. - This public flag may be set by calling code, typically in initialisation. - This exists for backwards compatability, setting it to false will return - the library to v2.0 behaviour (but will affect all users of the library - in the classloader).
-
Since:
2.1
-
-
-
- - - - - - - - -
-Constructor Detail
- -

-NestableDelegate

-
-public NestableDelegate(Nestable nestable)
-
-
Constructs a new NestableDelegate instance to manage the - specified Nestable.
-
Parameters:
nestable - the Nestable implementation (must extend - Throwable)
Since:
2.0
-
-
-
- - - - - - - - -
-Method Detail
- -

-getMessage

-
-public String getMessage(int index)
-
-
Returns the error message of the Throwable in the chain of Throwables at the - specified index, numbered from 0.
-
-
-
-
Parameters:
index - the index of the Throwable in the chain of Throwables
Returns:
the error message, or null if the Throwable at the specified index in the chain does not - contain a message
Throws:
IndexOutOfBoundsException - if the index argument is negative or not less than the count of Throwables - in the chain
Since:
2.0
-
-
-
-
- -

-getMessage

-
-public String getMessage(String baseMsg)
-
-
Returns the full message contained by the Nestable and any nested Throwables.
-
-
-
-
Parameters:
baseMsg - the base message to use when creating the full message. Should be generally be called via - nestableHelper.getMessage(super.getMessage()), where super is an - instance of Throwable.
Returns:
The concatenated message for this and all nested Throwables
Since:
2.0
-
-
-
-
- -

-getMessages

-
-public String[] getMessages()
-
-
Returns the error message of this and any nested Throwables in an array of Strings, one element - for each message. Any Throwable not containing a message is represented in the array by a null. - This has the effect of cause the length of the returned array to be equal to the result of the - getThrowableCount() operation.
-
-
-
-
Returns:
the error messages
Since:
2.0
-
-
-
-
- -

-getThrowable

-
-public Throwable getThrowable(int index)
-
-
Returns the Throwable in the chain of - Throwables at the specified index, numbered from 0.
-
-
-
-
Parameters:
index - the index, numbered from 0, of the Throwable in - the chain of Throwables
Returns:
the Throwable
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
Since:
2.0
-
-
-
-
- -

-getThrowableCount

-
-public int getThrowableCount()
-
-
Returns the number of Throwables contained in the - Nestable contained by this delegate.
-
-
-
-
Returns:
the throwable count
Since:
2.0
-
-
-
-
- -

-getThrowables

-
-public Throwable[] getThrowables()
-
-
Returns this delegate's Nestable and any nested - Throwables in an array of Throwables, one - element for each Throwable.
-
-
-
-
Returns:
the Throwables
Since:
2.0
-
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type,
-                            int fromIndex)
-
-
Returns the index, numbered from 0, of the first Throwable - that matches the specified type, or a subclass, in the chain of Throwables - with an index greater than or equal to the specified index. - The method returns -1 if the specified type is not found in the chain. -

- NOTE: From v2.1, we have clarified the Nestable interface - such that this method matches subclasses. - If you want to NOT match subclasses, please use - ExceptionUtils.indexOfThrowable(Throwable, Class, int) - (which is avaiable in all versions of lang). - An alternative is to use the public static flag matchSubclasses - on NestableDelegate, however this is not recommended.

-
-
-
-
Parameters:
type - the type to find, subclasses match, null returns -1
fromIndex - the index, numbered from 0, of the starting position in - the chain to be searched
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
Throws:
IndexOutOfBoundsException - if the fromIndex argument - is negative or not less than the count of Throwables in the - chain
Since:
2.0
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace()
-
-
Prints the stack trace of this exception the the standar error - stream.
-
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintStream out)
-
-
Prints the stack trace of this exception to the specified - stream.
-
-
-
-
Parameters:
out - PrintStream to use for output.
See Also:
printStackTrace(PrintWriter)
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintWriter out)
-
-
Prints the stack trace of this exception to the specified - writer. If the Throwable class has a getCause - method (i.e. running on jre1.4 or higher), this method just - uses Throwable's printStackTrace() method. Otherwise, generates - the stack-trace, by taking into account the 'topDown' and - 'trimStackFrames' parameters. The topDown and trimStackFrames - are set to 'true' by default (produces jre1.4-like stack trace).
-
-
-
-
Parameters:
out - PrintWriter to use for output.
-
-
-
- -

-getStackFrames

-
-protected String[] getStackFrames(Throwable t)
-
-
Captures the stack trace associated with the specified - Throwable object, decomposing it into a list of - stack frames.
-
-
-
-
Parameters:
t - The Throwable.
Returns:
An array of strings describing each stack frame.
Since:
2.0
-
-
-
-
- -

-trimStackFrames

-
-protected void trimStackFrames(List stacks)
-
-
Trims the stack frames. The first set is left untouched. The rest - of the frames are truncated from the bottom by comparing with - one just on top.
-
-
-
-
Parameters:
stacks - The list containing String[] elements
Since:
2.0
-
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableError.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableError.html deleted file mode 100644 index 3dab16d7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableError.html +++ /dev/null @@ -1,619 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NestableError - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.exception -
-Class NestableError

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Error
-              |
-              +--org.apache.commons.lang.exception.NestableError
-
-
-
All Implemented Interfaces:
Nestable, Serializable
-
-
-
-
public class NestableError
extends Error
implements Nestable
- -

-The base class of all errors which can contain other exceptions. -

-

-
Since:
1.0
-
Version:
$Id: NestableError.java 491650 2007-01-01 22:00:14Z ggregory $
-
Author:
Daniel Rall
-
See Also:
NestableException, Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  NestableDelegatedelegate - -
-          The helper instance which contains much of the code which we - delegate to.
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NestableError() - -
-          Constructs a new NestableError without specified - detail message.
NestableError(String msg) - -
-          Constructs a new NestableError with specified - detail message.
NestableError(String msg, - Throwable cause) - -
-          Constructs a new NestableError with specified - detail message and nested Throwable.
NestableError(Throwable cause) - -
-          Constructs a new NestableError with specified - nested Throwable.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ThrowablegetCause() - -
-          {@inheritDoc}
- StringgetMessage() - -
-          Returns the detail message string of this throwable.
- StringgetMessage(int index) - -
-          {@inheritDoc}
- String[]getMessages() - -
-          {@inheritDoc}
- ThrowablegetThrowable(int index) - -
-          {@inheritDoc}
- intgetThrowableCount() - -
-          {@inheritDoc}
- Throwable[]getThrowables() - -
-          {@inheritDoc}
- intindexOfThrowable(Class type) - -
-          {@inheritDoc}
- intindexOfThrowable(Class type, - int fromIndex) - -
-          {@inheritDoc}
- voidprintPartialStackTrace(PrintWriter out) - -
-          {@inheritDoc}
- voidprintStackTrace() - -
-          {@inheritDoc}
- voidprintStackTrace(PrintStream out) - -
-          {@inheritDoc}
- voidprintStackTrace(PrintWriter out) - -
-          {@inheritDoc}
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-delegate

-
-protected NestableDelegate delegate
-
-
The helper instance which contains much of the code which we - delegate to.
- - - - - - - - -
-Constructor Detail
- -

-NestableError

-
-public NestableError()
-
-
Constructs a new NestableError without specified - detail message.
-
- -

-NestableError

-
-public NestableError(String msg)
-
-
Constructs a new NestableError with specified - detail message.
-
Parameters:
msg - The error message.
-
-
-
- -

-NestableError

-
-public NestableError(Throwable cause)
-
-
Constructs a new NestableError with specified - nested Throwable.
-
Parameters:
cause - the exception or error that caused this exception to be - thrown
-
-
-
- -

-NestableError

-
-public NestableError(String msg,
-                     Throwable cause)
-
-
Constructs a new NestableError with specified - detail message and nested Throwable.
-
Parameters:
msg - the error message
cause - the exception or error that caused this exception to be - thrown
-
-
- - - - - - - - -
-Method Detail
- -

-getCause

-
-public Throwable getCause()
-
-
{@inheritDoc}
-
Specified by:
getCause in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
throwable that caused the original exception
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
Returns the detail message string of this throwable. If it was - created with a null message, returns the following: - (cause==null ? null : cause.toString()).
-
Specified by:
getMessage in interface Nestable
Overrides:
getMessage in class Throwable
-
-
-
Returns:
String message string of the throwable
-
-
-
- -

-getMessage

-
-public String getMessage(int index)
-
-
{@inheritDoc}
-
Specified by:
getMessage in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
index - the index of the Throwable in the chain of - Throwables
Returns:
the error message, or null if the Throwable at the - specified index in the chain does not contain a message
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getMessages

-
-public String[] getMessages()
-
-
{@inheritDoc}
-
Specified by:
getMessages in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the error messages
-
-
-
- -

-getThrowable

-
-public Throwable getThrowable(int index)
-
-
{@inheritDoc}
-
Specified by:
getThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
index - the index, numbered from 0, of the Throwable in - the chain of Throwables
Returns:
the Throwable
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getThrowableCount

-
-public int getThrowableCount()
-
-
{@inheritDoc}
-
Specified by:
getThrowableCount in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the throwable count
-
-
-
- -

-getThrowables

-
-public Throwable[] getThrowables()
-
-
{@inheritDoc}
-
Specified by:
getThrowables in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the Throwables
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type)
-
-
{@inheritDoc}
-
Specified by:
indexOfThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
type - the type to find, subclasses match, null returns -1
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type,
-                            int fromIndex)
-
-
{@inheritDoc}
-
Specified by:
indexOfThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
type - the type to find, subclasses match, null returns -1
fromIndex - the index, numbered from 0, of the starting position in - the chain to be searched
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
Throws:
IndexOutOfBoundsException - if the fromIndex argument - is negative or not less than the count of Throwables in the - chain
-
-
-
- -

-printStackTrace

-
-public void printStackTrace()
-
-
{@inheritDoc}
-
Overrides:
printStackTrace in class Throwable
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintStream out)
-
-
{@inheritDoc}
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - PrintStream to use for output.
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintWriter out)
-
-
{@inheritDoc}
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - PrintWriter to use for output.
-
-
-
- -

-printPartialStackTrace

-
-public final void printPartialStackTrace(PrintWriter out)
-
-
{@inheritDoc}
-
Specified by:
printPartialStackTrace in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - The writer to use.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableException.html deleted file mode 100644 index db2c10a1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableException.html +++ /dev/null @@ -1,677 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NestableException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.exception -
-Class NestableException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--org.apache.commons.lang.exception.NestableException
-
-
-
All Implemented Interfaces:
Nestable, Serializable
-
-
-
-
public class NestableException
extends Exception
implements Nestable
- -

-The base class of all exceptions which can contain other exceptions. - - It is intended to ease the debugging by carrying on the information - about the exception which was caught and provoked throwing the - current exception. Catching and rethrowing may occur multiple - times, and provided that all exceptions except the first one - are descendants of NestedException, when the - exception is finally printed out using any of the - printStackTrace() methods, the stack trace will contain - the information about all exceptions thrown and caught on - the way. -

Running the following program -

-  1 import org.apache.commons.lang.exception.NestableException;
-  2
-  3 public class Test {
-  4     public static void main( String[] args ) {
-  5         try {
-  6             a();
-  7         } catch(Exception e) {
-  8             e.printStackTrace();
-  9         }
- 10      }
- 11
- 12      public static void a() throws Exception {
- 13          try {
- 14              b();
- 15          } catch(Exception e) {
- 16              throw new NestableException("foo", e);
- 17          }
- 18      }
- 19
- 20      public static void b() throws Exception {
- 21          try {
- 22              c();
- 23          } catch(Exception e) {
- 24              throw new NestableException("bar", e);
- 25          }
- 26      }
- 27
- 28      public static void c() throws Exception {
- 29          throw new Exception("baz");
- 30      }
- 31 }
- 
-

Yields the following stack trace: -

- org.apache.commons.lang.exception.NestableException: foo
-         at Test.a(Test.java:16)
-         at Test.main(Test.java:6)
- Caused by: org.apache.commons.lang.exception.NestableException: bar
-         at Test.b(Test.java:24)
-         at Test.a(Test.java:14)
-         ... 1 more
- Caused by: java.lang.Exception: baz
-         at Test.c(Test.java:29)
-         at Test.b(Test.java:22)
-         ... 2 more
- 

-

-

-
Since:
1.0
-
Version:
$Id: NestableException.java 491651 2007-01-01 22:01:32Z ggregory $
-
Author:
Rafal Krzewski, Daniel Rall, Kasper Nielsen, Steven Caswell
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  NestableDelegatedelegate - -
-          The helper instance which contains much of the code which we - delegate to.
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NestableException() - -
-          Constructs a new NestableException without specified - detail message.
NestableException(String msg) - -
-          Constructs a new NestableException with specified - detail message.
NestableException(String msg, - Throwable cause) - -
-          Constructs a new NestableException with specified - detail message and nested Throwable.
NestableException(Throwable cause) - -
-          Constructs a new NestableException with specified - nested Throwable.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ThrowablegetCause() - -
-          {@inheritDoc}
- StringgetMessage() - -
-          Returns the detail message string of this throwable.
- StringgetMessage(int index) - -
-          {@inheritDoc}
- String[]getMessages() - -
-          {@inheritDoc}
- ThrowablegetThrowable(int index) - -
-          {@inheritDoc}
- intgetThrowableCount() - -
-          {@inheritDoc}
- Throwable[]getThrowables() - -
-          {@inheritDoc}
- intindexOfThrowable(Class type) - -
-          {@inheritDoc}
- intindexOfThrowable(Class type, - int fromIndex) - -
-          {@inheritDoc}
- voidprintPartialStackTrace(PrintWriter out) - -
-          {@inheritDoc}
- voidprintStackTrace() - -
-          {@inheritDoc}
- voidprintStackTrace(PrintStream out) - -
-          {@inheritDoc}
- voidprintStackTrace(PrintWriter out) - -
-          {@inheritDoc}
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-delegate

-
-protected NestableDelegate delegate
-
-
The helper instance which contains much of the code which we - delegate to.
- - - - - - - - -
-Constructor Detail
- -

-NestableException

-
-public NestableException()
-
-
Constructs a new NestableException without specified - detail message.
-
- -

-NestableException

-
-public NestableException(String msg)
-
-
Constructs a new NestableException with specified - detail message.
-
Parameters:
msg - The error message.
-
-
-
- -

-NestableException

-
-public NestableException(Throwable cause)
-
-
Constructs a new NestableException with specified - nested Throwable.
-
Parameters:
cause - the exception or error that caused this exception to be - thrown
-
-
-
- -

-NestableException

-
-public NestableException(String msg,
-                         Throwable cause)
-
-
Constructs a new NestableException with specified - detail message and nested Throwable.
-
Parameters:
msg - the error message
cause - the exception or error that caused this exception to be - thrown
-
-
- - - - - - - - -
-Method Detail
- -

-getCause

-
-public Throwable getCause()
-
-
{@inheritDoc}
-
Specified by:
getCause in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
throwable that caused the original exception
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
Returns the detail message string of this throwable. If it was - created with a null message, returns the following: - (cause==null ? null : cause.toString()).
-
Specified by:
getMessage in interface Nestable
Overrides:
getMessage in class Throwable
-
-
-
Returns:
String message string of the throwable
-
-
-
- -

-getMessage

-
-public String getMessage(int index)
-
-
{@inheritDoc}
-
Specified by:
getMessage in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
index - the index of the Throwable in the chain of - Throwables
Returns:
the error message, or null if the Throwable at the - specified index in the chain does not contain a message
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getMessages

-
-public String[] getMessages()
-
-
{@inheritDoc}
-
Specified by:
getMessages in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the error messages
-
-
-
- -

-getThrowable

-
-public Throwable getThrowable(int index)
-
-
{@inheritDoc}
-
Specified by:
getThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
index - the index, numbered from 0, of the Throwable in - the chain of Throwables
Returns:
the Throwable
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getThrowableCount

-
-public int getThrowableCount()
-
-
{@inheritDoc}
-
Specified by:
getThrowableCount in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the throwable count
-
-
-
- -

-getThrowables

-
-public Throwable[] getThrowables()
-
-
{@inheritDoc}
-
Specified by:
getThrowables in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the Throwables
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type)
-
-
{@inheritDoc}
-
Specified by:
indexOfThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
type - the type to find, subclasses match, null returns -1
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type,
-                            int fromIndex)
-
-
{@inheritDoc}
-
Specified by:
indexOfThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
type - the type to find, subclasses match, null returns -1
fromIndex - the index, numbered from 0, of the starting position in - the chain to be searched
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
Throws:
IndexOutOfBoundsException - if the fromIndex argument - is negative or not less than the count of Throwables in the - chain
-
-
-
- -

-printStackTrace

-
-public void printStackTrace()
-
-
{@inheritDoc}
-
Overrides:
printStackTrace in class Throwable
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintStream out)
-
-
{@inheritDoc}
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - PrintStream to use for output.
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintWriter out)
-
-
{@inheritDoc}
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - PrintWriter to use for output.
-
-
-
- -

-printPartialStackTrace

-
-public final void printPartialStackTrace(PrintWriter out)
-
-
{@inheritDoc}
-
Specified by:
printPartialStackTrace in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - The writer to use.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableRuntimeException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableRuntimeException.html deleted file mode 100644 index 11e10796..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/NestableRuntimeException.html +++ /dev/null @@ -1,625 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NestableRuntimeException - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.exception -
-Class NestableRuntimeException

-
-java.lang.Object
-  |
-  +--java.lang.Throwable
-        |
-        +--java.lang.Exception
-              |
-              +--java.lang.RuntimeException
-                    |
-                    +--org.apache.commons.lang.exception.NestableRuntimeException
-
-
-
All Implemented Interfaces:
Nestable, Serializable
-
-
-
Direct Known Subclasses:
SerializationException, UnhandledException
-
-
-
-
public class NestableRuntimeException
extends RuntimeException
implements Nestable
- -

-The base class of all runtime exceptions which can contain other - exceptions. -

-

-
Since:
1.0
-
Version:
$Id: NestableRuntimeException.java 491652 2007-01-01 22:01:57Z ggregory $
-
Author:
Rafal Krzewski, Daniel Rall, Kasper Nielsen, Steven Caswell
-
See Also:
NestableException, Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  NestableDelegatedelegate - -
-          The helper instance which contains much of the code which we - delegate to.
-  - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NestableRuntimeException() - -
-          Constructs a new NestableRuntimeException without specified - detail message.
NestableRuntimeException(String msg) - -
-          Constructs a new NestableRuntimeException with specified - detail message.
NestableRuntimeException(String msg, - Throwable cause) - -
-          Constructs a new NestableRuntimeException with specified - detail message and nested Throwable.
NestableRuntimeException(Throwable cause) - -
-          Constructs a new NestableRuntimeException with specified - nested Throwable.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ThrowablegetCause() - -
-          {@inheritDoc}
- StringgetMessage() - -
-          Returns the detail message string of this throwable.
- StringgetMessage(int index) - -
-          {@inheritDoc}
- String[]getMessages() - -
-          {@inheritDoc}
- ThrowablegetThrowable(int index) - -
-          {@inheritDoc}
- intgetThrowableCount() - -
-          {@inheritDoc}
- Throwable[]getThrowables() - -
-          {@inheritDoc}
- intindexOfThrowable(Class type) - -
-          {@inheritDoc}
- intindexOfThrowable(Class type, - int fromIndex) - -
-          {@inheritDoc}
- voidprintPartialStackTrace(PrintWriter out) - -
-          {@inheritDoc}
- voidprintStackTrace() - -
-          {@inheritDoc}
- voidprintStackTrace(PrintStream out) - -
-          {@inheritDoc}
- voidprintStackTrace(PrintWriter out) - -
-          {@inheritDoc}
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-delegate

-
-protected NestableDelegate delegate
-
-
The helper instance which contains much of the code which we - delegate to.
- - - - - - - - -
-Constructor Detail
- -

-NestableRuntimeException

-
-public NestableRuntimeException()
-
-
Constructs a new NestableRuntimeException without specified - detail message.
-
- -

-NestableRuntimeException

-
-public NestableRuntimeException(String msg)
-
-
Constructs a new NestableRuntimeException with specified - detail message.
-
Parameters:
msg - the error message
-
-
-
- -

-NestableRuntimeException

-
-public NestableRuntimeException(Throwable cause)
-
-
Constructs a new NestableRuntimeException with specified - nested Throwable.
-
Parameters:
cause - the exception or error that caused this exception to be - thrown
-
-
-
- -

-NestableRuntimeException

-
-public NestableRuntimeException(String msg,
-                                Throwable cause)
-
-
Constructs a new NestableRuntimeException with specified - detail message and nested Throwable.
-
Parameters:
msg - the error message
cause - the exception or error that caused this exception to be - thrown
-
-
- - - - - - - - -
-Method Detail
- -

-getCause

-
-public Throwable getCause()
-
-
{@inheritDoc}
-
Specified by:
getCause in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
throwable that caused the original exception
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
Returns the detail message string of this throwable. If it was - created with a null message, returns the following: - (cause==null ? null : cause.toString()).
-
Specified by:
getMessage in interface Nestable
Overrides:
getMessage in class Throwable
-
-
-
Returns:
String message string of the throwable
-
-
-
- -

-getMessage

-
-public String getMessage(int index)
-
-
{@inheritDoc}
-
Specified by:
getMessage in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
index - the index of the Throwable in the chain of - Throwables
Returns:
the error message, or null if the Throwable at the - specified index in the chain does not contain a message
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getMessages

-
-public String[] getMessages()
-
-
{@inheritDoc}
-
Specified by:
getMessages in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the error messages
-
-
-
- -

-getThrowable

-
-public Throwable getThrowable(int index)
-
-
{@inheritDoc}
-
Specified by:
getThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
index - the index, numbered from 0, of the Throwable in - the chain of Throwables
Returns:
the Throwable
Throws:
IndexOutOfBoundsException - if the index argument is - negative or not less than the count of Throwables in the - chain
-
-
-
- -

-getThrowableCount

-
-public int getThrowableCount()
-
-
{@inheritDoc}
-
Specified by:
getThrowableCount in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the throwable count
-
-
-
- -

-getThrowables

-
-public Throwable[] getThrowables()
-
-
{@inheritDoc}
-
Specified by:
getThrowables in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Returns:
the Throwables
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type)
-
-
{@inheritDoc}
-
Specified by:
indexOfThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
type - the type to find, subclasses match, null returns -1
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
-
-
-
- -

-indexOfThrowable

-
-public int indexOfThrowable(Class type,
-                            int fromIndex)
-
-
{@inheritDoc}
-
Specified by:
indexOfThrowable in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
type - the type to find, subclasses match, null returns -1
fromIndex - the index, numbered from 0, of the starting position in - the chain to be searched
Returns:
index of the first occurrence of the type in the chain, or -1 if - the type is not found
Throws:
IndexOutOfBoundsException - if the fromIndex argument - is negative or not less than the count of Throwables in the - chain
-
-
-
- -

-printStackTrace

-
-public void printStackTrace()
-
-
{@inheritDoc}
-
Overrides:
printStackTrace in class Throwable
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintStream out)
-
-
{@inheritDoc}
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - PrintStream to use for output.
-
-
-
- -

-printStackTrace

-
-public void printStackTrace(PrintWriter out)
-
-
{@inheritDoc}
-
Specified by:
printStackTrace in interface Nestable
Overrides:
printStackTrace in class Throwable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - PrintWriter to use for output.
-
-
-
- -

-printPartialStackTrace

-
-public final void printPartialStackTrace(PrintWriter out)
-
-
{@inheritDoc}
-
Specified by:
printPartialStackTrace in interface Nestable
-
-
Following copied from interface: org.apache.commons.lang.exception.Nestable
-
-
Parameters:
out - The writer to use.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/ExceptionUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/ExceptionUtils.html deleted file mode 100644 index 22c83902..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/ExceptionUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.exception.ExceptionUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.exception.ExceptionUtils

-
-No usage of org.apache.commons.lang.exception.ExceptionUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/Nestable.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/Nestable.html deleted file mode 100644 index abcb2722..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/Nestable.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Interface org.apache.commons.lang.exception.Nestable - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Interface
org.apache.commons.lang.exception.Nestable

-
- - - - - - - - - - - - - -
-Packages that use Nestable
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
org.apache.commons.lang.exceptionProvides JDK 1.4 style Nested Exception functionality for those on prior Java -versions. 
-  -

- - - - - -
-Uses of Nestable in org.apache.commons.lang
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.apache.commons.lang that implement Nestable
- classNotImplementedException - -
-          Thrown to indicate that a block of code has not been implemented.
- classSerializationException - -
-          Exception thrown when the Serialization process fails.
- classUnhandledException - -
-          Thrown when it is impossible or undesirable to consume or throw a checked exception.
-  -

- - - - - -
-Uses of Nestable in org.apache.commons.lang.exception
-  -

- - - - - - - - - - - - - - - - - -
Classes in org.apache.commons.lang.exception that implement Nestable
- classNestableError - -
-          The base class of all errors which can contain other exceptions.
- classNestableException - -
-          The base class of all exceptions which can contain other exceptions.
- classNestableRuntimeException - -
-          The base class of all runtime exceptions which can contain other - exceptions.
-  -

- - - - - - - - -
Constructors in org.apache.commons.lang.exception with parameters of type Nestable
NestableDelegate(Nestable nestable) - -
-          Constructs a new NestableDelegate instance to manage the - specified Nestable.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableDelegate.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableDelegate.html deleted file mode 100644 index e2b794dd..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableDelegate.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.exception.NestableDelegate - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.exception.NestableDelegate

-
- - - - - - - - - -
-Packages that use NestableDelegate
org.apache.commons.lang.exceptionProvides JDK 1.4 style Nested Exception functionality for those on prior Java -versions. 
-  -

- - - - - -
-Uses of NestableDelegate in org.apache.commons.lang.exception
-  -

- - - - - - - - - - - - - - - - - -
Fields in org.apache.commons.lang.exception declared as NestableDelegate
-protected  NestableDelegateNestableRuntimeException.delegate - -
-          The helper instance which contains much of the code which we - delegate to.
-protected  NestableDelegateNestableError.delegate - -
-          The helper instance which contains much of the code which we - delegate to.
-protected  NestableDelegateNestableException.delegate - -
-          The helper instance which contains much of the code which we - delegate to.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableError.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableError.html deleted file mode 100644 index 8a8114b9..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableError.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.exception.NestableError - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.exception.NestableError

-
-No usage of org.apache.commons.lang.exception.NestableError -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableException.html deleted file mode 100644 index 6657cc30..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableException.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.exception.NestableException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.exception.NestableException

-
-No usage of org.apache.commons.lang.exception.NestableException -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableRuntimeException.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableRuntimeException.html deleted file mode 100644 index fe53951b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/class-use/NestableRuntimeException.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.exception.NestableRuntimeException - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.exception.NestableRuntimeException

-
- - - - - - - - - -
-Packages that use NestableRuntimeException
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
-  -

- - - - - -
-Uses of NestableRuntimeException in org.apache.commons.lang
-  -

- - - - - - - - - - - - - -
Subclasses of NestableRuntimeException in org.apache.commons.lang
- classSerializationException - -
-          Exception thrown when the Serialization process fails.
- classUnhandledException - -
-          Thrown when it is impossible or undesirable to consume or throw a checked exception.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-frame.html deleted file mode 100644 index 8f3f8e9b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-frame.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.exception - - - - - -org.apache.commons.lang.exception - - - - -
-Interfaces  - -
-Nestable
- - - - - - -
-Classes  - -
-ExceptionUtils -
-NestableDelegate
- - - - - - -
-Exceptions  - -
-NestableException -
-NestableRuntimeException
- - - - - - -
-Errors  - -
-NestableError
- - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-summary.html deleted file mode 100644 index 507be740..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-summary.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.exception - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package org.apache.commons.lang.exception -

-Provides JDK 1.4 style Nested Exception functionality for those on prior Java -versions. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
NestableAn interface to be implemented by Throwable - extensions which would like to be able to nest root exceptions - inside themselves.
-  - -

- - - - - - - - - - - - - -
-Class Summary
ExceptionUtilsProvides utilities for manipulating and examining - Throwable objects.
NestableDelegateA shared implementation of the nestable exception functionality.
-  - -

- - - - - - - - - - - - - -
-Exception Summary
NestableExceptionThe base class of all exceptions which can contain other exceptions.
NestableRuntimeExceptionThe base class of all runtime exceptions which can contain other - exceptions.
-  - -

- - - - - - - - - -
-Error Summary
NestableErrorThe base class of all errors which can contain other exceptions.
-  - -

-

-Package org.apache.commons.lang.exception Description -

- -

-Provides JDK 1.4 style Nested Exception functionality for those on prior Java -versions. -

Includes a static utility to create version independent Nested -Exception which can handle JDK 1.4 Exceptions as well as others.

-

Lastly, ExceptionUtils -also contains Throwable manipulation and examination routines.

-

-

-
Since:
1.0
-
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-tree.html deleted file mode 100644 index db4fbb8d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-tree.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.exception Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package org.apache.commons.lang.exception -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

-
    -
  • interface org.apache.commons.lang.exception.Nestable
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-use.html deleted file mode 100644 index 5d0c30d0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/exception/package-use.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.exception - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Package
org.apache.commons.lang.exception

-
- - - - - - - - - - - - - -
-Packages that use org.apache.commons.lang.exception
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
org.apache.commons.lang.exceptionProvides JDK 1.4 style Nested Exception functionality for those on prior Java -versions. 
-  -

- - - - - - - - - - - -
-Classes in org.apache.commons.lang.exception used by org.apache.commons.lang
Nestable - -
-          An interface to be implemented by Throwable - extensions which would like to be able to nest root exceptions - inside themselves.
NestableRuntimeException - -
-          The base class of all runtime exceptions which can contain other - exceptions.
-  -

- - - - - - - - - - - -
-Classes in org.apache.commons.lang.exception used by org.apache.commons.lang.exception
Nestable - -
-          An interface to be implemented by Throwable - extensions which would like to be able to nest root exceptions - inside themselves.
NestableDelegate - -
-          A shared implementation of the nestable exception functionality.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/DoubleRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/DoubleRange.html deleted file mode 100644 index c28dad96..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/DoubleRange.html +++ /dev/null @@ -1,694 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class DoubleRange - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class DoubleRange

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.Range
-        |
-        +--org.apache.commons.lang.math.DoubleRange
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class DoubleRange
extends Range
implements Serializable
- -

-

DoubleRange represents an inclusive range of doubles.

-

-

-
Since:
2.0
-
Version:
$Id: DoubleRange.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
DoubleRange(double number) - -
-          Constructs a new DoubleRange using the specified - number as both the minimum and maximum in this range.
DoubleRange(double number1, - double number2) - -
-          Constructs a new DoubleRange with the specified - minimum and maximum numbers (both inclusive).
DoubleRange(Number number) - -
-          Constructs a new DoubleRange using the specified - number as both the minimum and maximum in this range.
DoubleRange(Number number1, - Number number2) - -
-          Constructs a new DoubleRange with the specified - minimum and maximum numbers (both inclusive).
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontainsDouble(double value) - -
-          Tests whether the specified double occurs within - this range using double comparison.
- booleancontainsNumber(Number number) - -
-          Tests whether the specified number occurs within - this range using double comparison.
- booleancontainsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using double comparison.
- booleanequals(Object obj) - -
-          Compares this range to another object to test if they are equal.
- doublegetMaximumDouble() - -
-          Gets the maximum number in this range as a double.
- floatgetMaximumFloat() - -
-          Gets the maximum number in this range as a float.
- intgetMaximumInteger() - -
-          Gets the maximum number in this range as a int.
- longgetMaximumLong() - -
-          Gets the maximum number in this range as a long.
- NumbergetMaximumNumber() - -
-          Returns the maximum number in this range.
- doublegetMinimumDouble() - -
-          Gets the minimum number in this range as a double.
- floatgetMinimumFloat() - -
-          Gets the minimum number in this range as a float.
- intgetMinimumInteger() - -
-          Gets the minimum number in this range as a int.
- longgetMinimumLong() - -
-          Gets the minimum number in this range as a long.
- NumbergetMinimumNumber() - -
-          Returns the minimum number in this range.
- inthashCode() - -
-          Gets a hashCode for the range.
- booleanoverlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using double comparison.
- StringtoString() - -
-          Gets the range as a String.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.math.Range
containsDouble, containsFloat, containsFloat, containsInteger, containsInteger, containsLong, containsLong
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-DoubleRange

-
-public DoubleRange(double number)
-
-

Constructs a new DoubleRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range
Throws:
IllegalArgumentException - if the number is NaN
-
-
-
- -

-DoubleRange

-
-public DoubleRange(Number number)
-
-

Constructs a new DoubleRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range, must not - be null
Throws:
IllegalArgumentException - if the number is null
IllegalArgumentException - if the number is NaN
-
-
-
- -

-DoubleRange

-
-public DoubleRange(double number1,
-                   double number2)
-
-

Constructs a new DoubleRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
Throws:
IllegalArgumentException - if either number is NaN
-
-
-
- -

-DoubleRange

-
-public DoubleRange(Number number1,
-                   Number number2)
-
-

Constructs a new DoubleRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
Throws:
IllegalArgumentException - if either number is null
IllegalArgumentException - if either number is NaN
-
-
- - - - - - - - -
-Method Detail
- -

-getMinimumNumber

-
-public Number getMinimumNumber()
-
-

Returns the minimum number in this range.

-
Overrides:
getMinimumNumber in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumLong

-
-public long getMinimumLong()
-
-

Gets the minimum number in this range as a long.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMinimumLong in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumInteger

-
-public int getMinimumInteger()
-
-

Gets the minimum number in this range as a int.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMinimumInteger in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumDouble

-
-public double getMinimumDouble()
-
-

Gets the minimum number in this range as a double.

-
Overrides:
getMinimumDouble in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumFloat

-
-public float getMinimumFloat()
-
-

Gets the minimum number in this range as a float.

- -

This conversion can lose information for large values.

-
Overrides:
getMinimumFloat in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMaximumNumber

-
-public Number getMaximumNumber()
-
-

Returns the maximum number in this range.

-
Overrides:
getMaximumNumber in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumLong

-
-public long getMaximumLong()
-
-

Gets the maximum number in this range as a long.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMaximumLong in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumInteger

-
-public int getMaximumInteger()
-
-

Gets the maximum number in this range as a int.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMaximumInteger in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumDouble

-
-public double getMaximumDouble()
-
-

Gets the maximum number in this range as a double.

-
Overrides:
getMaximumDouble in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumFloat

-
-public float getMaximumFloat()
-
-

Gets the maximum number in this range as a float.

- -

This conversion can lose information for large values.

-
Overrides:
getMaximumFloat in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-containsNumber

-
-public boolean containsNumber(Number number)
-
-

Tests whether the specified number occurs within - this range using double comparison.

- -

null is handled and returns false.

-
Overrides:
containsNumber in class Range
-
-
-
Parameters:
number - the number to test, may be null
Returns:
true if the specified number occurs within this range
-
-
-
- -

-containsDouble

-
-public boolean containsDouble(double value)
-
-

Tests whether the specified double occurs within - this range using double comparison.

- -

This implementation overrides the superclass for performance as it is - the most common case.

-
Overrides:
containsDouble in class Range
-
-
-
Parameters:
value - the double to test
Returns:
true if the specified number occurs within this - range by double comparison
-
-
-
- -

-containsRange

-
-public boolean containsRange(Range range)
-
-

Tests whether the specified range occurs entirely within this range - using double comparison.

- -

null is handled and returns false.

-
Overrides:
containsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range occurs entirely within this range
Throws:
IllegalArgumentException - if the range is not of this type
-
-
-
- -

-overlapsRange

-
-public boolean overlapsRange(Range range)
-
-

Tests whether the specified range overlaps with this range - using double comparison.

- -

null is handled and returns false.

-
Overrides:
overlapsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range overlaps with this range
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares this range to another object to test if they are equal.

. - -

To be equal, the class, minimum and maximum must be equal.

-
Overrides:
equals in class Range
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode for the range.

-
Overrides:
hashCode in class Range
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets the range as a String.

- -

The format of the String is 'Range[min,max]'.

-
Overrides:
toString in class Range
-
-
-
Returns:
the String representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/FloatRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/FloatRange.html deleted file mode 100644 index affa548f..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/FloatRange.html +++ /dev/null @@ -1,690 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class FloatRange - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class FloatRange

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.Range
-        |
-        +--org.apache.commons.lang.math.FloatRange
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class FloatRange
extends Range
implements Serializable
- -

-

FloatRange represents an inclusive range of floats.

-

-

-
Since:
2.0
-
Version:
$Id: FloatRange.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
FloatRange(float number) - -
-          Constructs a new FloatRange using the specified - number as both the minimum and maximum in this range.
FloatRange(float number1, - float number2) - -
-          Constructs a new FloatRange with the specified - minimum and maximum numbers (both inclusive).
FloatRange(Number number) - -
-          Constructs a new FloatRange using the specified - number as both the minimum and maximum in this range.
FloatRange(Number number1, - Number number2) - -
-          Constructs a new FloatRange with the specified - minimum and maximum numbers (both inclusive).
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontainsFloat(float value) - -
-          Tests whether the specified float occurs within - this range using float comparison.
- booleancontainsNumber(Number number) - -
-          Tests whether the specified number occurs within - this range using float comparison.
- booleancontainsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using float comparison.
- booleanequals(Object obj) - -
-          Compares this range to another object to test if they are equal.
- doublegetMaximumDouble() - -
-          Gets the maximum number in this range as a double.
- floatgetMaximumFloat() - -
-          Gets the maximum number in this range as a float.
- intgetMaximumInteger() - -
-          Gets the maximum number in this range as a int.
- longgetMaximumLong() - -
-          Gets the maximum number in this range as a long.
- NumbergetMaximumNumber() - -
-          Returns the maximum number in this range.
- doublegetMinimumDouble() - -
-          Gets the minimum number in this range as a double.
- floatgetMinimumFloat() - -
-          Gets the minimum number in this range as a float.
- intgetMinimumInteger() - -
-          Gets the minimum number in this range as a int.
- longgetMinimumLong() - -
-          Gets the minimum number in this range as a long.
- NumbergetMinimumNumber() - -
-          Returns the minimum number in this range.
- inthashCode() - -
-          Gets a hashCode for the range.
- booleanoverlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using float comparison.
- StringtoString() - -
-          Gets the range as a String.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.math.Range
containsDouble, containsDouble, containsFloat, containsInteger, containsInteger, containsLong, containsLong
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-FloatRange

-
-public FloatRange(float number)
-
-

Constructs a new FloatRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range
Throws:
IllegalArgumentException - if the number is NaN
-
-
-
- -

-FloatRange

-
-public FloatRange(Number number)
-
-

Constructs a new FloatRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range, must not - be null
Throws:
IllegalArgumentException - if the number is null
IllegalArgumentException - if the number is NaN
-
-
-
- -

-FloatRange

-
-public FloatRange(float number1,
-                  float number2)
-
-

Constructs a new FloatRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
Throws:
IllegalArgumentException - if either number is NaN
-
-
-
- -

-FloatRange

-
-public FloatRange(Number number1,
-                  Number number2)
-
-

Constructs a new FloatRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
Throws:
IllegalArgumentException - if either number is null
IllegalArgumentException - if either number is NaN
-
-
- - - - - - - - -
-Method Detail
- -

-getMinimumNumber

-
-public Number getMinimumNumber()
-
-

Returns the minimum number in this range.

-
Overrides:
getMinimumNumber in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumLong

-
-public long getMinimumLong()
-
-

Gets the minimum number in this range as a long.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMinimumLong in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumInteger

-
-public int getMinimumInteger()
-
-

Gets the minimum number in this range as a int.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMinimumInteger in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumDouble

-
-public double getMinimumDouble()
-
-

Gets the minimum number in this range as a double.

-
Overrides:
getMinimumDouble in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumFloat

-
-public float getMinimumFloat()
-
-

Gets the minimum number in this range as a float.

-
Overrides:
getMinimumFloat in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMaximumNumber

-
-public Number getMaximumNumber()
-
-

Returns the maximum number in this range.

-
Overrides:
getMaximumNumber in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumLong

-
-public long getMaximumLong()
-
-

Gets the maximum number in this range as a long.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMaximumLong in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumInteger

-
-public int getMaximumInteger()
-
-

Gets the maximum number in this range as a int.

- -

This conversion can lose information for large values or decimals.

-
Overrides:
getMaximumInteger in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumDouble

-
-public double getMaximumDouble()
-
-

Gets the maximum number in this range as a double.

-
Overrides:
getMaximumDouble in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumFloat

-
-public float getMaximumFloat()
-
-

Gets the maximum number in this range as a float.

-
Overrides:
getMaximumFloat in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-containsNumber

-
-public boolean containsNumber(Number number)
-
-

Tests whether the specified number occurs within - this range using float comparison.

- -

null is handled and returns false.

-
Overrides:
containsNumber in class Range
-
-
-
Parameters:
number - the number to test, may be null
Returns:
true if the specified number occurs within this range
-
-
-
- -

-containsFloat

-
-public boolean containsFloat(float value)
-
-

Tests whether the specified float occurs within - this range using float comparison.

- -

This implementation overrides the superclass for performance as it is - the most common case.

-
Overrides:
containsFloat in class Range
-
-
-
Parameters:
value - the float to test
Returns:
true if the specified number occurs within this - range by float comparison
-
-
-
- -

-containsRange

-
-public boolean containsRange(Range range)
-
-

Tests whether the specified range occurs entirely within this range - using float comparison.

- -

null is handled and returns false.

-
Overrides:
containsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range occurs entirely within this range
Throws:
IllegalArgumentException - if the range is not of this type
-
-
-
- -

-overlapsRange

-
-public boolean overlapsRange(Range range)
-
-

Tests whether the specified range overlaps with this range - using float comparison.

- -

null is handled and returns false.

-
Overrides:
overlapsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range overlaps with this range
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares this range to another object to test if they are equal.

. - -

To be equal, the class, minimum and maximum must be equal.

-
Overrides:
equals in class Range
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode for the range.

-
Overrides:
hashCode in class Range
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets the range as a String.

- -

The format of the String is 'Range[min,max]'.

-
Overrides:
toString in class Range
-
-
-
Returns:
the String representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/Fraction.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/Fraction.html deleted file mode 100644 index b030ca08..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/Fraction.html +++ /dev/null @@ -1,1087 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class Fraction - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class Fraction

-
-java.lang.Object
-  |
-  +--java.lang.Number
-        |
-        +--org.apache.commons.lang.math.Fraction
-
-
-
All Implemented Interfaces:
Comparable, Serializable
-
-
-
-
public final class Fraction
extends Number
implements Comparable
- -

-

Fraction is a Number implementation that - stores fractions accurately.

- -

This class is immutable, and interoperable with most methods that accept - a Number.

-

-

-
Since:
2.0
-
Version:
$Id: Fraction.java 489733 2006-12-22 19:29:53Z bayard $
-
Author:
Travis Reeder, Stephen Colebourne, Tim O'Brien, Pete Gieser, C. Scott Ananian
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static FractionFOUR_FIFTHS - -
-          Fraction representation of 4/5.
-static FractionONE - -
-          Fraction representation of 1.
-static FractionONE_FIFTH - -
-          Fraction representation of 1/5.
-static FractionONE_HALF - -
-          Fraction representation of 1/2.
-static FractionONE_QUARTER - -
-          Fraction representation of 1/4.
-static FractionONE_THIRD - -
-          Fraction representation of 1/3.
-static FractionTHREE_FIFTHS - -
-          Fraction representation of 3/5.
-static FractionTHREE_QUARTERS - -
-          Fraction representation of 3/4.
-static FractionTWO_FIFTHS - -
-          Fraction representation of 2/5.
-static FractionTWO_QUARTERS - -
-          Fraction representation of 2/4.
-static FractionTWO_THIRDS - -
-          Fraction representation of 2/3.
-static FractionZERO - -
-          Fraction representation of 0.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Fractionabs() - -
-          Gets a fraction that is the positive equivalent of this one.
- Fractionadd(Fraction fraction) - -
-          Adds the value of this fraction to another, returning the result in reduced form.
- intcompareTo(Object object) - -
-          Compares this object to another based on size.
- FractiondivideBy(Fraction fraction) - -
-          Divide the value of this fraction by another.
- doubledoubleValue() - -
-          Gets the fraction as a double.
- booleanequals(Object obj) - -
-          Compares this fraction to another object to test if they are equal.
- floatfloatValue() - -
-          Gets the fraction as a float.
- intgetDenominator() - -
-          Gets the denominator part of the fraction.
-static FractiongetFraction(double value) - -
-          Creates a Fraction instance from a double value.
-static FractiongetFraction(int numerator, - int denominator) - -
-          Creates a Fraction instance with the 2 parts - of a fraction Y/Z.
-static FractiongetFraction(int whole, - int numerator, - int denominator) - -
-          Creates a Fraction instance with the 3 parts - of a fraction X Y/Z.
-static FractiongetFraction(String str) - -
-          Creates a Fraction from a String.
- intgetNumerator() - -
-          Gets the numerator part of the fraction.
- intgetProperNumerator() - -
-          Gets the proper numerator, always positive.
- intgetProperWhole() - -
-          Gets the proper whole part of the fraction.
-static FractiongetReducedFraction(int numerator, - int denominator) - -
-          Creates a reduced Fraction instance with the 2 parts - of a fraction Y/Z.
- inthashCode() - -
-          Gets a hashCode for the fraction.
- intintValue() - -
-          Gets the fraction as an int.
- Fractioninvert() - -
-          Gets a fraction that is the inverse (1/fraction) of this one.
- longlongValue() - -
-          Gets the fraction as a long.
- FractionmultiplyBy(Fraction fraction) - -
-          Multiplies the value of this fraction by another, returning the - result in reduced form.
- Fractionnegate() - -
-          Gets a fraction that is the negative (-fraction) of this one.
- Fractionpow(int power) - -
-          Gets a fraction that is raised to the passed in power.
- Fractionreduce() - -
-          Reduce the fraction to the smallest values for the numerator and - denominator, returning the result.
- Fractionsubtract(Fraction fraction) - -
-          Subtracts the value of another fraction from the value of this one, - returning the result in reduced form.
- StringtoProperString() - -
-          Gets the fraction as a proper String in the format X Y/Z.
- StringtoString() - -
-          Gets the fraction as a String.
- - - - - - - -
Methods inherited from class java.lang.Number
byteValue, shortValue
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ZERO

-
-public static final Fraction ZERO
-
-
Fraction representation of 0.
-
- -

-ONE

-
-public static final Fraction ONE
-
-
Fraction representation of 1.
-
- -

-ONE_HALF

-
-public static final Fraction ONE_HALF
-
-
Fraction representation of 1/2.
-
- -

-ONE_THIRD

-
-public static final Fraction ONE_THIRD
-
-
Fraction representation of 1/3.
-
- -

-TWO_THIRDS

-
-public static final Fraction TWO_THIRDS
-
-
Fraction representation of 2/3.
-
- -

-ONE_QUARTER

-
-public static final Fraction ONE_QUARTER
-
-
Fraction representation of 1/4.
-
- -

-TWO_QUARTERS

-
-public static final Fraction TWO_QUARTERS
-
-
Fraction representation of 2/4.
-
- -

-THREE_QUARTERS

-
-public static final Fraction THREE_QUARTERS
-
-
Fraction representation of 3/4.
-
- -

-ONE_FIFTH

-
-public static final Fraction ONE_FIFTH
-
-
Fraction representation of 1/5.
-
- -

-TWO_FIFTHS

-
-public static final Fraction TWO_FIFTHS
-
-
Fraction representation of 2/5.
-
- -

-THREE_FIFTHS

-
-public static final Fraction THREE_FIFTHS
-
-
Fraction representation of 3/5.
-
- -

-FOUR_FIFTHS

-
-public static final Fraction FOUR_FIFTHS
-
-
Fraction representation of 4/5.
- - - - - - - - - - - -
-Method Detail
- -

-getFraction

-
-public static Fraction getFraction(int numerator,
-                                   int denominator)
-
-

Creates a Fraction instance with the 2 parts - of a fraction Y/Z.

- -

Any negative signs are resolved to be on the numerator.

-
-
-
-
Parameters:
numerator - the numerator, for example the three in 'three sevenths'
denominator - the denominator, for example the seven in 'three sevenths'
Returns:
a new fraction instance
Throws:
ArithmeticException - if the denomiator is zero
-
-
-
- -

-getFraction

-
-public static Fraction getFraction(int whole,
-                                   int numerator,
-                                   int denominator)
-
-

Creates a Fraction instance with the 3 parts - of a fraction X Y/Z.

- -

The negative sign must be passed in on the whole number part.

-
-
-
-
Parameters:
whole - the whole number, for example the one in 'one and three sevenths'
numerator - the numerator, for example the three in 'one and three sevenths'
denominator - the denominator, for example the seven in 'one and three sevenths'
Returns:
a new fraction instance
Throws:
ArithmeticException - if the denomiator is zero
ArithmeticException - if the denominator is negative
ArithmeticException - if the numerator is negative
ArithmeticException - if the resulting numerator exceeds - Integer.MAX_VALUE
-
-
-
- -

-getReducedFraction

-
-public static Fraction getReducedFraction(int numerator,
-                                          int denominator)
-
-

Creates a reduced Fraction instance with the 2 parts - of a fraction Y/Z.

- -

For example, if the input parameters represent 2/4, then the created - fraction will be 1/2.

- -

Any negative signs are resolved to be on the numerator.

-
-
-
-
Parameters:
numerator - the numerator, for example the three in 'three sevenths'
denominator - the denominator, for example the seven in 'three sevenths'
Returns:
a new fraction instance, with the numerator and denominator reduced
Throws:
ArithmeticException - if the denominator is zero
-
-
-
- -

-getFraction

-
-public static Fraction getFraction(double value)
-
-

Creates a Fraction instance from a double value.

- -

This method uses the - continued fraction algorithm, computing a maximum of - 25 convergents and bounding the denominator by 10,000.

-
-
-
-
Parameters:
value - the double value to convert
Returns:
a new fraction instance that is close to the value
Throws:
ArithmeticException - if |value| > Integer.MAX_VALUE - or value = NaN
ArithmeticException - if the calculated denominator is zero
ArithmeticException - if the the algorithm does not converge
-
-
-
- -

-getFraction

-
-public static Fraction getFraction(String str)
-
-

Creates a Fraction from a String.

- -

The formats accepted are:

- -
    -
  1. double String containing a dot
  2. -
  3. 'X Y/Z'
  4. -
  5. 'Y/Z'
  6. -
  7. 'X' (a simple whole number)
  8. -
- and a .

-
-
-
-
Parameters:
str - the string to parse, must not be null
Returns:
the new Fraction instance
Throws:
IllegalArgumentException - if the string is null
NumberFormatException - if the number format is invalid
-
-
-
- -

-getNumerator

-
-public int getNumerator()
-
-

Gets the numerator part of the fraction.

- -

This method may return a value greater than the denominator, an - improper fraction, such as the seven in 7/4.

-
-
-
-
Returns:
the numerator fraction part
-
-
-
- -

-getDenominator

-
-public int getDenominator()
-
-

Gets the denominator part of the fraction.

-
-
-
-
Returns:
the denominator fraction part
-
-
-
- -

-getProperNumerator

-
-public int getProperNumerator()
-
-

Gets the proper numerator, always positive.

- -

An improper fraction 7/4 can be resolved into a proper one, 1 3/4. - This method returns the 3 from the proper fraction.

- -

If the fraction is negative such as -7/4, it can be resolved into - -1 3/4, so this method returns the positive proper numerator, 3.

-
-
-
-
Returns:
the numerator fraction part of a proper fraction, always positive
-
-
-
- -

-getProperWhole

-
-public int getProperWhole()
-
-

Gets the proper whole part of the fraction.

- -

An improper fraction 7/4 can be resolved into a proper one, 1 3/4. - This method returns the 1 from the proper fraction.

- -

If the fraction is negative such as -7/4, it can be resolved into - -1 3/4, so this method returns the positive whole part -1.

-
-
-
-
Returns:
the whole fraction part of a proper fraction, that includes the sign
-
-
-
- -

-intValue

-
-public int intValue()
-
-

Gets the fraction as an int. This returns the whole number - part of the fraction.

-
Overrides:
intValue in class Number
-
-
-
Returns:
the whole number fraction part
-
-
-
- -

-longValue

-
-public long longValue()
-
-

Gets the fraction as a long. This returns the whole number - part of the fraction.

-
Overrides:
longValue in class Number
-
-
-
Returns:
the whole number fraction part
-
-
-
- -

-floatValue

-
-public float floatValue()
-
-

Gets the fraction as a float. This calculates the fraction - as the numerator divided by denominator.

-
Overrides:
floatValue in class Number
-
-
-
Returns:
the fraction as a float
-
-
-
- -

-doubleValue

-
-public double doubleValue()
-
-

Gets the fraction as a double. This calculates the fraction - as the numerator divided by denominator.

-
Overrides:
doubleValue in class Number
-
-
-
Returns:
the fraction as a double
-
-
-
- -

-reduce

-
-public Fraction reduce()
-
-

Reduce the fraction to the smallest values for the numerator and - denominator, returning the result.

- -

For example, if this fraction represents 2/4, then the result - will be 1/2.

-
-
-
-
Returns:
a new reduced fraction instance, or this if no simplification possible
-
-
-
- -

-invert

-
-public Fraction invert()
-
-

Gets a fraction that is the inverse (1/fraction) of this one.

- -

The returned fraction is not reduced.

-
-
-
-
Returns:
a new fraction instance with the numerator and denominator - inverted.
Throws:
ArithmeticException - if the fraction represents zero.
-
-
-
- -

-negate

-
-public Fraction negate()
-
-

Gets a fraction that is the negative (-fraction) of this one.

- -

The returned fraction is not reduced.

-
-
-
-
Returns:
a new fraction instance with the opposite signed numerator
-
-
-
- -

-abs

-
-public Fraction abs()
-
-

Gets a fraction that is the positive equivalent of this one.

-

More precisely: (fraction >= 0 ? this : -fraction)

- -

The returned fraction is not reduced.

-
-
-
-
Returns:
this if it is positive, or a new positive fraction - instance with the opposite signed numerator
-
-
-
- -

-pow

-
-public Fraction pow(int power)
-
-

Gets a fraction that is raised to the passed in power.

- -

The returned fraction is in reduced form.

-
-
-
-
Parameters:
power - the power to raise the fraction to
Returns:
this if the power is one, ONE if the power - is zero (even if the fraction equals ZERO) or a new fraction instance - raised to the appropriate power
Throws:
ArithmeticException - if the resulting numerator or denominator exceeds - Integer.MAX_VALUE
-
-
-
- -

-add

-
-public Fraction add(Fraction fraction)
-
-

Adds the value of this fraction to another, returning the result in reduced form. - The algorithm follows Knuth, 4.5.1.

-
-
-
-
Parameters:
fraction - the fraction to add, must not be null
Returns:
a Fraction instance with the resulting values
Throws:
IllegalArgumentException - if the fraction is null
ArithmeticException - if the resulting numerator or denominator exceeds - Integer.MAX_VALUE
-
-
-
- -

-subtract

-
-public Fraction subtract(Fraction fraction)
-
-

Subtracts the value of another fraction from the value of this one, - returning the result in reduced form.

-
-
-
-
Parameters:
fraction - the fraction to subtract, must not be null
Returns:
a Fraction instance with the resulting values
Throws:
IllegalArgumentException - if the fraction is null
ArithmeticException - if the resulting numerator or denominator - cannot be represented in an int.
-
-
-
- -

-multiplyBy

-
-public Fraction multiplyBy(Fraction fraction)
-
-

Multiplies the value of this fraction by another, returning the - result in reduced form.

-
-
-
-
Parameters:
fraction - the fraction to multiply by, must not be null
Returns:
a Fraction instance with the resulting values
Throws:
IllegalArgumentException - if the fraction is null
ArithmeticException - if the resulting numerator or denominator exceeds - Integer.MAX_VALUE
-
-
-
- -

-divideBy

-
-public Fraction divideBy(Fraction fraction)
-
-

Divide the value of this fraction by another.

-
-
-
-
Parameters:
fraction - the fraction to divide by, must not be null
Returns:
a Fraction instance with the resulting values
Throws:
IllegalArgumentException - if the fraction is null
ArithmeticException - if the fraction to divide by is zero
ArithmeticException - if the resulting numerator or denominator exceeds - Integer.MAX_VALUE
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares this fraction to another object to test if they are equal.

. - -

To be equal, both values must be equal. Thus 2/4 is not equal to 1/2.

-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode for the fraction.

-
Overrides:
hashCode in class Object
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-compareTo

-
-public int compareTo(Object object)
-
-

Compares this object to another based on size.

- -

Note: this class has a natural ordering that is inconsistent - with equals, because, for example, equals treats 1/2 and 2/4 as - different, whereas compareTo treats them as equal.

-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
object - the object to compare to
Returns:
-1 if this is less, 0 if equal, +1 if greater
Throws:
ClassCastException - if the object is not a Fraction
NullPointerException - if the object is null
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets the fraction as a String.

- -

The format used is 'numerator/denominator' always.

-
Overrides:
toString in class Object
-
-
-
Returns:
a String form of the fraction
-
-
-
- -

-toProperString

-
-public String toProperString()
-
-

Gets the fraction as a proper String in the format X Y/Z.

- -

The format used in 'wholeNumber numerator/denominator'. - If the whole number is zero it will be ommitted. If the numerator is zero, - only the whole number is returned.

-
-
-
-
Returns:
a String form of the fraction
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/IntRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/IntRange.html deleted file mode 100644 index 0515d479..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/IntRange.html +++ /dev/null @@ -1,681 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class IntRange - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class IntRange

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.Range
-        |
-        +--org.apache.commons.lang.math.IntRange
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class IntRange
extends Range
implements Serializable
- -

-

IntRange represents an inclusive range of ints.

-

-

-
Since:
2.0
-
Version:
$Id: IntRange.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
IntRange(int number) - -
-          Constructs a new IntRange using the specified - number as both the minimum and maximum in this range.
IntRange(int number1, - int number2) - -
-          Constructs a new IntRange with the specified - minimum and maximum numbers (both inclusive).
IntRange(Number number) - -
-          Constructs a new IntRange using the specified - number as both the minimum and maximum in this range.
IntRange(Number number1, - Number number2) - -
-          Constructs a new IntRange with the specified - minimum and maximum numbers (both inclusive).
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontainsInteger(int value) - -
-          Tests whether the specified int occurs within - this range using int comparison.
- booleancontainsNumber(Number number) - -
-          Tests whether the specified number occurs within - this range using int comparison.
- booleancontainsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using int comparison.
- booleanequals(Object obj) - -
-          Compares this range to another object to test if they are equal.
- doublegetMaximumDouble() - -
-          Gets the maximum number in this range as a double.
- floatgetMaximumFloat() - -
-          Gets the maximum number in this range as a float.
- intgetMaximumInteger() - -
-          Gets the maximum number in this range as a int.
- longgetMaximumLong() - -
-          Gets the maximum number in this range as a long.
- NumbergetMaximumNumber() - -
-          Returns the maximum number in this range.
- doublegetMinimumDouble() - -
-          Gets the minimum number in this range as a double.
- floatgetMinimumFloat() - -
-          Gets the minimum number in this range as a float.
- intgetMinimumInteger() - -
-          Gets the minimum number in this range as a int.
- longgetMinimumLong() - -
-          Gets the minimum number in this range as a long.
- NumbergetMinimumNumber() - -
-          Returns the minimum number in this range.
- inthashCode() - -
-          Gets a hashCode for the range.
- booleanoverlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using int comparison.
- StringtoString() - -
-          Gets the range as a String.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.math.Range
containsDouble, containsDouble, containsFloat, containsFloat, containsInteger, containsLong, containsLong
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-IntRange

-
-public IntRange(int number)
-
-

Constructs a new IntRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range
-
-
-
- -

-IntRange

-
-public IntRange(Number number)
-
-

Constructs a new IntRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range, must not be null
Throws:
IllegalArgumentException - if the number is null
-
-
-
- -

-IntRange

-
-public IntRange(int number1,
-                int number2)
-
-

Constructs a new IntRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
-
-
-
- -

-IntRange

-
-public IntRange(Number number1,
-                Number number2)
-
-

Constructs a new IntRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
Throws:
IllegalArgumentException - if either number is null
-
-
- - - - - - - - -
-Method Detail
- -

-getMinimumNumber

-
-public Number getMinimumNumber()
-
-

Returns the minimum number in this range.

-
Overrides:
getMinimumNumber in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumLong

-
-public long getMinimumLong()
-
-

Gets the minimum number in this range as a long.

-
Overrides:
getMinimumLong in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumInteger

-
-public int getMinimumInteger()
-
-

Gets the minimum number in this range as a int.

-
Overrides:
getMinimumInteger in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumDouble

-
-public double getMinimumDouble()
-
-

Gets the minimum number in this range as a double.

-
Overrides:
getMinimumDouble in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumFloat

-
-public float getMinimumFloat()
-
-

Gets the minimum number in this range as a float.

-
Overrides:
getMinimumFloat in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMaximumNumber

-
-public Number getMaximumNumber()
-
-

Returns the maximum number in this range.

-
Overrides:
getMaximumNumber in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumLong

-
-public long getMaximumLong()
-
-

Gets the maximum number in this range as a long.

-
Overrides:
getMaximumLong in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumInteger

-
-public int getMaximumInteger()
-
-

Gets the maximum number in this range as a int.

-
Overrides:
getMaximumInteger in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumDouble

-
-public double getMaximumDouble()
-
-

Gets the maximum number in this range as a double.

-
Overrides:
getMaximumDouble in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumFloat

-
-public float getMaximumFloat()
-
-

Gets the maximum number in this range as a float.

-
Overrides:
getMaximumFloat in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-containsNumber

-
-public boolean containsNumber(Number number)
-
-

Tests whether the specified number occurs within - this range using int comparison.

- -

null is handled and returns false.

-
Overrides:
containsNumber in class Range
-
-
-
Parameters:
number - the number to test, may be null
Returns:
true if the specified number occurs within this range
-
-
-
- -

-containsInteger

-
-public boolean containsInteger(int value)
-
-

Tests whether the specified int occurs within - this range using int comparison.

- -

This implementation overrides the superclass for performance as it is - the most common case.

-
Overrides:
containsInteger in class Range
-
-
-
Parameters:
value - the int to test
Returns:
true if the specified number occurs within this - range by int comparison
-
-
-
- -

-containsRange

-
-public boolean containsRange(Range range)
-
-

Tests whether the specified range occurs entirely within this range - using int comparison.

- -

null is handled and returns false.

-
Overrides:
containsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range occurs entirely within this range
Throws:
IllegalArgumentException - if the range is not of this type
-
-
-
- -

-overlapsRange

-
-public boolean overlapsRange(Range range)
-
-

Tests whether the specified range overlaps with this range - using int comparison.

- -

null is handled and returns false.

-
Overrides:
overlapsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range overlaps with this range
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares this range to another object to test if they are equal.

. - -

To be equal, the class, minimum and maximum must be equal.

-
Overrides:
equals in class Range
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode for the range.

-
Overrides:
hashCode in class Range
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets the range as a String.

- -

The format of the String is 'Range[min,max]'.

-
Overrides:
toString in class Range
-
-
-
Returns:
the String representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/JVMRandom.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/JVMRandom.html deleted file mode 100644 index b2bf2e38..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/JVMRandom.html +++ /dev/null @@ -1,449 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class JVMRandom - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class JVMRandom

-
-java.lang.Object
-  |
-  +--java.util.Random
-        |
-        +--org.apache.commons.lang.math.JVMRandom
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class JVMRandom
extends Random
- -

-

JVMRandom is a wrapper that supports all possible - Random methods via the java.lang.Math#random() method - and its system-wide Random object.

-

-

-
Since:
2.0
-
Version:
$Id: JVMRandom.java 471626 2006-11-06 04:02:09Z bayard $
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
JVMRandom() - -
-          Constructs a new instance.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleannextBoolean() - -
-          Returns the next pseudorandom, uniformly distributed boolean value - from the Math.random() sequence.
- voidnextBytes(byte[] byteArray) - -
-          Unsupported in 2.0.
- doublenextDouble() - -
-          Synonymous to the Math.random() call.
- floatnextFloat() - -
-          Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence.
- doublenextGaussian() - -
-          Unsupported in 2.0.
- intnextInt() - -
-          Returns the next pseudorandom, uniformly distributed int value - from the Math.random() sequence.
- intnextInt(int n) - -
-          Returns a pseudorandom, uniformly distributed int value between - 0 (inclusive) and the specified value (exclusive), from - the Math.random() sequence.
- longnextLong() - -
-          Returns the next pseudorandom, uniformly distributed long value - from the Math.random() sequence.
-static longnextLong(long n) - -
-          Returns a pseudorandom, uniformly distributed long value between - 0 (inclusive) and the specified value (exclusive), from - the Math.random() sequence.
- voidsetSeed(long seed) - -
-          Unsupported in 2.0.
- - - - - - - -
Methods inherited from class java.util.Random
next
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-JVMRandom

-
-public JVMRandom()
-
-
Constructs a new instance.
- - - - - - - - -
-Method Detail
- -

-setSeed

-
-public void setSeed(long seed)
-
-
Unsupported in 2.0.
-
Overrides:
setSeed in class Random
-
-
-
Parameters:
seed - ignored
Throws:
UnsupportedOperationException -  
-
-
-
- -

-nextGaussian

-
-public double nextGaussian()
-
-
Unsupported in 2.0.
-
Overrides:
nextGaussian in class Random
-
-
-
Returns:
Nothing, this method always throws an UnsupportedOperationException.
Throws:
UnsupportedOperationException -  
-
-
-
- -

-nextBytes

-
-public void nextBytes(byte[] byteArray)
-
-
Unsupported in 2.0.
-
Overrides:
nextBytes in class Random
-
-
-
Parameters:
byteArray - ignored
Throws:
UnsupportedOperationException -  
-
-
-
- -

-nextInt

-
-public int nextInt()
-
-

Returns the next pseudorandom, uniformly distributed int value - from the Math.random() sequence.

-
Overrides:
nextInt in class Random
-
-
-
Returns:
the random int
-
-
-
- -

-nextInt

-
-public int nextInt(int n)
-
-

Returns a pseudorandom, uniformly distributed int value between - 0 (inclusive) and the specified value (exclusive), from - the Math.random() sequence.

-
Overrides:
nextInt in class Random
-
-
-
Parameters:
n - the specified exclusive max-value
Returns:
the random int
Throws:
IllegalArgumentException - when n <= 0
-
-
-
- -

-nextLong

-
-public long nextLong()
-
-

Returns the next pseudorandom, uniformly distributed long value - from the Math.random() sequence.

-
Overrides:
nextLong in class Random
-
-
-
Returns:
the random long
-
-
-
- -

-nextLong

-
-public static long nextLong(long n)
-
-

Returns a pseudorandom, uniformly distributed long value between - 0 (inclusive) and the specified value (exclusive), from - the Math.random() sequence.

-
Parameters:
n - the specified exclusive max-value
Returns:
the random long
Throws:
IllegalArgumentException - when n <= 0
-
-
-
- -

-nextBoolean

-
-public boolean nextBoolean()
-
-

Returns the next pseudorandom, uniformly distributed boolean value - from the Math.random() sequence.

-
Overrides:
nextBoolean in class Random
-
-
-
Returns:
the random boolean
-
-
-
- -

-nextFloat

-
-public float nextFloat()
-
-

Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence.

-
Overrides:
nextFloat in class Random
-
-
-
Returns:
the random float
-
-
-
- -

-nextDouble

-
-public double nextDouble()
-
-

Synonymous to the Math.random() call.

-
Overrides:
nextDouble in class Random
-
-
-
Returns:
the random double
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/LongRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/LongRange.html deleted file mode 100644 index 357fa3a1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/LongRange.html +++ /dev/null @@ -1,694 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class LongRange - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class LongRange

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.Range
-        |
-        +--org.apache.commons.lang.math.LongRange
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class LongRange
extends Range
implements Serializable
- -

-

LongRange represents an inclusive range of longs.

-

-

-
Since:
2.0
-
Version:
$Id: LongRange.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
LongRange(long number) - -
-          Constructs a new LongRange using the specified - number as both the minimum and maximum in this range.
LongRange(long number1, - long number2) - -
-          Constructs a new LongRange with the specified - minimum and maximum numbers (both inclusive).
LongRange(Number number) - -
-          Constructs a new LongRange using the specified - number as both the minimum and maximum in this range.
LongRange(Number number1, - Number number2) - -
-          Constructs a new LongRange with the specified - minimum and maximum numbers (both inclusive).
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontainsLong(long value) - -
-          Tests whether the specified long occurs within - this range using long comparison.
- booleancontainsNumber(Number number) - -
-          Tests whether the specified number occurs within - this range using long comparison.
- booleancontainsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using long comparison.
- booleanequals(Object obj) - -
-          Compares this range to another object to test if they are equal.
- doublegetMaximumDouble() - -
-          Gets the maximum number in this range as a double.
- floatgetMaximumFloat() - -
-          Gets the maximum number in this range as a float.
- intgetMaximumInteger() - -
-          Gets the maximum number in this range cast to an int.
- longgetMaximumLong() - -
-          Gets the maximum number in this range as a long.
- NumbergetMaximumNumber() - -
-          Returns the maximum number in this range.
- doublegetMinimumDouble() - -
-          Gets the minimum number in this range as a double.
- floatgetMinimumFloat() - -
-          Gets the minimum number in this range as a float.
- intgetMinimumInteger() - -
-          Gets the minimum number in this range as a int.
- longgetMinimumLong() - -
-          Gets the minimum number in this range as a long.
- NumbergetMinimumNumber() - -
-          Returns the minimum number in this range.
- inthashCode() - -
-          Gets a hashCode for the range.
- booleanoverlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using long comparison.
- StringtoString() - -
-          Gets the range as a String.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.math.Range
containsDouble, containsDouble, containsFloat, containsFloat, containsInteger, containsInteger, containsLong
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-LongRange

-
-public LongRange(long number)
-
-

Constructs a new LongRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range
-
-
-
- -

-LongRange

-
-public LongRange(Number number)
-
-

Constructs a new LongRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
number - the number to use for this range, must not - be null
Throws:
IllegalArgumentException - if the number is null
-
-
-
- -

-LongRange

-
-public LongRange(long number1,
-                 long number2)
-
-

Constructs a new LongRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
-
-
-
- -

-LongRange

-
-public LongRange(Number number1,
-                 Number number2)
-
-

Constructs a new LongRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimum and getMaximum methods will return the correct values.

-
Parameters:
number1 - first number that defines the edge of the range, inclusive
number2 - second number that defines the edge of the range, inclusive
Throws:
IllegalArgumentException - if either number is null
-
-
- - - - - - - - -
-Method Detail
- -

-getMinimumNumber

-
-public Number getMinimumNumber()
-
-

Returns the minimum number in this range.

-
Overrides:
getMinimumNumber in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumLong

-
-public long getMinimumLong()
-
-

Gets the minimum number in this range as a long.

-
Overrides:
getMinimumLong in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumInteger

-
-public int getMinimumInteger()
-
-

Gets the minimum number in this range as a int.

- -

This conversion can lose information for large values.

-
Overrides:
getMinimumInteger in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumDouble

-
-public double getMinimumDouble()
-
-

Gets the minimum number in this range as a double.

- -

This conversion can lose information for large values.

-
Overrides:
getMinimumDouble in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumFloat

-
-public float getMinimumFloat()
-
-

Gets the minimum number in this range as a float.

- -

This conversion can lose information for large values.

-
Overrides:
getMinimumFloat in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMaximumNumber

-
-public Number getMaximumNumber()
-
-

Returns the maximum number in this range.

-
Overrides:
getMaximumNumber in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumLong

-
-public long getMaximumLong()
-
-

Gets the maximum number in this range as a long.

-
Overrides:
getMaximumLong in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumInteger

-
-public int getMaximumInteger()
-
-

Gets the maximum number in this range cast to an int.

- -

This conversion can lose information for large values.

-
Overrides:
getMaximumInteger in class Range
-
-
-
Returns:
the maximum number in this range cast to an int.
-
-
-
- -

-getMaximumDouble

-
-public double getMaximumDouble()
-
-

Gets the maximum number in this range as a double.

- -

This conversion can lose information for large values.

-
Overrides:
getMaximumDouble in class Range
-
-
-
Returns:
The maximum number in this range as a double.
-
-
-
- -

-getMaximumFloat

-
-public float getMaximumFloat()
-
-

Gets the maximum number in this range as a float.

- -

This conversion can lose information for large values.

-
Overrides:
getMaximumFloat in class Range
-
-
-
Returns:
The maximum number in this range as a float.
-
-
-
- -

-containsNumber

-
-public boolean containsNumber(Number number)
-
-

Tests whether the specified number occurs within - this range using long comparison.

- -

null is handled and returns false.

-
Overrides:
containsNumber in class Range
-
-
-
Parameters:
number - the number to test, may be null
Returns:
true if the specified number occurs within this range
-
-
-
- -

-containsLong

-
-public boolean containsLong(long value)
-
-

Tests whether the specified long occurs within - this range using long comparison.

- -

This implementation overrides the superclass for performance as it is - the most common case.

-
Overrides:
containsLong in class Range
-
-
-
Parameters:
value - the long to test
Returns:
true if the specified number occurs within this - range by long comparison
-
-
-
- -

-containsRange

-
-public boolean containsRange(Range range)
-
-

Tests whether the specified range occurs entirely within this range - using long comparison.

- -

null is handled and returns false.

-
Overrides:
containsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range occurs entirely within this range
Throws:
IllegalArgumentException - if the range is not of this type
-
-
-
- -

-overlapsRange

-
-public boolean overlapsRange(Range range)
-
-

Tests whether the specified range overlaps with this range - using long comparison.

- -

null is handled and returns false.

-
Overrides:
overlapsRange in class Range
-
-
-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range overlaps with this range
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares this range to another object to test if they are equal.

. - -

To be equal, the class, minimum and maximum must be equal.

-
Overrides:
equals in class Range
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode for the range.

-
Overrides:
hashCode in class Range
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets the range as a String.

- -

The format of the String is 'Range[min,max]'.

-
Overrides:
toString in class Range
-
-
-
Returns:
the String representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/NumberRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/NumberRange.html deleted file mode 100644 index 3d33b28c..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/NumberRange.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NumberRange - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class NumberRange

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.Range
-        |
-        +--org.apache.commons.lang.math.NumberRange
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class NumberRange
extends Range
implements Serializable
- -

-

NumberRange represents an inclusive range of - Number objects of the same type.

-

-

-
Since:
2.0 (previously in org.apache.commons.lang)
-
Version:
$Id: NumberRange.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Christopher Elkins, Stephen Colebourne
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
NumberRange(Number num) - -
-          Constructs a new NumberRange using the specified - number as both the minimum and maximum in this range.
NumberRange(Number num1, - Number num2) - -
-          Constructs a new NumberRange with the specified - minimum and maximum numbers (both inclusive).
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontainsNumber(Number number) - -
-          Tests whether the specified number occurs within - this range.
- booleanequals(Object obj) - -
-          Compares this range to another object to test if they are equal.
- NumbergetMaximumNumber() - -
-          Returns the maximum number in this range.
- NumbergetMinimumNumber() - -
-          Returns the minimum number in this range.
- inthashCode() - -
-          Gets a hashCode for the range.
- StringtoString() - -
-          Gets the range as a String.
- - - - - - - -
Methods inherited from class org.apache.commons.lang.math.Range
containsDouble, containsDouble, containsFloat, containsFloat, containsInteger, containsInteger, containsLong, containsLong, containsRange, getMaximumDouble, getMaximumFloat, getMaximumInteger, getMaximumLong, getMinimumDouble, getMinimumFloat, getMinimumInteger, getMinimumLong, overlapsRange
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-NumberRange

-
-public NumberRange(Number num)
-
-

Constructs a new NumberRange using the specified - number as both the minimum and maximum in this range.

-
Parameters:
num - the number to use for this range
Throws:
IllegalArgumentException - if the number is null
IllegalArgumentException - if the number doesn't implement Comparable
IllegalArgumentException - if the number is Double.NaN or Float.NaN
-
-
-
- -

-NumberRange

-
-public NumberRange(Number num1,
-                   Number num2)
-
-

Constructs a new NumberRange with the specified - minimum and maximum numbers (both inclusive).

- -

The arguments may be passed in the order (min,max) or (max,min). The - getMinimumNumber() and getMaximumNumber() methods will return the - correct value.

- -

This constructor is designed to be used with two Number - objects of the same type. If two objects of different types are passed in, - an exception is thrown.

-
Parameters:
num1 - first number that defines the edge of the range, inclusive
num2 - second number that defines the edge of the range, inclusive
Throws:
IllegalArgumentException - if either number is null
IllegalArgumentException - if the numbers are of different types
IllegalArgumentException - if the numbers don't implement Comparable
-
-
- - - - - - - - -
-Method Detail
- -

-getMinimumNumber

-
-public Number getMinimumNumber()
-
-

Returns the minimum number in this range.

-
Overrides:
getMinimumNumber in class Range
-
-
-
Returns:
the minimum number in this range
-
-
-
- -

-getMaximumNumber

-
-public Number getMaximumNumber()
-
-

Returns the maximum number in this range.

-
Overrides:
getMaximumNumber in class Range
-
-
-
Returns:
the maximum number in this range
-
-
-
- -

-containsNumber

-
-public boolean containsNumber(Number number)
-
-

Tests whether the specified number occurs within - this range.

- -

null is handled and returns false.

-
Overrides:
containsNumber in class Range
-
-
-
Parameters:
number - the number to test, may be null
Returns:
true if the specified number occurs within this range
Throws:
IllegalArgumentException - if the number is of a different type to the range
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares this range to another object to test if they are equal.

. - -

To be equal, the class, minimum and maximum must be equal.

-
Overrides:
equals in class Range
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode for the range.

-
Overrides:
hashCode in class Range
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets the range as a String.

- -

The format of the String is 'Range[min,max]'.

-
Overrides:
toString in class Range
-
-
-
Returns:
the String representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/NumberUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/NumberUtils.html deleted file mode 100644 index 2b8650e7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/NumberUtils.html +++ /dev/null @@ -1,1656 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class NumberUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class NumberUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.NumberUtils
-
-
-
-
public class NumberUtils
extends Object
- -

-

Provides extra functionality for Java Number classes.

-

-

-
Since:
2.0
-
Version:
$Id: NumberUtils.java 491076 2006-12-29 18:48:37Z bayard $
-
Author:
Rand McNeely, Stephen Colebourne, Steve Downey, Eric Pugh, Phil Steitz, Matthew Hawthorne, Gary Gregory, Fredrik Westermarck
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static ByteBYTE_MINUS_ONE - -
-          Reusable Byte constant for minus one.
-static ByteBYTE_ONE - -
-          Reusable Byte constant for one.
-static ByteBYTE_ZERO - -
-          Reusable Byte constant for zero.
-static DoubleDOUBLE_MINUS_ONE - -
-          Reusable Double constant for minus one.
-static DoubleDOUBLE_ONE - -
-          Reusable Double constant for one.
-static DoubleDOUBLE_ZERO - -
-          Reusable Double constant for zero.
-static FloatFLOAT_MINUS_ONE - -
-          Reusable Float constant for minus one.
-static FloatFLOAT_ONE - -
-          Reusable Float constant for one.
-static FloatFLOAT_ZERO - -
-          Reusable Float constant for zero.
-static IntegerINTEGER_MINUS_ONE - -
-          Reusable Integer constant for minus one.
-static IntegerINTEGER_ONE - -
-          Reusable Integer constant for one.
-static IntegerINTEGER_ZERO - -
-          Reusable Integer constant for zero.
-static LongLONG_MINUS_ONE - -
-          Reusable Long constant for minus one.
-static LongLONG_ONE - -
-          Reusable Long constant for one.
-static LongLONG_ZERO - -
-          Reusable Long constant for zero.
-static ShortSHORT_MINUS_ONE - -
-          Reusable Short constant for minus one.
-static ShortSHORT_ONE - -
-          Reusable Short constant for one.
-static ShortSHORT_ZERO - -
-          Reusable Short constant for zero.
-  - - - - - - - - - - -
-Constructor Summary
NumberUtils() - -
-          NumberUtils instances should NOT be constructed in standard programming.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static intcompare(double lhs, - double rhs) - -
-          Compares two doubles for order.
-static intcompare(float lhs, - float rhs) - -
-          Compares two floats for order.
-static BigDecimalcreateBigDecimal(String str) - -
-          Convert a String to a BigDecimal.
-static BigIntegercreateBigInteger(String str) - -
-          Convert a String to a BigInteger.
-static DoublecreateDouble(String str) - -
-          Convert a String to a Double.
-static FloatcreateFloat(String str) - -
-          Convert a String to a Float.
-static IntegercreateInteger(String str) - -
-          Convert a String to a Integer, handling - hex and octal notations.
-static LongcreateLong(String str) - -
-          Convert a String to a Long.
-static NumbercreateNumber(String str) - -
-          Turns a string value into a java.lang.Number.
-static booleanisDigits(String str) - -
-          Checks whether the String contains only - digit characters.
-static booleanisNumber(String str) - -
-          Checks whether the String a valid Java number.
-static bytemax(byte[] array) - -
-          Returns the maximum value in an array.
-static bytemax(byte a, - byte b, - byte c) - -
-          Gets the maximum of three byte values.
-static doublemax(double[] array) - -
-          Returns the maximum value in an array.
-static doublemax(double a, - double b, - double c) - -
-          Gets the maximum of three double values.
-static floatmax(float[] array) - -
-          Returns the maximum value in an array.
-static floatmax(float a, - float b, - float c) - -
-          Gets the maximum of three float values.
-static intmax(int[] array) - -
-          Returns the maximum value in an array.
-static intmax(int a, - int b, - int c) - -
-          Gets the maximum of three int values.
-static longmax(long[] array) - -
-          Returns the maximum value in an array.
-static longmax(long a, - long b, - long c) - -
-          Gets the maximum of three long values.
-static shortmax(short[] array) - -
-          Returns the maximum value in an array.
-static shortmax(short a, - short b, - short c) - -
-          Gets the maximum of three short values.
-static bytemin(byte[] array) - -
-          Returns the minimum value in an array.
-static bytemin(byte a, - byte b, - byte c) - -
-          Gets the minimum of three byte values.
-static doublemin(double[] array) - -
-          Returns the minimum value in an array.
-static doublemin(double a, - double b, - double c) - -
-          Gets the minimum of three double values.
-static floatmin(float[] array) - -
-          Returns the minimum value in an array.
-static floatmin(float a, - float b, - float c) - -
-          Gets the minimum of three float values.
-static intmin(int[] array) - -
-          Returns the minimum value in an array.
-static intmin(int a, - int b, - int c) - -
-          Gets the minimum of three int values.
-static longmin(long[] array) - -
-          Returns the minimum value in an array.
-static longmin(long a, - long b, - long c) - -
-          Gets the minimum of three long values.
-static shortmin(short[] array) - -
-          Returns the minimum value in an array.
-static shortmin(short a, - short b, - short c) - -
-          Gets the minimum of three short values.
-static intstringToInt(String str) - -
-          Deprecated. Use toInt(String) - This method will be removed in Commons Lang 3.0
-static intstringToInt(String str, - int defaultValue) - -
-          Deprecated. Use toInt(String, int) - This method will be removed in Commons Lang 3.0
-static doubletoDouble(String str) - -
-          Convert a String to a double, returning - 0.0d if the conversion fails.
-static doubletoDouble(String str, - double defaultValue) - -
-          Convert a String to a double, returning a - default value if the conversion fails.
-static floattoFloat(String str) - -
-          Convert a String to a float, returning - 0.0f if the conversion fails.
-static floattoFloat(String str, - float defaultValue) - -
-          Convert a String to a float, returning a - default value if the conversion fails.
-static inttoInt(String str) - -
-          Convert a String to an int, returning - zero if the conversion fails.
-static inttoInt(String str, - int defaultValue) - -
-          Convert a String to an int, returning a - default value if the conversion fails.
-static longtoLong(String str) - -
-          Convert a String to a long, returning - zero if the conversion fails.
-static longtoLong(String str, - long defaultValue) - -
-          Convert a String to a long, returning a - default value if the conversion fails.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-LONG_ZERO

-
-public static final Long LONG_ZERO
-
-
Reusable Long constant for zero.
-
- -

-LONG_ONE

-
-public static final Long LONG_ONE
-
-
Reusable Long constant for one.
-
- -

-LONG_MINUS_ONE

-
-public static final Long LONG_MINUS_ONE
-
-
Reusable Long constant for minus one.
-
- -

-INTEGER_ZERO

-
-public static final Integer INTEGER_ZERO
-
-
Reusable Integer constant for zero.
-
- -

-INTEGER_ONE

-
-public static final Integer INTEGER_ONE
-
-
Reusable Integer constant for one.
-
- -

-INTEGER_MINUS_ONE

-
-public static final Integer INTEGER_MINUS_ONE
-
-
Reusable Integer constant for minus one.
-
- -

-SHORT_ZERO

-
-public static final Short SHORT_ZERO
-
-
Reusable Short constant for zero.
-
- -

-SHORT_ONE

-
-public static final Short SHORT_ONE
-
-
Reusable Short constant for one.
-
- -

-SHORT_MINUS_ONE

-
-public static final Short SHORT_MINUS_ONE
-
-
Reusable Short constant for minus one.
-
- -

-BYTE_ZERO

-
-public static final Byte BYTE_ZERO
-
-
Reusable Byte constant for zero.
-
- -

-BYTE_ONE

-
-public static final Byte BYTE_ONE
-
-
Reusable Byte constant for one.
-
- -

-BYTE_MINUS_ONE

-
-public static final Byte BYTE_MINUS_ONE
-
-
Reusable Byte constant for minus one.
-
- -

-DOUBLE_ZERO

-
-public static final Double DOUBLE_ZERO
-
-
Reusable Double constant for zero.
-
- -

-DOUBLE_ONE

-
-public static final Double DOUBLE_ONE
-
-
Reusable Double constant for one.
-
- -

-DOUBLE_MINUS_ONE

-
-public static final Double DOUBLE_MINUS_ONE
-
-
Reusable Double constant for minus one.
-
- -

-FLOAT_ZERO

-
-public static final Float FLOAT_ZERO
-
-
Reusable Float constant for zero.
-
- -

-FLOAT_ONE

-
-public static final Float FLOAT_ONE
-
-
Reusable Float constant for one.
-
- -

-FLOAT_MINUS_ONE

-
-public static final Float FLOAT_MINUS_ONE
-
-
Reusable Float constant for minus one.
- - - - - - - - -
-Constructor Detail
- -

-NumberUtils

-
-public NumberUtils()
-
-

NumberUtils instances should NOT be constructed in standard programming. - Instead, the class should be used as NumberUtils.stringToInt("6");.

- -

This constructor is public to permit tools that require a JavaBean instance - to operate.

- - - - - - - - -
-Method Detail
- -

-stringToInt

-
-public static int stringToInt(String str)
-
-
Deprecated. Use toInt(String) - This method will be removed in Commons Lang 3.0 -

-

Convert a String to an int, returning - zero if the conversion fails.

- -

If the string is null, zero is returned.

- -
-   NumberUtils.stringToInt(null) = 0
-   NumberUtils.stringToInt("")   = 0
-   NumberUtils.stringToInt("1")  = 1
- 
-
Parameters:
str - the string to convert, may be null
Returns:
the int represented by the string, or zero if - conversion fails
-
-
-
- -

-toInt

-
-public static int toInt(String str)
-
-

Convert a String to an int, returning - zero if the conversion fails.

- -

If the string is null, zero is returned.

- -
-   NumberUtils.toInt(null) = 0
-   NumberUtils.toInt("")   = 0
-   NumberUtils.toInt("1")  = 1
- 
-
Parameters:
str - the string to convert, may be null
Returns:
the int represented by the string, or zero if - conversion fails
Since:
2.1
-
-
-
-
- -

-stringToInt

-
-public static int stringToInt(String str,
-                              int defaultValue)
-
-
Deprecated. Use toInt(String, int) - This method will be removed in Commons Lang 3.0 -

-

Convert a String to an int, returning a - default value if the conversion fails.

- -

If the string is null, the default value is returned.

- -
-   NumberUtils.stringToInt(null, 1) = 1
-   NumberUtils.stringToInt("", 1)   = 1
-   NumberUtils.stringToInt("1", 0)  = 1
- 
-
Parameters:
str - the string to convert, may be null
defaultValue - the default value
Returns:
the int represented by the string, or the default if conversion fails
-
-
-
- -

-toInt

-
-public static int toInt(String str,
-                        int defaultValue)
-
-

Convert a String to an int, returning a - default value if the conversion fails.

- -

If the string is null, the default value is returned.

- -
-   NumberUtils.toInt(null, 1) = 1
-   NumberUtils.toInt("", 1)   = 1
-   NumberUtils.toInt("1", 0)  = 1
- 
-
Parameters:
str - the string to convert, may be null
defaultValue - the default value
Returns:
the int represented by the string, or the default if conversion fails
Since:
2.1
-
-
-
-
- -

-toLong

-
-public static long toLong(String str)
-
-

Convert a String to a long, returning - zero if the conversion fails.

- -

If the string is null, zero is returned.

- -
-   NumberUtils.toLong(null) = 0L
-   NumberUtils.toLong("")   = 0L
-   NumberUtils.toLong("1")  = 1L
- 
-
Parameters:
str - the string to convert, may be null
Returns:
the long represented by the string, or 0 if - conversion fails
Since:
2.1
-
-
-
-
- -

-toLong

-
-public static long toLong(String str,
-                          long defaultValue)
-
-

Convert a String to a long, returning a - default value if the conversion fails.

- -

If the string is null, the default value is returned.

- -
-   NumberUtils.toLong(null, 1L) = 1L
-   NumberUtils.toLong("", 1L)   = 1L
-   NumberUtils.toLong("1", 0L)  = 1L
- 
-
Parameters:
str - the string to convert, may be null
defaultValue - the default value
Returns:
the long represented by the string, or the default if conversion fails
Since:
2.1
-
-
-
-
- -

-toFloat

-
-public static float toFloat(String str)
-
-

Convert a String to a float, returning - 0.0f if the conversion fails.

- -

If the string str is null, - 0.0f is returned.

- -
-   NumberUtils.toFloat(null)   = 0.0f
-   NumberUtils.toFloat("")     = 0.0f
-   NumberUtils.toFloat("1.5")  = 1.5f
- 
-
Parameters:
str - the string to convert, may be null
Returns:
the float represented by the string, or 0.0f - if conversion fails
Since:
2.1
-
-
-
-
- -

-toFloat

-
-public static float toFloat(String str,
-                            float defaultValue)
-
-

Convert a String to a float, returning a - default value if the conversion fails.

- -

If the string str is null, the default - value is returned.

- -
-   NumberUtils.toFloat(null, 1.1f)   = 1.0f
-   NumberUtils.toFloat("", 1.1f)     = 1.1f
-   NumberUtils.toFloat("1.5", 0.0f)  = 1.5f
- 
-
Parameters:
str - the string to convert, may be null
defaultValue - the default value
Returns:
the float represented by the string, or defaultValue - if conversion fails
Since:
2.1
-
-
-
-
- -

-toDouble

-
-public static double toDouble(String str)
-
-

Convert a String to a double, returning - 0.0d if the conversion fails.

- -

If the string str is null, - 0.0d is returned.

- -
-   NumberUtils.toDouble(null)   = 0.0d
-   NumberUtils.toDouble("")     = 0.0d
-   NumberUtils.toDouble("1.5")  = 1.5d
- 
-
Parameters:
str - the string to convert, may be null
Returns:
the double represented by the string, or 0.0d - if conversion fails
Since:
2.1
-
-
-
-
- -

-toDouble

-
-public static double toDouble(String str,
-                              double defaultValue)
-
-

Convert a String to a double, returning a - default value if the conversion fails.

- -

If the string str is null, the default - value is returned.

- -
-   NumberUtils.toDouble(null, 1.1d)   = 1.1d
-   NumberUtils.toDouble("", 1.1d)     = 1.1d
-   NumberUtils.toDouble("1.5", 0.0d)  = 1.5d
- 
-
Parameters:
str - the string to convert, may be null
defaultValue - the default value
Returns:
the double represented by the string, or defaultValue - if conversion fails
Since:
2.1
-
-
-
-
- -

-createNumber

-
-public static Number createNumber(String str)
-                           throws NumberFormatException
-
-

Turns a string value into a java.lang.Number.

- -

First, the value is examined for a type qualifier on the end - ('f','F','d','D','l','L'). If it is found, it starts - trying to create successively larger types from the type specified - until one is found that can represent the value.

- -

If a type specifier is not found, it will check for a decimal point - and then try successively larger types from Integer to - BigInteger and from Float to - BigDecimal.

- -

If the string starts with 0x or -0x, it - will be interpreted as a hexadecimal integer. Values with leading - 0's will not be interpreted as octal.

- -

Returns null if the string is null.

- -

This method does not trim the input string, i.e., strings with leading - or trailing spaces will generate NumberFormatExceptions.

-
Parameters:
str - String containing a number, may be null
Returns:
Number created from the string
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createFloat

-
-public static Float createFloat(String str)
-
-

Convert a String to a Float.

- -

Returns null if the string is null.

-
Parameters:
str - a String to convert, may be null
Returns:
converted Float
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createDouble

-
-public static Double createDouble(String str)
-
-

Convert a String to a Double.

- -

Returns null if the string is null.

-
Parameters:
str - a String to convert, may be null
Returns:
converted Double
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createInteger

-
-public static Integer createInteger(String str)
-
-

Convert a String to a Integer, handling - hex and octal notations.

- -

Returns null if the string is null.

-
Parameters:
str - a String to convert, may be null
Returns:
converted Integer
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createLong

-
-public static Long createLong(String str)
-
-

Convert a String to a Long.

- -

Returns null if the string is null.

-
Parameters:
str - a String to convert, may be null
Returns:
converted Long
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createBigInteger

-
-public static BigInteger createBigInteger(String str)
-
-

Convert a String to a BigInteger.

- -

Returns null if the string is null.

-
Parameters:
str - a String to convert, may be null
Returns:
converted BigInteger
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-createBigDecimal

-
-public static BigDecimal createBigDecimal(String str)
-
-

Convert a String to a BigDecimal.

- -

Returns null if the string is null.

-
Parameters:
str - a String to convert, may be null
Returns:
converted BigDecimal
Throws:
NumberFormatException - if the value cannot be converted
-
-
-
- -

-min

-
-public static long min(long[] array)
-
-

Returns the minimum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-min

-
-public static int min(int[] array)
-
-

Returns the minimum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-min

-
-public static short min(short[] array)
-
-

Returns the minimum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-min

-
-public static byte min(byte[] array)
-
-

Returns the minimum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-min

-
-public static double min(double[] array)
-
-

Returns the minimum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-min

-
-public static float min(float[] array)
-
-

Returns the minimum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-max

-
-public static long max(long[] array)
-
-

Returns the maximum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-max

-
-public static int max(int[] array)
-
-

Returns the maximum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-max

-
-public static short max(short[] array)
-
-

Returns the maximum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-max

-
-public static byte max(byte[] array)
-
-

Returns the maximum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-max

-
-public static double max(double[] array)
-
-

Returns the maximum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-max

-
-public static float max(float[] array)
-
-

Returns the maximum value in an array.

-
Parameters:
array - an array, must not be null or empty
Returns:
the minimum value in the array
Throws:
IllegalArgumentException - if array is null
IllegalArgumentException - if array is empty
-
-
-
- -

-min

-
-public static long min(long a,
-                       long b,
-                       long c)
-
-

Gets the minimum of three long values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-min

-
-public static int min(int a,
-                      int b,
-                      int c)
-
-

Gets the minimum of three int values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-min

-
-public static short min(short a,
-                        short b,
-                        short c)
-
-

Gets the minimum of three short values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-min

-
-public static byte min(byte a,
-                       byte b,
-                       byte c)
-
-

Gets the minimum of three byte values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-min

-
-public static double min(double a,
-                         double b,
-                         double c)
-
-

Gets the minimum of three double values.

- -

If any value is NaN, NaN is - returned. Infinity is handled.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-min

-
-public static float min(float a,
-                        float b,
-                        float c)
-
-

Gets the minimum of three float values.

- -

If any value is NaN, NaN is - returned. Infinity is handled.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the smallest of the values
-
-
-
- -

-max

-
-public static long max(long a,
-                       long b,
-                       long c)
-
-

Gets the maximum of three long values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-max

-
-public static int max(int a,
-                      int b,
-                      int c)
-
-

Gets the maximum of three int values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-max

-
-public static short max(short a,
-                        short b,
-                        short c)
-
-

Gets the maximum of three short values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-max

-
-public static byte max(byte a,
-                       byte b,
-                       byte c)
-
-

Gets the maximum of three byte values.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-max

-
-public static double max(double a,
-                         double b,
-                         double c)
-
-

Gets the maximum of three double values.

- -

If any value is NaN, NaN is - returned. Infinity is handled.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-max

-
-public static float max(float a,
-                        float b,
-                        float c)
-
-

Gets the maximum of three float values.

- -

If any value is NaN, NaN is - returned. Infinity is handled.

-
Parameters:
a - value 1
b - value 2
c - value 3
Returns:
the largest of the values
-
-
-
- -

-compare

-
-public static int compare(double lhs,
-                          double rhs)
-
-

Compares two doubles for order.

- -

This method is more comprehensive than the standard Java greater - than, less than and equals operators.

-
    -
  • It returns -1 if the first value is less than the second.
  • -
  • It returns +1 if the first value is greater than the second.
  • -
  • It returns 0 if the values are equal.
  • -
- -

- The ordering is as follows, largest to smallest: -

    -
  • NaN -
  • Positive infinity -
  • Maximum double -
  • Normal positive numbers -
  • +0.0 -
  • -0.0 -
  • Normal negative numbers -
  • Minimum double (-Double.MAX_VALUE) -
  • Negative infinity -
-

- -

Comparing NaN with NaN will - return 0.

-
Parameters:
lhs - the first double
rhs - the second double
Returns:
-1 if lhs is less, +1 if greater, - 0 if equal to rhs
-
-
-
- -

-compare

-
-public static int compare(float lhs,
-                          float rhs)
-
-

Compares two floats for order.

- -

This method is more comprehensive than the standard Java greater than, - less than and equals operators.

-
    -
  • It returns -1 if the first value is less than the second. -
  • It returns +1 if the first value is greater than the second. -
  • It returns 0 if the values are equal. -
- -

The ordering is as follows, largest to smallest: -

    -
  • NaN -
  • Positive infinity -
  • Maximum float -
  • Normal positive numbers -
  • +0.0 -
  • -0.0 -
  • Normal negative numbers -
  • Minimum float (-Float.MAX_VALUE) -
  • Negative infinity -
- -

Comparing NaN with NaN will return - 0.

-
Parameters:
lhs - the first float
rhs - the second float
Returns:
-1 if lhs is less, +1 if greater, - 0 if equal to rhs
-
-
-
- -

-isDigits

-
-public static boolean isDigits(String str)
-
-

Checks whether the String contains only - digit characters.

- -

Null and empty String will return - false.

-
Parameters:
str - the String to check
Returns:
true if str contains only unicode numeric
-
-
-
- -

-isNumber

-
-public static boolean isNumber(String str)
-
-

Checks whether the String a valid Java number.

- -

Valid numbers include hexadecimal marked with the 0x - qualifier, scientific notation and numbers marked with a type - qualifier (e.g. 123L).

- -

Null and empty String will return - false.

-
Parameters:
str - the String to check
Returns:
true if the string is a correctly formatted number
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/RandomUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/RandomUtils.html deleted file mode 100644 index 0212d8b5..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/RandomUtils.html +++ /dev/null @@ -1,496 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class RandomUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class RandomUtils

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.RandomUtils
-
-
-
-
public class RandomUtils
extends Object
- -

-

RandomUtils is a wrapper that supports all possible - Random methods via the java.lang.Math#random() - method and its system-wide Random object. -

-

-
Since:
2.0
-
Version:
$Id: RandomUtils.java 471626 2006-11-06 04:02:09Z bayard $
-
Author:
Gary D. Gregory
-
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-static RandomJVM_RANDOM - -
-          An instance of JVMRandom.
-  - - - - - - - - - - -
-Constructor Summary
RandomUtils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static booleannextBoolean() - -
-          Returns the next pseudorandom, uniformly distributed boolean value - from the Math.random() sequence.
-static booleannextBoolean(Random random) - -
-          Returns the next pseudorandom, uniformly distributed boolean value - from the given random sequence.
-static doublenextDouble() - -
-          Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence.
-static doublenextDouble(Random random) - -
-          Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the given Random - sequence.
-static floatnextFloat() - -
-          Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence.
-static floatnextFloat(Random random) - -
-          Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the given Random - sequence.
-static intnextInt() - -
-          Returns the next pseudorandom, uniformly distributed int value - from the Math.random() sequence.
-static intnextInt(int n) - -
-          Returns a pseudorandom, uniformly distributed int value - between 0 (inclusive) and the specified value - (exclusive), from the Math.random() sequence.
-static intnextInt(Random random) - -
-          Returns the next pseudorandom, uniformly distributed int value - from the given random sequence.
-static intnextInt(Random random, - int n) - -
-          Returns a pseudorandom, uniformly distributed int value - between 0 (inclusive) and the specified value - (exclusive), from the given Random sequence.
-static longnextLong() - -
-          Returns the next pseudorandom, uniformly distributed long value - from the Math.random() sequence.
-static longnextLong(Random random) - -
-          Returns the next pseudorandom, uniformly distributed long value - from the given Random sequence.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-JVM_RANDOM

-
-public static final Random JVM_RANDOM
-
-
An instance of JVMRandom.
- - - - - - - - -
-Constructor Detail
- -

-RandomUtils

-
-public RandomUtils()
-
-
- - - - - - - - -
-Method Detail
- -

-nextInt

-
-public static int nextInt()
-
-

Returns the next pseudorandom, uniformly distributed int value - from the Math.random() sequence.

-
Returns:
the random int
-
-
-
- -

-nextInt

-
-public static int nextInt(Random random)
-
-

Returns the next pseudorandom, uniformly distributed int value - from the given random sequence.

-
Parameters:
random - the Random sequence generator.
Returns:
the random int
-
-
-
- -

-nextInt

-
-public static int nextInt(int n)
-
-

Returns a pseudorandom, uniformly distributed int value - between 0 (inclusive) and the specified value - (exclusive), from the Math.random() sequence.

-
Parameters:
n - the specified exclusive max-value
Returns:
the random int
-
-
-
- -

-nextInt

-
-public static int nextInt(Random random,
-                          int n)
-
-

Returns a pseudorandom, uniformly distributed int value - between 0 (inclusive) and the specified value - (exclusive), from the given Random sequence.

-
Parameters:
random - the Random sequence generator.
n - the specified exclusive max-value
Returns:
the random int
-
-
-
- -

-nextLong

-
-public static long nextLong()
-
-

Returns the next pseudorandom, uniformly distributed long value - from the Math.random() sequence.

-
Returns:
the random long
-
-
-
- -

-nextLong

-
-public static long nextLong(Random random)
-
-

Returns the next pseudorandom, uniformly distributed long value - from the given Random sequence.

-
Parameters:
random - the Random sequence generator.
Returns:
the random long
-
-
-
- -

-nextBoolean

-
-public static boolean nextBoolean()
-
-

Returns the next pseudorandom, uniformly distributed boolean value - from the Math.random() sequence.

-
Returns:
the random boolean
-
-
-
- -

-nextBoolean

-
-public static boolean nextBoolean(Random random)
-
-

Returns the next pseudorandom, uniformly distributed boolean value - from the given random sequence.

-
Parameters:
random - the Random sequence generator.
Returns:
the random boolean
-
-
-
- -

-nextFloat

-
-public static float nextFloat()
-
-

Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence.

-
Returns:
the random float
-
-
-
- -

-nextFloat

-
-public static float nextFloat(Random random)
-
-

Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the given Random - sequence.

-
Parameters:
random - the Random sequence generator.
Returns:
the random float
-
-
-
- -

-nextDouble

-
-public static double nextDouble()
-
-

Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the Math.random() - sequence.

-
Returns:
the random double
-
-
-
- -

-nextDouble

-
-public static double nextDouble(Random random)
-
-

Returns the next pseudorandom, uniformly distributed float value - between 0.0 and 1.0 from the given Random - sequence.

-
Parameters:
random - the Random sequence generator.
Returns:
the random double
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/Range.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/Range.html deleted file mode 100644 index 98293138..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/Range.html +++ /dev/null @@ -1,792 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class Range - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.math -
-Class Range

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.math.Range
-
-
-
Direct Known Subclasses:
DoubleRange, FloatRange, IntRange, LongRange, NumberRange
-
-
-
-
public abstract class Range
extends Object
- -

-

Range represents a range of numbers of the same type.

- -

Specific subclasses hold the range values as different types. Each - subclass should be immutable and Serializable - if possible.

-

-

-
Since:
2.0
-
Version:
$Id: Range.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Stephen Colebourne
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Range() - -
-          Constructs a new range.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancontainsDouble(double value) - -
-          Tests whether the specified double occurs within - this range using double comparison.
- booleancontainsDouble(Number value) - -
-          Tests whether the specified Number occurs within - this range using double comparison..
- booleancontainsFloat(float value) - -
-          Tests whether the specified float occurs within - this range using float comparison.
- booleancontainsFloat(Number value) - -
-          Tests whether the specified Number occurs within - this range using float comparison.
- booleancontainsInteger(int value) - -
-          Tests whether the specified int occurs within - this range using int comparison.
- booleancontainsInteger(Number value) - -
-          Tests whether the specified Number occurs within - this range using int comparison..
- booleancontainsLong(long value) - -
-          Tests whether the specified long occurs within - this range using long comparison.
- booleancontainsLong(Number value) - -
-          Tests whether the specified Number occurs within - this range using long comparison..
-abstract  booleancontainsNumber(Number number) - -
-          Tests whether the specified Number occurs within - this range.
- booleancontainsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range.
- booleanequals(Object obj) - -
-          Compares this range to another object to test if they are equal.
- doublegetMaximumDouble() - -
-          Gets the maximum number in this range as a double.
- floatgetMaximumFloat() - -
-          Gets the maximum number in this range as a float.
- intgetMaximumInteger() - -
-          Gets the maximum number in this range as a int.
- longgetMaximumLong() - -
-          Gets the maximum number in this range as a long.
-abstract  NumbergetMaximumNumber() - -
-          Gets the maximum number in this range.
- doublegetMinimumDouble() - -
-          Gets the minimum number in this range as a double.
- floatgetMinimumFloat() - -
-          Gets the minimum number in this range as a float.
- intgetMinimumInteger() - -
-          Gets the minimum number in this range as a int.
- longgetMinimumLong() - -
-          Gets the minimum number in this range as a long.
-abstract  NumbergetMinimumNumber() - -
-          Gets the minimum number in this range.
- inthashCode() - -
-          Gets a hashCode for the range.
- booleanoverlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range.
- StringtoString() - -
-          Gets the range as a String.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Range

-
-public Range()
-
-

Constructs a new range.

- - - - - - - - -
-Method Detail
- -

-getMinimumNumber

-
-public abstract Number getMinimumNumber()
-
-

Gets the minimum number in this range.

-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumLong

-
-public long getMinimumLong()
-
-

Gets the minimum number in this range as a long.

- -

This implementation uses the getMinimumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumInteger

-
-public int getMinimumInteger()
-
-

Gets the minimum number in this range as a int.

- -

This implementation uses the getMinimumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumDouble

-
-public double getMinimumDouble()
-
-

Gets the minimum number in this range as a double.

- -

This implementation uses the getMinimumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the minimum number in this range
-
-
-
- -

-getMinimumFloat

-
-public float getMinimumFloat()
-
-

Gets the minimum number in this range as a float.

- -

This implementation uses the getMinimumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the minimum number in this range
-
-
-
- -

-getMaximumNumber

-
-public abstract Number getMaximumNumber()
-
-

Gets the maximum number in this range.

-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumLong

-
-public long getMaximumLong()
-
-

Gets the maximum number in this range as a long.

- -

This implementation uses the getMaximumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumInteger

-
-public int getMaximumInteger()
-
-

Gets the maximum number in this range as a int.

- -

This implementation uses the getMaximumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumDouble

-
-public double getMaximumDouble()
-
-

Gets the maximum number in this range as a double.

- -

This implementation uses the getMaximumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the maximum number in this range
-
-
-
- -

-getMaximumFloat

-
-public float getMaximumFloat()
-
-

Gets the maximum number in this range as a float.

- -

This implementation uses the getMaximumNumber() method. - Subclasses may be able to optimise this.

-
Returns:
the maximum number in this range
-
-
-
- -

-containsNumber

-
-public abstract boolean containsNumber(Number number)
-
-

Tests whether the specified Number occurs within - this range.

- -

The exact comparison implementation varies by subclass. It is - intended that an int specific subclass will compare using - int comparison.

- -

null is handled and returns false.

-
Parameters:
number - the number to test, may be null
Returns:
true if the specified number occurs within this range
Throws:
IllegalArgumentException - if the Number cannot be compared
-
-
-
- -

-containsLong

-
-public boolean containsLong(Number value)
-
-

Tests whether the specified Number occurs within - this range using long comparison..

- -

null is handled and returns false.

- -

This implementation forwards to the containsLong(long) method.

-
Parameters:
value - the long to test, may be null
Returns:
true if the specified number occurs within this - range by long comparison
-
-
-
- -

-containsLong

-
-public boolean containsLong(long value)
-
-

Tests whether the specified long occurs within - this range using long comparison.

- -

This implementation uses the getMinimumLong() and - getMaximumLong() methods and should be good for most uses.

-
Parameters:
value - the long to test
Returns:
true if the specified number occurs within this - range by long comparison
-
-
-
- -

-containsInteger

-
-public boolean containsInteger(Number value)
-
-

Tests whether the specified Number occurs within - this range using int comparison..

- -

null is handled and returns false.

- -

This implementation forwards to the containsInteger(int) method.

-
Parameters:
value - the integer to test, may be null
Returns:
true if the specified number occurs within this - range by int comparison
-
-
-
- -

-containsInteger

-
-public boolean containsInteger(int value)
-
-

Tests whether the specified int occurs within - this range using int comparison.

- -

This implementation uses the getMinimumInteger() and - getMaximumInteger() methods and should be good for most uses.

-
Parameters:
value - the int to test
Returns:
true if the specified number occurs within this - range by int comparison
-
-
-
- -

-containsDouble

-
-public boolean containsDouble(Number value)
-
-

Tests whether the specified Number occurs within - this range using double comparison..

- -

null is handled and returns false.

- -

This implementation forwards to the containsDouble(double) method.

-
Parameters:
value - the double to test, may be null
Returns:
true if the specified number occurs within this - range by double comparison
-
-
-
- -

-containsDouble

-
-public boolean containsDouble(double value)
-
-

Tests whether the specified double occurs within - this range using double comparison.

- -

This implementation uses the getMinimumDouble() and - getMaximumDouble() methods and should be good for most uses.

-
Parameters:
value - the double to test
Returns:
true if the specified number occurs within this - range by double comparison
-
-
-
- -

-containsFloat

-
-public boolean containsFloat(Number value)
-
-

Tests whether the specified Number occurs within - this range using float comparison.

- -

null is handled and returns false.

- -

This implementation forwards to the containsFloat(float) method.

-
Parameters:
value - the float to test, may be null
Returns:
true if the specified number occurs within this - range by float comparison
-
-
-
- -

-containsFloat

-
-public boolean containsFloat(float value)
-
-

Tests whether the specified float occurs within - this range using float comparison.

- -

This implementation uses the getMinimumFloat() and - getMaximumFloat() methods and should be good for most uses.

-
Parameters:
value - the float to test
Returns:
true if the specified number occurs within this - range by float comparison
-
-
-
- -

-containsRange

-
-public boolean containsRange(Range range)
-
-

Tests whether the specified range occurs entirely within this range.

- -

The exact comparison implementation varies by subclass. It is - intended that an int specific subclass will compare using - int comparison.

- -

null is handled and returns false.

- -

This implementation uses the containsNumber(Number) method. - Subclasses may be able to optimise this.

-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range occurs entirely within - this range; otherwise, false
Throws:
IllegalArgumentException - if the Range cannot be compared
-
-
-
- -

-overlapsRange

-
-public boolean overlapsRange(Range range)
-
-

Tests whether the specified range overlaps with this range.

- -

The exact comparison implementation varies by subclass. It is - intended that an int specific subclass will compare using - int comparison.

- -

null is handled and returns false.

- -

This implementation uses the containsNumber(Number) and - containsRange(Range) methods. - Subclasses may be able to optimise this.

-
Parameters:
range - the range to test, may be null
Returns:
true if the specified range overlaps with this - range; otherwise, false
Throws:
IllegalArgumentException - if the Range cannot be compared
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-

Compares this range to another object to test if they are equal.

. - -

To be equal, the class, minimum and maximum must be equal.

- -

This implementation uses the getMinimumNumber() and - getMaximumNumber() methods. - Subclasses may be able to optimise this.

-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the reference object with which to compare
Returns:
true if this object is equal
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-

Gets a hashCode for the range.

- -

This implementation uses the getMinimumNumber() and - getMaximumNumber() methods. - Subclasses may be able to optimise this.

-
Overrides:
hashCode in class Object
-
-
-
Returns:
a hash code value for this object
-
-
-
- -

-toString

-
-public String toString()
-
-

Gets the range as a String.

- -

The format of the String is 'Range[min,max]'.

- -

This implementation uses the getMinimumNumber() and - getMaximumNumber() methods. - Subclasses may be able to optimise this.

-
Overrides:
toString in class Object
-
-
-
Returns:
the String representation of this range
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/DoubleRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/DoubleRange.html deleted file mode 100644 index 09110b75..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/DoubleRange.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.DoubleRange - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.DoubleRange

-
-No usage of org.apache.commons.lang.math.DoubleRange -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/FloatRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/FloatRange.html deleted file mode 100644 index a803c231..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/FloatRange.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.FloatRange - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.FloatRange

-
-No usage of org.apache.commons.lang.math.FloatRange -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/Fraction.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/Fraction.html deleted file mode 100644 index 83176a10..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/Fraction.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.Fraction - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.Fraction

-
- - - - - - - - - -
-Packages that use Fraction
org.apache.commons.lang.mathExtends java.math for business mathematical classes. 
-  -

- - - - - -
-Uses of Fraction in org.apache.commons.lang.math
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fields in org.apache.commons.lang.math declared as Fraction
-static FractionFraction.ZERO - -
-          Fraction representation of 0.
-static FractionFraction.ONE - -
-          Fraction representation of 1.
-static FractionFraction.ONE_HALF - -
-          Fraction representation of 1/2.
-static FractionFraction.ONE_THIRD - -
-          Fraction representation of 1/3.
-static FractionFraction.TWO_THIRDS - -
-          Fraction representation of 2/3.
-static FractionFraction.ONE_QUARTER - -
-          Fraction representation of 1/4.
-static FractionFraction.TWO_QUARTERS - -
-          Fraction representation of 2/4.
-static FractionFraction.THREE_QUARTERS - -
-          Fraction representation of 3/4.
-static FractionFraction.ONE_FIFTH - -
-          Fraction representation of 1/5.
-static FractionFraction.TWO_FIFTHS - -
-          Fraction representation of 2/5.
-static FractionFraction.THREE_FIFTHS - -
-          Fraction representation of 3/5.
-static FractionFraction.FOUR_FIFTHS - -
-          Fraction representation of 4/5.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.math that return Fraction
-static FractionFraction.getFraction(int numerator, - int denominator) - -
-          Creates a Fraction instance with the 2 parts - of a fraction Y/Z.
-static FractionFraction.getFraction(int whole, - int numerator, - int denominator) - -
-          Creates a Fraction instance with the 3 parts - of a fraction X Y/Z.
-static FractionFraction.getReducedFraction(int numerator, - int denominator) - -
-          Creates a reduced Fraction instance with the 2 parts - of a fraction Y/Z.
-static FractionFraction.getFraction(double value) - -
-          Creates a Fraction instance from a double value.
-static FractionFraction.getFraction(String str) - -
-          Creates a Fraction from a String.
- FractionFraction.reduce() - -
-          Reduce the fraction to the smallest values for the numerator and - denominator, returning the result.
- FractionFraction.invert() - -
-          Gets a fraction that is the inverse (1/fraction) of this one.
- FractionFraction.negate() - -
-          Gets a fraction that is the negative (-fraction) of this one.
- FractionFraction.abs() - -
-          Gets a fraction that is the positive equivalent of this one.
- FractionFraction.pow(int power) - -
-          Gets a fraction that is raised to the passed in power.
- FractionFraction.add(Fraction fraction) - -
-          Adds the value of this fraction to another, returning the result in reduced form.
- FractionFraction.subtract(Fraction fraction) - -
-          Subtracts the value of another fraction from the value of this one, - returning the result in reduced form.
- FractionFraction.multiplyBy(Fraction fraction) - -
-          Multiplies the value of this fraction by another, returning the - result in reduced form.
- FractionFraction.divideBy(Fraction fraction) - -
-          Divide the value of this fraction by another.
-  -

- - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.math with parameters of type Fraction
- FractionFraction.add(Fraction fraction) - -
-          Adds the value of this fraction to another, returning the result in reduced form.
- FractionFraction.subtract(Fraction fraction) - -
-          Subtracts the value of another fraction from the value of this one, - returning the result in reduced form.
- FractionFraction.multiplyBy(Fraction fraction) - -
-          Multiplies the value of this fraction by another, returning the - result in reduced form.
- FractionFraction.divideBy(Fraction fraction) - -
-          Divide the value of this fraction by another.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/IntRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/IntRange.html deleted file mode 100644 index ea9621ee..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/IntRange.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.IntRange - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.IntRange

-
-No usage of org.apache.commons.lang.math.IntRange -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/JVMRandom.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/JVMRandom.html deleted file mode 100644 index 201feb52..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/JVMRandom.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.JVMRandom - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.JVMRandom

-
-No usage of org.apache.commons.lang.math.JVMRandom -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/LongRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/LongRange.html deleted file mode 100644 index 786064b8..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/LongRange.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.LongRange - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.LongRange

-
-No usage of org.apache.commons.lang.math.LongRange -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/NumberRange.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/NumberRange.html deleted file mode 100644 index e70cbd21..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/NumberRange.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.NumberRange - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.NumberRange

-
-No usage of org.apache.commons.lang.math.NumberRange -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/NumberUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/NumberUtils.html deleted file mode 100644 index fd887912..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/NumberUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.NumberUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.NumberUtils

-
-No usage of org.apache.commons.lang.math.NumberUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/RandomUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/RandomUtils.html deleted file mode 100644 index aac13bfc..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/RandomUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.RandomUtils - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.RandomUtils

-
-No usage of org.apache.commons.lang.math.RandomUtils -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/Range.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/Range.html deleted file mode 100644 index 3f918996..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/class-use/Range.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.math.Range - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.math.Range

-
- - - - - - - - - -
-Packages that use Range
org.apache.commons.lang.mathExtends java.math for business mathematical classes. 
-  -

- - - - - -
-Uses of Range in org.apache.commons.lang.math
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - -
Subclasses of Range in org.apache.commons.lang.math
- classDoubleRange - -
-          DoubleRange represents an inclusive range of doubles.
- classFloatRange - -
-          FloatRange represents an inclusive range of floats.
- classIntRange - -
-          IntRange represents an inclusive range of ints.
- classLongRange - -
-          LongRange represents an inclusive range of longs.
- classNumberRange - -
-          NumberRange represents an inclusive range of - Number objects of the same type.
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Methods in org.apache.commons.lang.math with parameters of type Range
- booleanRange.containsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range.
- booleanRange.overlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range.
- booleanLongRange.containsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using long comparison.
- booleanLongRange.overlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using long comparison.
- booleanDoubleRange.containsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using double comparison.
- booleanDoubleRange.overlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using double comparison.
- booleanFloatRange.containsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using float comparison.
- booleanFloatRange.overlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using float comparison.
- booleanIntRange.containsRange(Range range) - -
-          Tests whether the specified range occurs entirely within this range - using int comparison.
- booleanIntRange.overlapsRange(Range range) - -
-          Tests whether the specified range overlaps with this range - using int comparison.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-frame.html deleted file mode 100644 index 7013936c..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.math - - - - - -org.apache.commons.lang.math - - - - -
-Classes  - -
-DoubleRange -
-FloatRange -
-Fraction -
-IntRange -
-JVMRandom -
-LongRange -
-NumberRange -
-NumberUtils -
-RandomUtils -
-Range
- - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-summary.html deleted file mode 100644 index ed5e1c94..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-summary.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.math - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package org.apache.commons.lang.math -

-Extends java.math for business mathematical classes. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
DoubleRangeDoubleRange represents an inclusive range of doubles.
FloatRangeFloatRange represents an inclusive range of floats.
FractionFraction is a Number implementation that - stores fractions accurately.
IntRangeIntRange represents an inclusive range of ints.
JVMRandomJVMRandom is a wrapper that supports all possible - Random methods via the java.lang.Math#random() method - and its system-wide Random object.
LongRangeLongRange represents an inclusive range of longs.
NumberRangeNumberRange represents an inclusive range of - Number objects of the same type.
NumberUtilsProvides extra functionality for Java Number classes.
RandomUtilsRandomUtils is a wrapper that supports all possible - Random methods via the java.lang.Math#random() - method and its system-wide Random object.
RangeRange represents a range of numbers of the same type.
-  - -

-

-Package org.apache.commons.lang.math Description -

- -

-Extends java.math for business mathematical classes. This package is intended for business -mathematical use, not scientific use. -

-

-
Since:
2.0
-
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-tree.html deleted file mode 100644 index f2b657c0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-tree.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.math Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package org.apache.commons.lang.math -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-use.html deleted file mode 100644 index 0f8be78f..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/math/package-use.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.math - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Package
org.apache.commons.lang.math

-
- - - - - - - - - -
-Packages that use org.apache.commons.lang.math
org.apache.commons.lang.mathExtends java.math for business mathematical classes. 
-  -

- - - - - - - - - - - -
-Classes in org.apache.commons.lang.math used by org.apache.commons.lang.math
Fraction - -
-          Fraction is a Number implementation that - stores fractions accurately.
Range - -
-          Range represents a range of numbers of the same type.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/Mutable.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/Mutable.html deleted file mode 100644 index 0b90b3f3..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/Mutable.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Interface Mutable - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Interface Mutable

-
-
All Known Implementing Classes:
MutableByte, MutableShort, MutableDouble, MutableInt, MutableFloat, MutableObject, MutableLong, MutableBoolean
-
-
-
-
public interface Mutable
- -

-Provides mutable access to a value. -

- Mutable is used as a generic interface to the implementations in this package. -

- A typical use case would be to enable a primitive or string to be passed to a method and allow that method to - effectively change the value of the primitive/string. Another use case is to store a frequently changing primitive in - a collection (for example a total in a map) without needing to create new Integer/Long wrapper objects. -

-

-
Since:
2.1
-
Version:
$Id: Mutable.java 437554 2006-08-28 06:21:41Z bayard $
-
Author:
Matthew Hawthorne
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ObjectgetValue() - -
-          Gets the value of this mutable.
- voidsetValue(Object value) - -
-          Sets the value of this mutable.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value of this mutable.
-
Returns:
the stored value
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value of this mutable.
-
Parameters:
value - the value to store
Throws:
NullPointerException - if the object is null and null is invalid
ClassCastException - if the type is invalid
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableBoolean.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableBoolean.html deleted file mode 100644 index 97f6955d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableBoolean.html +++ /dev/null @@ -1,417 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableBoolean - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableBoolean

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.mutable.MutableBoolean
-
-
-
All Implemented Interfaces:
Comparable, Mutable, Serializable
-
-
-
-
public class MutableBoolean
extends Object
implements Mutable, Serializable, Comparable
- -

-A mutable boolean wrapper. -

-

-
Since:
2.2
-
Version:
$Id: MutableBoolean.java 491052 2006-12-29 17:16:37Z scolebourne $
-
Author:
Apache Software Foundation
-
See Also:
Boolean, Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableBoolean() - -
-          Constructs a new MutableBoolean with the default value of false.
MutableBoolean(boolean value) - -
-          Constructs a new MutableBoolean with the specified value.
MutableBoolean(Boolean value) - -
-          Constructs a new MutableBoolean with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanbooleanValue() - -
-          Returns the value of this MutableBoolean as a boolean.
- intcompareTo(Object obj) - -
-          Compares this mutable to another in ascending order.
- booleanequals(Object obj) - -
-          Compares this object to the specified object.
- ObjectgetValue() - -
-          Gets the value as a Boolean instance.
- inthashCode() - -
-          Returns a suitable hashcode for this mutable.
- voidsetValue(boolean value) - -
-          Sets the value.
- voidsetValue(Object value) - -
-          Sets the value from any Boolean instance.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableBoolean

-
-public MutableBoolean()
-
-
Constructs a new MutableBoolean with the default value of false.
-
- -

-MutableBoolean

-
-public MutableBoolean(boolean value)
-
-
Constructs a new MutableBoolean with the specified value.
-
Parameters:
value - a value.
-
-
-
- -

-MutableBoolean

-
-public MutableBoolean(Boolean value)
-
-
Constructs a new MutableBoolean with the specified value.
-
Parameters:
value - a value.
Throws:
NullPointerException - if the object is null
-
-
- - - - - - - - -
-Method Detail
- -

-booleanValue

-
-public boolean booleanValue()
-
-
Returns the value of this MutableBoolean as a boolean.
-
-
-
-
Returns:
the boolean value represented by this object.
-
-
-
- -

-compareTo

-
-public int compareTo(Object obj)
-
-
Compares this mutable to another in ascending order.
-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
obj - the mutable to compare to
Returns:
zero if this object represents the same boolean value as the argument; a positive value if this object - represents true and the argument represents false; and a negative value if this object represents false - and the argument represents true
Throws:
ClassCastException - if the argument is not a MutableInt
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object to the specified object. The result is true if and only if the argument is - not null and is an MutableBoolean object that contains the same - boolean value as this object.
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
-
-
-
- -

-getValue

-
-public Object getValue()
-
-
Gets the value as a Boolean instance.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value as a Boolean
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns a suitable hashcode for this mutable.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
the integer 1231 if this object represents true; returns the integer - 1237 if this object represents false.
-
-
-
- -

-setValue

-
-public void setValue(boolean value)
-
-
Sets the value.
-
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value from any Boolean instance.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
Throws:
NullPointerException - if the object is null
ClassCastException - if the type is not a Boolean
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableByte.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableByte.html deleted file mode 100644 index 98b3ca81..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableByte.html +++ /dev/null @@ -1,672 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableByte - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableByte

-
-java.lang.Object
-  |
-  +--java.lang.Number
-        |
-        +--org.apache.commons.lang.mutable.MutableByte
-
-
-
All Implemented Interfaces:
Comparable, Mutable, Serializable
-
-
-
-
public class MutableByte
extends Number
implements Comparable, Mutable
- -

-A mutable byte wrapper. -

-

-
Since:
2.1
-
Version:
$Id: MutableByte.java 437554 2006-08-28 06:21:41Z bayard $
-
See Also:
Byte, Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableByte() - -
-          Constructs a new MutableByte with the default value of zero.
MutableByte(byte value) - -
-          Constructs a new MutableByte with the specified value.
MutableByte(Number value) - -
-          Constructs a new MutableByte with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(byte operand) - -
-          Adds a value.
- voidadd(Number operand) - -
-          Adds a value.
- bytebyteValue() - -
-          Returns the value of this MutableByte as a byte.
- intcompareTo(Object obj) - -
-          Compares this mutable to another in ascending order.
- voiddecrement() - -
-          Decrements the value.
- doubledoubleValue() - -
-          Returns the value of this MutableByte as a double.
- booleanequals(Object obj) - -
-          Compares this object against the specified object.
- floatfloatValue() - -
-          Returns the value of this MutableByte as a float.
- ObjectgetValue() - -
-          Gets the value as a Byte instance.
- inthashCode() - -
-          Returns a suitable hashcode for this mutable.
- voidincrement() - -
-          Increments the value.
- intintValue() - -
-          Returns the value of this MutableByte as a int.
- longlongValue() - -
-          Returns the value of this MutableByte as a long.
- voidsetValue(byte value) - -
-          Sets the value.
- voidsetValue(Object value) - -
-          Sets the value from any Number instance.
- voidsubtract(byte operand) - -
-          Subtracts a value.
- voidsubtract(Number operand) - -
-          Subtracts a value.
- BytetoByte() - -
-          Gets this mutable as an instance of Byte.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Number
shortValue
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableByte

-
-public MutableByte()
-
-
Constructs a new MutableByte with the default value of zero.
-
- -

-MutableByte

-
-public MutableByte(byte value)
-
-
Constructs a new MutableByte with the specified value.
-
Parameters:
value - a value.
-
-
-
- -

-MutableByte

-
-public MutableByte(Number value)
-
-
Constructs a new MutableByte with the specified value.
-
Parameters:
value - a value.
Throws:
NullPointerException - if the object is null
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value as a Byte instance.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value as a Byte
-
-
-
- -

-setValue

-
-public void setValue(byte value)
-
-
Sets the value.
-
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value from any Number instance.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
Throws:
NullPointerException - if the object is null
ClassCastException - if the type is not a Number
-
-
-
- -

-byteValue

-
-public byte byteValue()
-
-
Returns the value of this MutableByte as a byte.
-
Overrides:
byteValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type byte.
-
-
-
- -

-intValue

-
-public int intValue()
-
-
Returns the value of this MutableByte as a int.
-
Overrides:
intValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type int.
-
-
-
- -

-longValue

-
-public long longValue()
-
-
Returns the value of this MutableByte as a long.
-
Overrides:
longValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type long.
-
-
-
- -

-floatValue

-
-public float floatValue()
-
-
Returns the value of this MutableByte as a float.
-
Overrides:
floatValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type float.
-
-
-
- -

-doubleValue

-
-public double doubleValue()
-
-
Returns the value of this MutableByte as a double.
-
Overrides:
doubleValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type double.
-
-
-
- -

-toByte

-
-public Byte toByte()
-
-
Gets this mutable as an instance of Byte.
-
-
-
-
Returns:
a Byte instance containing the value from this mutable
-
-
-
- -

-increment

-
-public void increment()
-
-
Increments the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-decrement

-
-public void decrement()
-
-
Decrements the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(byte operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(Number operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(byte operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(Number operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object against the specified object. The result is true if and only if the argument - is not null and is a MutableByte object that contains the same byte - value as this object.
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns a suitable hashcode for this mutable.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashcode
-
-
-
- -

-compareTo

-
-public int compareTo(Object obj)
-
-
Compares this mutable to another in ascending order.
-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
obj - the mutable to compare to
Returns:
negative if this is less, zero if equal, positive if greater
Throws:
ClassCastException - if the argument is not a MutableByte
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableDouble.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableDouble.html deleted file mode 100644 index 22c8534a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableDouble.html +++ /dev/null @@ -1,715 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableDouble - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableDouble

-
-java.lang.Object
-  |
-  +--java.lang.Number
-        |
-        +--org.apache.commons.lang.mutable.MutableDouble
-
-
-
All Implemented Interfaces:
Comparable, Mutable, Serializable
-
-
-
-
public class MutableDouble
extends Number
implements Comparable, Mutable
- -

-A mutable double wrapper. -

-

-
Since:
2.1
-
Version:
$Id: MutableDouble.java 437554 2006-08-28 06:21:41Z bayard $
-
See Also:
Double, Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableDouble() - -
-          Constructs a new MutableDouble with the default value of zero.
MutableDouble(double value) - -
-          Constructs a new MutableDouble with the specified value.
MutableDouble(Number value) - -
-          Constructs a new MutableDouble with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(double operand) - -
-          Adds a value.
- voidadd(Number operand) - -
-          Adds a value.
- intcompareTo(Object obj) - -
-          Compares this mutable to another in ascending order.
- voiddecrement() - -
-          Decrements the value.
- doubledoubleValue() - -
-          Returns the value of this MutableDouble as a double.
- booleanequals(Object obj) - -
-          Compares this object against the specified object.
- floatfloatValue() - -
-          Returns the value of this MutableDouble as a float.
- ObjectgetValue() - -
-          Gets the value as a Double instance.
- inthashCode() - -
-          Returns a suitable hashcode for this mutable.
- voidincrement() - -
-          Increments the value.
- intintValue() - -
-          Returns the value of this MutableDouble as a int.
- booleanisInfinite() - -
-          Checks whether the double value is infinite.
- booleanisNaN() - -
-          Checks whether the double value is the special NaN value.
- longlongValue() - -
-          Returns the value of this MutableDouble as a long.
- voidsetValue(double value) - -
-          Sets the value.
- voidsetValue(Object value) - -
-          Sets the value from any Number instance.
- voidsubtract(double operand) - -
-          Subtracts a value.
- voidsubtract(Number operand) - -
-          Subtracts a value.
- DoubletoDouble() - -
-          Gets this mutable as an instance of Double.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Number
byteValue, shortValue
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableDouble

-
-public MutableDouble()
-
-
Constructs a new MutableDouble with the default value of zero.
-
- -

-MutableDouble

-
-public MutableDouble(double value)
-
-
Constructs a new MutableDouble with the specified value.
-
Parameters:
value - a value.
-
-
-
- -

-MutableDouble

-
-public MutableDouble(Number value)
-
-
Constructs a new MutableDouble with the specified value.
-
Parameters:
value - a value.
Throws:
NullPointerException - if the object is null
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value as a Double instance.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value as a Double
-
-
-
- -

-setValue

-
-public void setValue(double value)
-
-
Sets the value.
-
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value from any Number instance.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
Throws:
NullPointerException - if the object is null
ClassCastException - if the type is not a Number
-
-
-
- -

-intValue

-
-public int intValue()
-
-
Returns the value of this MutableDouble as a int.
-
Overrides:
intValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type int.
-
-
-
- -

-longValue

-
-public long longValue()
-
-
Returns the value of this MutableDouble as a long.
-
Overrides:
longValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type long.
-
-
-
- -

-floatValue

-
-public float floatValue()
-
-
Returns the value of this MutableDouble as a float.
-
Overrides:
floatValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type float.
-
-
-
- -

-doubleValue

-
-public double doubleValue()
-
-
Returns the value of this MutableDouble as a double.
-
Overrides:
doubleValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type double.
-
-
-
- -

-isNaN

-
-public boolean isNaN()
-
-
Checks whether the double value is the special NaN value.
-
-
-
-
Returns:
true if NaN
-
-
-
- -

-isInfinite

-
-public boolean isInfinite()
-
-
Checks whether the double value is infinite.
-
-
-
-
Returns:
true if infinite
-
-
-
- -

-toDouble

-
-public Double toDouble()
-
-
Gets this mutable as an instance of Double.
-
-
-
-
Returns:
a Double instance containing the value from this mutable
-
-
-
- -

-increment

-
-public void increment()
-
-
Increments the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-decrement

-
-public void decrement()
-
-
Decrements the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(double operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(Number operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(double operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(Number operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object against the specified object. The result is true if and only if the argument - is not null and is a Double object that represents a double that has the identical - bit pattern to the bit pattern of the double represented by this object. For this purpose, two - double values are considered to be the same if and only if the method - Double.doubleToLongBits(double)returns the same long value when applied to each. -

- Note that in most cases, for two instances of class Double,d1 and d2, - the value of d1.equals(d2) is true if and only if

- -
-   d1.doubleValue() == d2.doubleValue()
- 
- -
-

- also has the value true. However, there are two exceptions: -

    -
  • If d1 and d2 both represent Double.NaN, then the - equals method returns true, even though Double.NaN==Double.NaN has - the value false. -
  • If d1 represents +0.0 while d2 represents -0.0, - or vice versa, the equal test has the value false, even though - +0.0==-0.0 has the value true. This allows hashtables to operate properly. -
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns a suitable hashcode for this mutable.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashcode
-
-
-
- -

-compareTo

-
-public int compareTo(Object obj)
-
-
Compares this mutable to another in ascending order.
-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
obj - the mutable to compare to
Returns:
negative if this is less, zero if equal, positive if greater
Throws:
ClassCastException - if the argument is not a MutableDouble
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableFloat.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableFloat.html deleted file mode 100644 index ffacea83..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableFloat.html +++ /dev/null @@ -1,716 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableFloat - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableFloat

-
-java.lang.Object
-  |
-  +--java.lang.Number
-        |
-        +--org.apache.commons.lang.mutable.MutableFloat
-
-
-
All Implemented Interfaces:
Comparable, Mutable, Serializable
-
-
-
-
public class MutableFloat
extends Number
implements Comparable, Mutable
- -

-A mutable float wrapper. -

-

-
Since:
2.1
-
Version:
$Id: MutableFloat.java 437554 2006-08-28 06:21:41Z bayard $
-
See Also:
Float, Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableFloat() - -
-          Constructs a new MutableFloat with the default value of zero.
MutableFloat(float value) - -
-          Constructs a new MutableFloat with the specified value.
MutableFloat(Number value) - -
-          Constructs a new MutableFloat with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(float operand) - -
-          Adds a value.
- voidadd(Number operand) - -
-          Adds a value.
- intcompareTo(Object obj) - -
-          Compares this mutable to another in ascending order.
- voiddecrement() - -
-          Decrements the value.
- doubledoubleValue() - -
-          Returns the value of this MutableFloat as a double.
- booleanequals(Object obj) - -
-          Compares this object against some other object.
- floatfloatValue() - -
-          Returns the value of this MutableFloat as a float.
- ObjectgetValue() - -
-          Gets the value as a Float instance.
- inthashCode() - -
-          Returns a suitable hashcode for this mutable.
- voidincrement() - -
-          Increments the value.
- intintValue() - -
-          Returns the value of this MutableFloat as a int.
- booleanisInfinite() - -
-          Checks whether the float value is infinite.
- booleanisNaN() - -
-          Checks whether the float value is the special NaN value.
- longlongValue() - -
-          Returns the value of this MutableFloat as a long.
- voidsetValue(float value) - -
-          Sets the value.
- voidsetValue(Object value) - -
-          Sets the value from any Number instance.
- voidsubtract(float operand) - -
-          Subtracts a value.
- voidsubtract(Number operand) - -
-          Subtracts a value.
- FloattoFloat() - -
-          Gets this mutable as an instance of Float.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Number
byteValue, shortValue
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableFloat

-
-public MutableFloat()
-
-
Constructs a new MutableFloat with the default value of zero.
-
- -

-MutableFloat

-
-public MutableFloat(float value)
-
-
Constructs a new MutableFloat with the specified value.
-
Parameters:
value - a value.
-
-
-
- -

-MutableFloat

-
-public MutableFloat(Number value)
-
-
Constructs a new MutableFloat with the specified value.
-
Parameters:
value - a value.
Throws:
NullPointerException - if the object is null
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value as a Float instance.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value as a Float
-
-
-
- -

-setValue

-
-public void setValue(float value)
-
-
Sets the value.
-
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value from any Number instance.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
Throws:
NullPointerException - if the object is null
ClassCastException - if the type is not a Number
-
-
-
- -

-increment

-
-public void increment()
-
-
Increments the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-decrement

-
-public void decrement()
-
-
Decrements the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(float operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(Number operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(float operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(Number operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-intValue

-
-public int intValue()
-
-
Returns the value of this MutableFloat as a int.
-
Overrides:
intValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type int.
-
-
-
- -

-longValue

-
-public long longValue()
-
-
Returns the value of this MutableFloat as a long.
-
Overrides:
longValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type long.
-
-
-
- -

-floatValue

-
-public float floatValue()
-
-
Returns the value of this MutableFloat as a float.
-
Overrides:
floatValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type float.
-
-
-
- -

-doubleValue

-
-public double doubleValue()
-
-
Returns the value of this MutableFloat as a double.
-
Overrides:
doubleValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type double.
-
-
-
- -

-isNaN

-
-public boolean isNaN()
-
-
Checks whether the float value is the special NaN value.
-
-
-
-
Returns:
true if NaN
-
-
-
- -

-isInfinite

-
-public boolean isInfinite()
-
-
Checks whether the float value is infinite.
-
-
-
-
Returns:
true if infinite
-
-
-
- -

-toFloat

-
-public Float toFloat()
-
-
Gets this mutable as an instance of Float.
-
-
-
-
Returns:
a Float instance containing the value from this mutable
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object against some other object. The result is true if and only if the argument is - not null and is a Float object that represents a float that has the - identical bit pattern to the bit pattern of the float represented by this object. For this - purpose, two float values are considered to be the same if and only if the method - Float.floatToIntBits(float)returns the same int value when applied to each. -

- Note that in most cases, for two instances of class Float,f1 and f2, - the value of f1.equals(f2) is true if and only if

- -
-   f1.floatValue() == f2.floatValue()
- 
- -
-

- also has the value true. However, there are two exceptions: -

    -
  • If f1 and f2 both represent Float.NaN, then the - equals method returns true, even though Float.NaN==Float.NaN has - the value false. -
  • If f1 represents +0.0f while f2 represents -0.0f, - or vice versa, the equal test has the value false, even though - 0.0f==-0.0f has the value true. -
- This definition allows hashtables to operate properly.
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to be compared
Returns:
true if the objects are the same; false otherwise.
See Also:
Float.floatToIntBits(float)
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns a suitable hashcode for this mutable.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashcode
-
-
-
- -

-compareTo

-
-public int compareTo(Object obj)
-
-
Compares this mutable to another in ascending order.
-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
obj - the mutable to compare to
Returns:
negative if this is less, zero if equal, positive if greater
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableInt.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableInt.html deleted file mode 100644 index 2dfb416b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableInt.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableInt - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableInt

-
-java.lang.Object
-  |
-  +--java.lang.Number
-        |
-        +--org.apache.commons.lang.mutable.MutableInt
-
-
-
All Implemented Interfaces:
Comparable, Mutable, Serializable
-
-
-
-
public class MutableInt
extends Number
implements Comparable, Mutable
- -

-A mutable int wrapper. -

-

-
Since:
2.1
-
Version:
$Id: MutableInt.java 437554 2006-08-28 06:21:41Z bayard $
-
See Also:
Integer, Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableInt() - -
-          Constructs a new MutableInt with the default value of zero.
MutableInt(int value) - -
-          Constructs a new MutableInt with the specified value.
MutableInt(Number value) - -
-          Constructs a new MutableInt with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(int operand) - -
-          Adds a value.
- voidadd(Number operand) - -
-          Adds a value.
- intcompareTo(Object obj) - -
-          Compares this mutable to another in ascending order.
- voiddecrement() - -
-          Decrements the value.
- doubledoubleValue() - -
-          Returns the value of this MutableInt as a double.
- booleanequals(Object obj) - -
-          Compares this object to the specified object.
- floatfloatValue() - -
-          Returns the value of this MutableInt as a float.
- ObjectgetValue() - -
-          Gets the value as a Integer instance.
- inthashCode() - -
-          Returns a suitable hashcode for this mutable.
- voidincrement() - -
-          Increments the value.
- intintValue() - -
-          Returns the value of this MutableInt as a int.
- longlongValue() - -
-          Returns the value of this MutableInt as a long.
- voidsetValue(int value) - -
-          Sets the value.
- voidsetValue(Object value) - -
-          Sets the value from any Number instance.
- voidsubtract(int operand) - -
-          Subtracts a value.
- voidsubtract(Number operand) - -
-          Subtracts a value.
- IntegertoInteger() - -
-          Gets this mutable as an instance of Integer.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Number
byteValue, shortValue
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableInt

-
-public MutableInt()
-
-
Constructs a new MutableInt with the default value of zero.
-
- -

-MutableInt

-
-public MutableInt(int value)
-
-
Constructs a new MutableInt with the specified value.
-
Parameters:
value - a value.
-
-
-
- -

-MutableInt

-
-public MutableInt(Number value)
-
-
Constructs a new MutableInt with the specified value.
-
Parameters:
value - a value.
Throws:
NullPointerException - if the object is null
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value as a Integer instance.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value as a Integer
-
-
-
- -

-setValue

-
-public void setValue(int value)
-
-
Sets the value.
-
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value from any Number instance.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
Throws:
NullPointerException - if the object is null
ClassCastException - if the type is not a Number
-
-
-
- -

-increment

-
-public void increment()
-
-
Increments the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-decrement

-
-public void decrement()
-
-
Decrements the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(int operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(Number operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(int operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(Number operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-intValue

-
-public int intValue()
-
-
Returns the value of this MutableInt as a int.
-
Overrides:
intValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type int.
-
-
-
- -

-longValue

-
-public long longValue()
-
-
Returns the value of this MutableInt as a long.
-
Overrides:
longValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type long.
-
-
-
- -

-floatValue

-
-public float floatValue()
-
-
Returns the value of this MutableInt as a float.
-
Overrides:
floatValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type float.
-
-
-
- -

-doubleValue

-
-public double doubleValue()
-
-
Returns the value of this MutableInt as a double.
-
Overrides:
doubleValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type double.
-
-
-
- -

-toInteger

-
-public Integer toInteger()
-
-
Gets this mutable as an instance of Integer.
-
-
-
-
Returns:
a Integer instance containing the value from this mutable
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object to the specified object. The result is true if and only if the argument is - not null and is an MutableInt object that contains the same int value - as this object.
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns a suitable hashcode for this mutable.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashcode
-
-
-
- -

-compareTo

-
-public int compareTo(Object obj)
-
-
Compares this mutable to another in ascending order.
-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
obj - the mutable to compare to
Returns:
negative if this is less, zero if equal, positive if greater
Throws:
ClassCastException - if the argument is not a MutableInt
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableLong.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableLong.html deleted file mode 100644 index 883a1c55..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableLong.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableLong - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableLong

-
-java.lang.Object
-  |
-  +--java.lang.Number
-        |
-        +--org.apache.commons.lang.mutable.MutableLong
-
-
-
All Implemented Interfaces:
Comparable, Mutable, Serializable
-
-
-
-
public class MutableLong
extends Number
implements Comparable, Mutable
- -

-A mutable long wrapper. -

-

-
Since:
2.1
-
Version:
$Id: MutableLong.java 437554 2006-08-28 06:21:41Z bayard $
-
See Also:
Long, Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableLong() - -
-          Constructs a new MutableLong with the default value of zero.
MutableLong(long value) - -
-          Constructs a new MutableLong with the specified value.
MutableLong(Number value) - -
-          Constructs a new MutableLong with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(long operand) - -
-          Adds a value.
- voidadd(Number operand) - -
-          Adds a value.
- intcompareTo(Object obj) - -
-          Compares this mutable to another in ascending order.
- voiddecrement() - -
-          Decrements the value.
- doubledoubleValue() - -
-          Returns the value of this MutableLong as a double.
- booleanequals(Object obj) - -
-          Compares this object against the specified object.
- floatfloatValue() - -
-          Returns the value of this MutableLong as a float.
- ObjectgetValue() - -
-          Gets the value as a Long instance.
- inthashCode() - -
-          Returns a suitable hashcode for this mutable.
- voidincrement() - -
-          Increments the value.
- intintValue() - -
-          Returns the value of this MutableLong as a int.
- longlongValue() - -
-          Returns the value of this MutableLong as a long.
- voidsetValue(long value) - -
-          Sets the value.
- voidsetValue(Object value) - -
-          Sets the value from any Number instance.
- voidsubtract(long operand) - -
-          Subtracts a value.
- voidsubtract(Number operand) - -
-          Subtracts a value.
- LongtoLong() - -
-          Gets this mutable as an instance of Long.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Number
byteValue, shortValue
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableLong

-
-public MutableLong()
-
-
Constructs a new MutableLong with the default value of zero.
-
- -

-MutableLong

-
-public MutableLong(long value)
-
-
Constructs a new MutableLong with the specified value.
-
Parameters:
value - a value.
-
-
-
- -

-MutableLong

-
-public MutableLong(Number value)
-
-
Constructs a new MutableLong with the specified value.
-
Parameters:
value - a value.
Throws:
NullPointerException - if the object is null
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value as a Long instance.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value as a Long
-
-
-
- -

-setValue

-
-public void setValue(long value)
-
-
Sets the value.
-
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value from any Number instance.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
Throws:
NullPointerException - if the object is null
ClassCastException - if the type is not a Number
-
-
-
- -

-increment

-
-public void increment()
-
-
Increments the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-decrement

-
-public void decrement()
-
-
Decrements the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(long operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(Number operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(long operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(Number operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-intValue

-
-public int intValue()
-
-
Returns the value of this MutableLong as a int.
-
Overrides:
intValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type int.
-
-
-
- -

-longValue

-
-public long longValue()
-
-
Returns the value of this MutableLong as a long.
-
Overrides:
longValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type long.
-
-
-
- -

-floatValue

-
-public float floatValue()
-
-
Returns the value of this MutableLong as a float.
-
Overrides:
floatValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type float.
-
-
-
- -

-doubleValue

-
-public double doubleValue()
-
-
Returns the value of this MutableLong as a double.
-
Overrides:
doubleValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type double.
-
-
-
- -

-toLong

-
-public Long toLong()
-
-
Gets this mutable as an instance of Long.
-
-
-
-
Returns:
a Long instance containing the value from this mutable
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object against the specified object. The result is true if and only if the argument - is not null and is a MutableLong object that contains the same long - value as this object.
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns a suitable hashcode for this mutable.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashcode
-
-
-
- -

-compareTo

-
-public int compareTo(Object obj)
-
-
Compares this mutable to another in ascending order.
-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
obj - the mutable to compare to
Returns:
negative if this is less, zero if equal, positive if greater
Throws:
ClassCastException - if the argument is not a MutableLong
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableObject.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableObject.html deleted file mode 100644 index 7835305d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableObject.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableObject - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableObject

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.mutable.MutableObject
-
-
-
All Implemented Interfaces:
Mutable, Serializable
-
-
-
-
public class MutableObject
extends Object
implements Mutable, Serializable
- -

-A mutable Object wrapper. -

-

-
Since:
2.1
-
Version:
$Id: MutableObject.java 437554 2006-08-28 06:21:41Z bayard $
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableObject() - -
-          Constructs a new MutableObject with the default value of null.
MutableObject(Object value) - -
-          Constructs a new MutableObject with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object obj) - -
-          Compares this object against the specified object.
- ObjectgetValue() - -
-          Gets the value.
- inthashCode() - -
-          Returns the value's hash code or 0 if the value is null.
- voidsetValue(Object value) - -
-          Sets the value.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableObject

-
-public MutableObject()
-
-
Constructs a new MutableObject with the default value of null.
-
- -

-MutableObject

-
-public MutableObject(Object value)
-
-
Constructs a new MutableObject with the specified value.
-
Parameters:
value - a value.
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object against the specified object. The result is true if and only if the argument - is not null and is a MutableObject object that contains the same Object - value as this object.
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns the value's hash code or 0 if the value is null.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
the value's hash code or 0 if the value is null.
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableShort.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableShort.html deleted file mode 100644 index d8f606fa..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/MutableShort.html +++ /dev/null @@ -1,672 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class MutableShort - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.mutable -
-Class MutableShort

-
-java.lang.Object
-  |
-  +--java.lang.Number
-        |
-        +--org.apache.commons.lang.mutable.MutableShort
-
-
-
All Implemented Interfaces:
Comparable, Mutable, Serializable
-
-
-
-
public class MutableShort
extends Number
implements Comparable, Mutable
- -

-A mutable short wrapper. -

-

-
Since:
2.1
-
Version:
$Id: MutableShort.java 437554 2006-08-28 06:21:41Z bayard $
-
See Also:
Short, Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
MutableShort() - -
-          Constructs a new MutableShort with the default value of zero.
MutableShort(Number value) - -
-          Constructs a new MutableShort with the specified value.
MutableShort(short value) - -
-          Constructs a new MutableShort with the specified value.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidadd(Number operand) - -
-          Adds a value.
- voidadd(short operand) - -
-          Adds a value.
- intcompareTo(Object obj) - -
-          Compares this mutable to another in ascending order.
- voiddecrement() - -
-          Decrements the value.
- doubledoubleValue() - -
-          Returns the value of this MutableShort as a double.
- booleanequals(Object obj) - -
-          Compares this object against the specified object.
- floatfloatValue() - -
-          Returns the value of this MutableShort as a float.
- ObjectgetValue() - -
-          Gets the value as a Short instance.
- inthashCode() - -
-          Returns a suitable hashcode for this mutable.
- voidincrement() - -
-          Increments the value.
- intintValue() - -
-          Returns the value of this MutableShort as a int.
- longlongValue() - -
-          Returns the value of this MutableShort as a long.
- voidsetValue(Object value) - -
-          Sets the value from any Number instance.
- voidsetValue(short value) - -
-          Sets the value.
- shortshortValue() - -
-          Returns the value of this MutableShort as a short.
- voidsubtract(Number operand) - -
-          Subtracts a value.
- voidsubtract(short operand) - -
-          Subtracts a value.
- ShorttoShort() - -
-          Gets this mutable as an instance of Short.
- StringtoString() - -
-          Returns the String value of this mutable.
- - - - - - - -
Methods inherited from class java.lang.Number
byteValue
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-MutableShort

-
-public MutableShort()
-
-
Constructs a new MutableShort with the default value of zero.
-
- -

-MutableShort

-
-public MutableShort(short value)
-
-
Constructs a new MutableShort with the specified value.
-
Parameters:
value - a value.
-
-
-
- -

-MutableShort

-
-public MutableShort(Number value)
-
-
Constructs a new MutableShort with the specified value.
-
Parameters:
value - a value.
Throws:
NullPointerException - if the object is null
-
-
- - - - - - - - -
-Method Detail
- -

-getValue

-
-public Object getValue()
-
-
Gets the value as a Short instance.
-
Specified by:
getValue in interface Mutable
-
-
-
Returns:
the value as a Short
-
-
-
- -

-setValue

-
-public void setValue(short value)
-
-
Sets the value.
-
-
-
-
Parameters:
value - the value to set
-
-
-
- -

-setValue

-
-public void setValue(Object value)
-
-
Sets the value from any Number instance.
-
Specified by:
setValue in interface Mutable
-
-
-
Parameters:
value - the value to set
Throws:
NullPointerException - if the object is null
ClassCastException - if the type is not a Number
-
-
-
- -

-increment

-
-public void increment()
-
-
Increments the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-decrement

-
-public void decrement()
-
-
Decrements the value.
-
-
-
-
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(short operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-add

-
-public void add(Number operand)
-
-
Adds a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(short operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Since:
Commons Lang 2.2
-
-
-
-
- -

-subtract

-
-public void subtract(Number operand)
-
-
Subtracts a value.
-
-
-
-
Parameters:
operand - the value to add
Throws:
NullPointerException - if the object is null
Since:
Commons Lang 2.2
-
-
-
-
- -

-shortValue

-
-public short shortValue()
-
-
Returns the value of this MutableShort as a short.
-
Overrides:
shortValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type short.
-
-
-
- -

-intValue

-
-public int intValue()
-
-
Returns the value of this MutableShort as a int.
-
Overrides:
intValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type int.
-
-
-
- -

-longValue

-
-public long longValue()
-
-
Returns the value of this MutableShort as a long.
-
Overrides:
longValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type long.
-
-
-
- -

-floatValue

-
-public float floatValue()
-
-
Returns the value of this MutableShort as a float.
-
Overrides:
floatValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type float.
-
-
-
- -

-doubleValue

-
-public double doubleValue()
-
-
Returns the value of this MutableShort as a double.
-
Overrides:
doubleValue in class Number
-
-
-
Returns:
the numeric value represented by this object after conversion to type double.
-
-
-
- -

-toShort

-
-public Short toShort()
-
-
Gets this mutable as an instance of Short.
-
-
-
-
Returns:
a Short instance containing the value from this mutable
-
-
-
- -

-equals

-
-public boolean equals(Object obj)
-
-
Compares this object against the specified object. The result is true if and only if the argument - is not null and is a MutableShort object that contains the same short - value as this object.
-
Overrides:
equals in class Object
-
-
-
Parameters:
obj - the object to compare with.
Returns:
true if the objects are the same; false otherwise.
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
Returns a suitable hashcode for this mutable.
-
Overrides:
hashCode in class Object
-
-
-
Returns:
a suitable hashcode
-
-
-
- -

-compareTo

-
-public int compareTo(Object obj)
-
-
Compares this mutable to another in ascending order.
-
Specified by:
compareTo in interface Comparable
-
-
-
Parameters:
obj - the mutable to compare to
Returns:
negative if this is less, zero if equal, positive if greater
Throws:
ClassCastException - if the argument is not a MutableShort
-
-
-
- -

-toString

-
-public String toString()
-
-
Returns the String value of this mutable.
-
Overrides:
toString in class Object
-
-
-
Returns:
the mutable value as a string
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/Mutable.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/Mutable.html deleted file mode 100644 index ef3d38d5..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/Mutable.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Interface org.apache.commons.lang.mutable.Mutable - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Interface
org.apache.commons.lang.mutable.Mutable

-
- - - - - - - - - -
-Packages that use Mutable
org.apache.commons.lang.mutableProvides typed mutable wrappers to primitive values and Object. 
-  -

- - - - - -
-Uses of Mutable in org.apache.commons.lang.mutable
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Classes in org.apache.commons.lang.mutable that implement Mutable
- classMutableBoolean - -
-          A mutable boolean wrapper.
- classMutableByte - -
-          A mutable byte wrapper.
- classMutableDouble - -
-          A mutable double wrapper.
- classMutableFloat - -
-          A mutable float wrapper.
- classMutableInt - -
-          A mutable int wrapper.
- classMutableLong - -
-          A mutable long wrapper.
- classMutableObject - -
-          A mutable Object wrapper.
- classMutableShort - -
-          A mutable short wrapper.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableBoolean.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableBoolean.html deleted file mode 100644 index d8130e71..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableBoolean.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableBoolean - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableBoolean

-
-No usage of org.apache.commons.lang.mutable.MutableBoolean -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableByte.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableByte.html deleted file mode 100644 index 8bb37907..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableByte.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableByte - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableByte

-
-No usage of org.apache.commons.lang.mutable.MutableByte -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableDouble.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableDouble.html deleted file mode 100644 index b20e9afc..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableDouble.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableDouble - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableDouble

-
-No usage of org.apache.commons.lang.mutable.MutableDouble -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableFloat.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableFloat.html deleted file mode 100644 index 5749cd87..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableFloat.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableFloat - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableFloat

-
-No usage of org.apache.commons.lang.mutable.MutableFloat -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableInt.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableInt.html deleted file mode 100644 index 43c66e8c..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableInt.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableInt - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableInt

-
-No usage of org.apache.commons.lang.mutable.MutableInt -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableLong.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableLong.html deleted file mode 100644 index 4e62b9fb..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableLong.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableLong - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableLong

-
-No usage of org.apache.commons.lang.mutable.MutableLong -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableObject.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableObject.html deleted file mode 100644 index dd9ec224..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableObject.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableObject - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableObject

-
-No usage of org.apache.commons.lang.mutable.MutableObject -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableShort.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableShort.html deleted file mode 100644 index d62362e7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/class-use/MutableShort.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.mutable.MutableShort - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Class
org.apache.commons.lang.mutable.MutableShort

-
-No usage of org.apache.commons.lang.mutable.MutableShort -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-frame.html deleted file mode 100644 index 876ec27d..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-frame.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.mutable - - - - - -org.apache.commons.lang.mutable - - - - -
-Interfaces  - -
-Mutable
- - - - - - -
-Classes  - -
-MutableBoolean -
-MutableByte -
-MutableDouble -
-MutableFloat -
-MutableInt -
-MutableLong -
-MutableObject -
-MutableShort
- - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-summary.html deleted file mode 100644 index b5c261e6..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-summary.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.mutable - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package org.apache.commons.lang.mutable -

-Provides typed mutable wrappers to primitive values and Object. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
MutableProvides mutable access to a value.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
MutableBooleanA mutable boolean wrapper.
MutableByteA mutable byte wrapper.
MutableDoubleA mutable double wrapper.
MutableFloatA mutable float wrapper.
MutableIntA mutable int wrapper.
MutableLongA mutable long wrapper.
MutableObjectA mutable Object wrapper.
MutableShortA mutable short wrapper.
-  - -

-

-Package org.apache.commons.lang.mutable Description -

- -

-Provides typed mutable wrappers to primitive values and Object. -

-

-
Since:
2.1
-
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-tree.html deleted file mode 100644 index 900482a0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-tree.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.mutable Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package org.apache.commons.lang.mutable -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

-
    -
  • interface org.apache.commons.lang.mutable.Mutable
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-use.html deleted file mode 100644 index b2766ab1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/mutable/package-use.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.mutable - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Package
org.apache.commons.lang.mutable

-
- - - - - - - - - -
-Packages that use org.apache.commons.lang.mutable
org.apache.commons.lang.mutableProvides typed mutable wrappers to primitive values and Object. 
-  -

- - - - - - - - -
-Classes in org.apache.commons.lang.mutable used by org.apache.commons.lang.mutable
Mutable - -
-          Provides mutable access to a value.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-frame.html deleted file mode 100644 index 39fd4967..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-frame.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang - - - - - -org.apache.commons.lang - - - - -
-Classes  - -
-ArrayUtils -
-BitField -
-BooleanUtils -
-CharEncoding -
-CharRange -
-CharSet -
-CharSetUtils -
-CharUtils -
-ClassUtils -
-LocaleUtils -
-NumberRange -
-NumberUtils -
-ObjectUtils -
-ObjectUtils.Null -
-RandomStringUtils -
-SerializationUtils -
-StringEscapeUtils -
-StringUtils -
-SystemUtils -
-Validate -
-WordUtils
- - - - - - -
-Exceptions  - -
-IllegalClassException -
-IncompleteArgumentException -
-NotImplementedException -
-NullArgumentException -
-SerializationException -
-UnhandledException
- - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-summary.html deleted file mode 100644 index e0389066..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-summary.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang - - - - - - - - - - - - - - - - - -
- -
- - -
-

-Package org.apache.commons.lang -

-Provides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
ArrayUtilsOperations on arrays, primitive arrays (like int[]) and - primitive wrapper arrays (like Integer[]).
BitFieldOperations on bit-mapped fields.
BooleanUtilsOperations on boolean primitives and Boolean objects.
CharEncoding - Character encoding names required of every implementation of the Java platform.
CharRangeA contiguous range of characters, optionally negated.
CharSetA set of characters.
CharSetUtilsOperations on CharSets.
CharUtilsOperations on char primitives and Character objects.
ClassUtilsOperates on classes without using reflection.
LocaleUtilsOperations to assist when working with a Locale.
NumberRangeDeprecated. Use one of the Range classes in org.apache.commons.lang.math.
NumberUtilsDeprecated. Moved to org.apache.commons.lang.math.
ObjectUtilsOperations on Object.
ObjectUtils.NullClass used as a null placeholder where null - has another meaning.
RandomStringUtilsOperations for random Strings.
SerializationUtilsAssists with the serialization process and performs additional functionality based - on serialization.
StringEscapeUtilsEscapes and unescapes Strings for - Java, Java Script, HTML, XML, and SQL.
StringUtilsOperations on String that are - null safe.
SystemUtilsHelpers for java.lang.System.
ValidateAssists in validating arguments.
WordUtilsOperations on Strings that contain words.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Exception Summary
IllegalClassExceptionThrown when an object is an instance of an unexpected type (a class or interface).
IncompleteArgumentExceptionThrown to indicate an incomplete argument to a method.
NotImplementedExceptionThrown to indicate that a block of code has not been implemented.
NullArgumentExceptionThrown to indicate that an argument was null and should - not have been.
SerializationExceptionException thrown when the Serialization process fails.
UnhandledExceptionThrown when it is impossible or undesirable to consume or throw a checked exception.
-  - -

-

-Package org.apache.commons.lang Description -

- -

-Provides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. -

-

-
Since:
1.0
-
-
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-tree.html deleted file mode 100644 index a6bb3cd4..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-tree.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang Class Hierarchy - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Hierarchy For Package org.apache.commons.lang -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-use.html deleted file mode 100644 index d55eb00b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/package-use.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang - - - - - - - - - - - - - - - - - -
- -
- - -
-
-

-Uses of Package
org.apache.commons.lang

-
- - - - - - - - - -
-Packages that use org.apache.commons.lang
org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes. 
-  -

- - - - - - - - - - - - - - - - - -
-Classes in org.apache.commons.lang used by org.apache.commons.lang
CharRange - -
-          A contiguous range of characters, optionally negated.
CharSet - -
-          A set of characters.
NumberRange - -
-          Deprecated. Use one of the Range classes in org.apache.commons.lang.math. - Class will be removed in Commons Lang 3.0.
ObjectUtils.Null - -
-          Class used as a null placeholder where null - has another meaning.
-  -

-


- - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/CompositeFormat.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/CompositeFormat.html deleted file mode 100644 index c4177eef..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/CompositeFormat.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class CompositeFormat - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.text -
-Class CompositeFormat

-
-java.lang.Object
-  |
-  +--java.text.Format
-        |
-        +--org.apache.commons.lang.text.CompositeFormat
-
-
-
All Implemented Interfaces:
Cloneable, Serializable
-
-
-
-
public class CompositeFormat
extends Format
- -

-Formats using one formatter and parses using a different formatter. - An example of use for this would be a webapp where data is taken in one way - and stored in a database another way. -

-

-
Version:
$Id: $
-
Author:
Archimedes Trajano
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
CompositeFormat(Format parser, - Format formatter) - -
-          Create a format that points its parseObject method to one implementation - and its format method to another.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringBufferformat(Object obj, - StringBuffer toAppendTo, - FieldPosition pos) - -
-          Uses the formatter Format instance.
- FormatgetFormatter() - -
-          Provides access to the parser Format implementation.
- FormatgetParser() - -
-          Provides access to the parser Format implementation.
- ObjectparseObject(String source, - ParsePosition pos) - -
-          Uses the parser Format instance.
- Stringreformat(String input) - -
-          Utility method to parse and then reformat a String.
- - - - - - - -
Methods inherited from class java.text.Format
clone, format, parseObject
- - - - - - - -
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-CompositeFormat

-
-public CompositeFormat(Format parser,
-                       Format formatter)
-
-
Create a format that points its parseObject method to one implementation - and its format method to another.
-
Parameters:
parser - implementation
formatter - implementation
-
-
- - - - - - - - -
-Method Detail
- -

-format

-
-public StringBuffer format(Object obj,
-                           StringBuffer toAppendTo,
-                           FieldPosition pos)
-
-
Uses the formatter Format instance.
-
Overrides:
format in class Format
-
-
-
See Also:
Format.format(Object, StringBuffer, FieldPosition)
-
-
-
- -

-parseObject

-
-public Object parseObject(String source,
-                          ParsePosition pos)
-
-
Uses the parser Format instance.
-
Overrides:
parseObject in class Format
-
-
-
See Also:
Format.parseObject(String, ParsePosition)
-
-
-
- -

-getParser

-
-public Format getParser()
-
-
Provides access to the parser Format implementation.
-
Returns:
parser Format implementation
-
-
-
- -

-getFormatter

-
-public Format getFormatter()
-
-
Provides access to the parser Format implementation.
-
Returns:
formatter Format implementation
-
-
-
- -

-reformat

-
-public String reformat(String input)
-                throws ParseException
-
-
Utility method to parse and then reformat a String.
-
Parameters:
input - String to reformat
Returns:
A reformatted String
Throws:
ParseException - thrown by parseObject(String) call
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
-Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrBuilder.html deleted file mode 100644 index 948d78ca..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrBuilder.html +++ /dev/null @@ -1,3544 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StrBuilder - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -org.apache.commons.lang.text -
-Class StrBuilder

-
-java.lang.Object
-  |
-  +--org.apache.commons.lang.text.StrBuilder
-
-
-
All Implemented Interfaces:
Cloneable
-
-
-
-
public class StrBuilder
extends Object
implements Cloneable
- -

-Builds a string from constituent parts providing a more flexible and powerful API - than StringBuffer. -

- The main differences from StringBuffer/StringBuilder are: -

    -
  • Not synchronized
  • -
  • Not final
  • -
  • Subclasses have direct access to character array
  • -
  • Additional methods -
      -
    • appendWithSeparators - adds an array of values, with a separator
    • -
    • appendPadding - adds a length padding characters
    • -
    • appendFixedLength - adds a fixed width field to the builder
    • -
    • toCharArray/getChars - simpler ways to get a range of the character array
    • -
    • delete - delete char or string
    • -
    • replace - search and replace for a char or string
    • -
    • leftString/rightString/midString - substring without exceptions
    • -
    • contains - whether the builder contains a char or string
    • -
    • size/clear/isEmpty - collections style API methods
    • -
    -
  • -
-
  • Views -
      -
    • asTokenizer - uses the internal buffer as the source of a StrTokenizer
    • -
    • asReader - uses the internal buffer as the source of a Reader
    • -
    • asWriter - allows a Writer to write directly to the internal buffer
    • -
    -
  • - -

    - The aim has been to provide an API that mimics very closely what StringBuffer - provides, but with additional methods. It should be noted that some edge cases, - with invalid indices or null input, have been altered - see individual methods. - The biggest of these changes is that by default, null will not output the text - 'null'. This can be controlled by a property, setNullText(String). -

    -

    -
    Since:
    2.2
    -
    Version:
    $Id: StrBuilder.java 492371 2007-01-04 00:42:05Z scolebourne $
    -
    Author:
    Stephen Colebourne
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -protected  char[]buffer - -
    -          Internal data storage.
    -protected  intsize - -
    -          Current size of the buffer.
    -  - - - - - - - - - - - - - - - - -
    -Constructor Summary
    StrBuilder() - -
    -          Constructor that creates an empty builder initial capacity 32 characters.
    StrBuilder(int initialCapacity) - -
    -          Constructor that creates an empty builder the specified initial capacity.
    StrBuilder(String str) - -
    -          Constructor that creates a builder from the string, allocating - 32 extra characters for growth.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StrBuilderappend(boolean value) - -
    -          Appends a boolean value to the string builder.
    - StrBuilderappend(char ch) - -
    -          Appends a char value to the string builder.
    - StrBuilderappend(char[] chars) - -
    -          Appends a char array to the string builder.
    - StrBuilderappend(char[] chars, - int startIndex, - int length) - -
    -          Appends a char array to the string builder.
    - StrBuilderappend(double value) - -
    -          Appends a double value to the string builder using String.valueOf.
    - StrBuilderappend(float value) - -
    -          Appends a float value to the string builder using String.valueOf.
    - StrBuilderappend(int value) - -
    -          Appends an int value to the string builder using String.valueOf.
    - StrBuilderappend(long value) - -
    -          Appends a long value to the string builder using String.valueOf.
    - StrBuilderappend(Object obj) - -
    -          Appends an object to this string builder.
    - StrBuilderappend(StrBuilder str) - -
    -          Appends another string builder to this string builder.
    - StrBuilderappend(StrBuilder str, - int startIndex, - int length) - -
    -          Appends part of a string builder to this string builder.
    - StrBuilderappend(String str) - -
    -          Appends a string to this string builder.
    - StrBuilderappend(StringBuffer str) - -
    -          Appends a string buffer to this string builder.
    - StrBuilderappend(StringBuffer str, - int startIndex, - int length) - -
    -          Appends part of a string buffer to this string builder.
    - StrBuilderappend(String str, - int startIndex, - int length) - -
    -          Appends part of a string to this string builder.
    - StrBuilderappendAll(Collection coll) - -
    -          Appends each item in a collection to the builder without any separators.
    - StrBuilderappendAll(Iterator it) - -
    -          Appends each item in an iterator to the builder without any separators.
    - StrBuilderappendAll(Object[] array) - -
    -          Appends each item in an array to the builder without any separators.
    - StrBuilderappendFixedWidthPadLeft(int value, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the left to a fixed width.
    - StrBuilderappendFixedWidthPadLeft(Object obj, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the left to a fixed width.
    - StrBuilderappendFixedWidthPadRight(int value, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the right to a fixed length.
    - StrBuilderappendFixedWidthPadRight(Object obj, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the right to a fixed length.
    - StrBuilderappendln(boolean value) - -
    -          Appends a boolean value followed by a new line to the string builder.
    - StrBuilderappendln(char ch) - -
    -          Appends a char value followed by a new line to the string builder.
    - StrBuilderappendln(char[] chars) - -
    -          Appends a char array followed by a new line to the string builder.
    - StrBuilderappendln(char[] chars, - int startIndex, - int length) - -
    -          Appends a char array followed by a new line to the string builder.
    - StrBuilderappendln(double value) - -
    -          Appends a double value followed by a new line to the string builder using String.valueOf.
    - StrBuilderappendln(float value) - -
    -          Appends a float value followed by a new line to the string builder using String.valueOf.
    - StrBuilderappendln(int value) - -
    -          Appends an int value followed by a new line to the string builder using String.valueOf.
    - StrBuilderappendln(long value) - -
    -          Appends a long value followed by a new line to the string builder using String.valueOf.
    - StrBuilderappendln(Object obj) - -
    -          Appends an object followed by a new line to this string builder.
    - StrBuilderappendln(StrBuilder str) - -
    -          Appends another string builder followed by a new line to this string builder.
    - StrBuilderappendln(StrBuilder str, - int startIndex, - int length) - -
    -          Appends part of a string builder followed by a new line to this string builder.
    - StrBuilderappendln(String str) - -
    -          Appends a string followed by a new line to this string builder.
    - StrBuilderappendln(StringBuffer str) - -
    -          Appends a string buffer followed by a new line to this string builder.
    - StrBuilderappendln(StringBuffer str, - int startIndex, - int length) - -
    -          Appends part of a string buffer followed by a new line to this string builder.
    - StrBuilderappendln(String str, - int startIndex, - int length) - -
    -          Appends part of a string followed by a new line to this string builder.
    - StrBuilderappendNewLine() - -
    -          Appends the new line string to this string builder.
    - StrBuilderappendNull() - -
    -          Appends the text representing null to this string builder.
    - StrBuilderappendPadding(int length, - char padChar) - -
    -          Appends the pad character to the builder the specified number of times.
    - StrBuilderappendSeparator(char separator) - -
    -          Appends a separator if the builder is currently non-empty.
    - StrBuilderappendSeparator(char separator, - int loopIndex) - -
    -          Appends a separator to the builder if the loop index is greater than zero.
    - StrBuilderappendSeparator(String separator) - -
    -          Appends a separator if the builder is currently non-empty.
    - StrBuilderappendSeparator(String separator, - int loopIndex) - -
    -          Appends a separator to the builder if the loop index is greater than zero.
    - StrBuilderappendWithSeparators(Collection coll, - String separator) - -
    -          Appends a collection placing separators between each value, but - not before the first or after the last.
    - StrBuilderappendWithSeparators(Iterator it, - String separator) - -
    -          Appends an iterator placing separators between each value, but - not before the first or after the last.
    - StrBuilderappendWithSeparators(Object[] array, - String separator) - -
    -          Appends an array placing separators between each value, but - not before the first or after the last.
    - ReaderasReader() - -
    -          Gets the contents of this builder as a Reader.
    - StrTokenizerasTokenizer() - -
    -          Creates a tokenizer that can tokenize the contents of this builder.
    - WriterasWriter() - -
    -          Gets this builder as a Writer that can be written to.
    - intcapacity() - -
    -          Gets the current size of the internal character array buffer.
    - charcharAt(int index) - -
    -          Gets the character at the specified index.
    - StrBuilderclear() - -
    -          Clears the string builder (convenience Collections API style method).
    - booleancontains(char ch) - -
    -          Checks if the string builder contains the specified char.
    - booleancontains(String str) - -
    -          Checks if the string builder contains the specified string.
    - booleancontains(StrMatcher matcher) - -
    -          Checks if the string builder contains a string matched using the - specified matcher.
    - StrBuilderdelete(int startIndex, - int endIndex) - -
    -          Deletes the characters between the two specified indices.
    - StrBuilderdeleteAll(char ch) - -
    -          Deletes the character wherever it occurs in the builder.
    - StrBuilderdeleteAll(String str) - -
    -          Deletes the string wherever it occurs in the builder.
    - StrBuilderdeleteAll(StrMatcher matcher) - -
    -          Deletes all parts of the builder that the matcher matches.
    - StrBuilderdeleteCharAt(int index) - -
    -          Deletes the character at the specified index.
    - StrBuilderdeleteFirst(char ch) - -
    -          Deletes the character wherever it occurs in the builder.
    - StrBuilderdeleteFirst(String str) - -
    -          Deletes the string wherever it occurs in the builder.
    - StrBuilderdeleteFirst(StrMatcher matcher) - -
    -          Deletes the first match within the builder using the specified matcher.
    - booleanendsWith(String str) - -
    -          Checks whether this builder ends with the specified string.
    - StrBuilderensureCapacity(int capacity) - -
    -          Checks the capacity and ensures that it is at least the size specified.
    - booleanequals(Object obj) - -
    -          Checks the contents of this builder against another to see if they - contain the same character content.
    - booleanequals(StrBuilder other) - -
    -          Checks the contents of this builder against another to see if they - contain the same character content.
    - booleanequalsIgnoreCase(StrBuilder other) - -
    -          Checks the contents of this builder against another to see if they - contain the same character content ignoring case.
    - char[]getChars(char[] destination) - -
    -          Copies the character array into the specified array.
    - voidgetChars(int startIndex, - int endIndex, - char[] destination, - int destinationIndex) - -
    -          Copies the character array into the specified array.
    - StringgetNewLineText() - -
    -          Gets the text to be appended when a new line is added.
    - StringgetNullText() - -
    -          Gets the text to be appended when null is added.
    - inthashCode() - -
    -          Gets a suitable hash code for this builder.
    - intindexOf(char ch) - -
    -          Searches the string builder to find the first reference to the specified char.
    - intindexOf(char ch, - int startIndex) - -
    -          Searches the string builder to find the first reference to the specified char.
    - intindexOf(String str) - -
    -          Searches the string builder to find the first reference to the specified string.
    - intindexOf(String str, - int startIndex) - -
    -          Searches the string builder to find the first reference to the specified - string starting searching from the given index.
    - intindexOf(StrMatcher matcher) - -
    -          Searches the string builder using the matcher to find the first match.
    - intindexOf(StrMatcher matcher, - int startIndex) - -
    -          Searches the string builder using the matcher to find the first - match searching from the given index.
    - StrBuilderinsert(int index, - boolean value) - -
    -          Inserts the value into this builder.
    - StrBuilderinsert(int index, - char value) - -
    -          Inserts the value into this builder.
    - StrBuilderinsert(int index, - char[] chars) - -
    -          Inserts the character array into this builder.
    - StrBuilderinsert(int index, - char[] chars, - int offset, - int length) - -
    -          Inserts part of the character array into this builder.
    - StrBuilderinsert(int index, - double value) - -
    -          Inserts the value into this builder.
    - StrBuilderinsert(int index, - float value) - -
    -          Inserts the value into this builder.
    - StrBuilderinsert(int index, - int value) - -
    -          Inserts the value into this builder.
    - StrBuilderinsert(int index, - long value) - -
    -          Inserts the value into this builder.
    - StrBuilderinsert(int index, - Object obj) - -
    -          Inserts the string representation of an object into this builder.
    - StrBuilderinsert(int index, - String str) - -
    -          Inserts the string into this builder.
    - booleanisEmpty() - -
    -          Checks is the string builder is empty (convenience Collections API style method).
    - intlastIndexOf(char ch) - -
    -          Searches the string builder to find the last reference to the specified char.
    - intlastIndexOf(char ch, - int startIndex) - -
    -          Searches the string builder to find the last reference to the specified char.
    - intlastIndexOf(String str) - -
    -          Searches the string builder to find the last reference to the specified string.
    - intlastIndexOf(String str, - int startIndex) - -
    -          Searches the string builder to find the last reference to the specified - string starting searching from the given index.
    - intlastIndexOf(StrMatcher matcher) - -
    -          Searches the string builder using the matcher to find the last match.
    - intlastIndexOf(StrMatcher matcher, - int startIndex) - -
    -          Searches the string builder using the matcher to find the last - match searching from the given index.
    - StringleftString(int length) - -
    -          Extracts the leftmost characters from the string builder without - throwing an exception.
    - intlength() - -
    -          Gets the length of the string builder.
    - StringmidString(int index, - int length) - -
    -          Extracts some characters from the middle of the string builder without - throwing an exception.
    - StrBuilderminimizeCapacity() - -
    -          Minimizes the capacity to the actual length of the string.
    - StrBuilderreplace(int startIndex, - int endIndex, - String replaceStr) - -
    -          Replaces a portion of the string builder with another string.
    - StrBuilderreplace(StrMatcher matcher, - String replaceStr, - int startIndex, - int endIndex, - int replaceCount) - -
    -          Advanced search and replaces within the builder using a matcher.
    - StrBuilderreplaceAll(char search, - char replace) - -
    -          Replaces the search character with the replace character - throughout the builder.
    - StrBuilderreplaceAll(String searchStr, - String replaceStr) - -
    -          Replaces the search string with the replace string throughout the builder.
    - StrBuilderreplaceAll(StrMatcher matcher, - String replaceStr) - -
    -          Replaces all matches within the builder with the replace string.
    - StrBuilderreplaceFirst(char search, - char replace) - -
    -          Replaces the first instance of the search character with the - replace character in the builder.
    - StrBuilderreplaceFirst(String searchStr, - String replaceStr) - -
    -          Replaces the first instance of the search string with the replace string.
    - StrBuilderreplaceFirst(StrMatcher matcher, - String replaceStr) - -
    -          Replaces the first match within the builder with the replace string.
    - StrBuilderreverse() - -
    -          Reverses the string builder placing each character in the opposite index.
    - StringrightString(int length) - -
    -          Extracts the rightmost characters from the string builder without - throwing an exception.
    - StrBuildersetCharAt(int index, - char ch) - -
    -          Sets the character at the specified index.
    - StrBuildersetLength(int length) - -
    -          Updates the length of the builder by either dropping the last characters - or adding filler of unicode zero.
    - StrBuildersetNewLineText(String newLine) - -
    -          Sets the text to be appended when a new line is added.
    - StrBuildersetNullText(String nullText) - -
    -          Sets the text to be appended when null is added.
    - intsize() - -
    -          Gets the length of the string builder.
    - booleanstartsWith(String str) - -
    -          Checks whether this builder starts with the specified string.
    - Stringsubstring(int start) - -
    -          Extracts a portion of this string builder as a string.
    - Stringsubstring(int startIndex, - int endIndex) - -
    -          Extracts a portion of this string builder as a string.
    - char[]toCharArray() - -
    -          Copies the builder's character array into a new character array.
    - char[]toCharArray(int startIndex, - int endIndex) - -
    -          Copies part of the builder's character array into a new character array.
    - StringtoString() - -
    -          Gets a String version of the string builder, creating a new instance - each time the method is called.
    - StringBuffertoStringBuffer() - -
    -          Gets a StringBuffer version of the string builder, creating a - new instance each time the method is called.
    - StrBuildertrim() - -
    -          Trims the builder by removing characters less than or equal to a space - from the beginning and end.
    -protected  voidvalidateIndex(int index) - -
    -          Validates parameters defining a single index in the builder.
    -protected  intvalidateRange(int startIndex, - int endIndex) - -
    -          Validates parameters defining a range of the builder.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -buffer

    -
    -protected char[] buffer
    -
    -
    Internal data storage.
    -
    - -

    -size

    -
    -protected int size
    -
    -
    Current size of the buffer.
    - - - - - - - - -
    -Constructor Detail
    - -

    -StrBuilder

    -
    -public StrBuilder()
    -
    -
    Constructor that creates an empty builder initial capacity 32 characters.
    -
    - -

    -StrBuilder

    -
    -public StrBuilder(int initialCapacity)
    -
    -
    Constructor that creates an empty builder the specified initial capacity.
    -
    Parameters:
    initialCapacity - the initial capacity, zero or less will be converted to 32
    -
    -
    -
    - -

    -StrBuilder

    -
    -public StrBuilder(String str)
    -
    -
    Constructor that creates a builder from the string, allocating - 32 extra characters for growth.
    -
    Parameters:
    str - the string to copy, null treated as blank string
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getNewLineText

    -
    -public String getNewLineText()
    -
    -
    Gets the text to be appended when a new line is added.
    -
    -
    -
    -
    Returns:
    the new line text, null means use system default
    -
    -
    -
    - -

    -setNewLineText

    -
    -public StrBuilder setNewLineText(String newLine)
    -
    -
    Sets the text to be appended when a new line is added.
    -
    -
    -
    -
    Parameters:
    newLine - the new line text, null means use system default
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -getNullText

    -
    -public String getNullText()
    -
    -
    Gets the text to be appended when null is added.
    -
    -
    -
    -
    Returns:
    the null text, null means no append
    -
    -
    -
    - -

    -setNullText

    -
    -public StrBuilder setNullText(String nullText)
    -
    -
    Sets the text to be appended when null is added.
    -
    -
    -
    -
    Parameters:
    nullText - the null text, null means no append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -length

    -
    -public int length()
    -
    -
    Gets the length of the string builder.
    -
    -
    -
    -
    Returns:
    the length
    -
    -
    -
    - -

    -setLength

    -
    -public StrBuilder setLength(int length)
    -
    -
    Updates the length of the builder by either dropping the last characters - or adding filler of unicode zero.
    -
    -
    -
    -
    Parameters:
    length - the length to set to, must be zero or positive
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the length is negative
    -
    -
    -
    - -

    -capacity

    -
    -public int capacity()
    -
    -
    Gets the current size of the internal character array buffer.
    -
    -
    -
    -
    Returns:
    the capacity
    -
    -
    -
    - -

    -ensureCapacity

    -
    -public StrBuilder ensureCapacity(int capacity)
    -
    -
    Checks the capacity and ensures that it is at least the size specified.
    -
    -
    -
    -
    Parameters:
    capacity - the capacity to ensure
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -minimizeCapacity

    -
    -public StrBuilder minimizeCapacity()
    -
    -
    Minimizes the capacity to the actual length of the string.
    -
    -
    -
    -
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -size

    -
    -public int size()
    -
    -
    Gets the length of the string builder. -

    - This method is the same as length() and is provided to match the - API of Collections.

    -
    -
    -
    -
    Returns:
    the length
    -
    -
    -
    - -

    -isEmpty

    -
    -public boolean isEmpty()
    -
    -
    Checks is the string builder is empty (convenience Collections API style method). -

    - This method is the same as checking length() and is provided to match the - API of Collections.

    -
    -
    -
    -
    Returns:
    true if the size is 0.
    -
    -
    -
    - -

    -clear

    -
    -public StrBuilder clear()
    -
    -
    Clears the string builder (convenience Collections API style method). -

    - This method does not reduce the size of the internal character buffer. - To do that, call clear() followed by minimizeCapacity(). -

    - This method is the same as setLength(int) called with zero - and is provided to match the API of Collections.

    -
    -
    -
    -
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -charAt

    -
    -public char charAt(int index)
    -
    -
    Gets the character at the specified index.
    -
    -
    -
    -
    Parameters:
    index - the index to retrieve, must be valid
    Returns:
    the character at the index
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    See Also:
    setCharAt(int, char), -deleteCharAt(int)
    -
    -
    -
    - -

    -setCharAt

    -
    -public StrBuilder setCharAt(int index,
    -                            char ch)
    -
    -
    Sets the character at the specified index.
    -
    -
    -
    -
    Parameters:
    index - the index to set
    ch - the new character
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    See Also:
    charAt(int), -deleteCharAt(int)
    -
    -
    -
    - -

    -deleteCharAt

    -
    -public StrBuilder deleteCharAt(int index)
    -
    -
    Deletes the character at the specified index.
    -
    -
    -
    -
    Parameters:
    index - the index to delete
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    See Also:
    charAt(int), -setCharAt(int, char)
    -
    -
    -
    - -

    -toCharArray

    -
    -public char[] toCharArray()
    -
    -
    Copies the builder's character array into a new character array.
    -
    -
    -
    -
    Returns:
    a new array that represents the contents of the builder
    -
    -
    -
    - -

    -toCharArray

    -
    -public char[] toCharArray(int startIndex,
    -                          int endIndex)
    -
    -
    Copies part of the builder's character array into a new character array.
    -
    -
    -
    -
    Parameters:
    startIndex - the start index, inclusive, must be valid
    endIndex - the end index, exclusive, must be valid except that - if too large it is treated as end of string
    Returns:
    a new array that holds part of the contents of the builder
    Throws:
    IndexOutOfBoundsException - if startIndex is invalid, - or if endIndex is invalid (but endIndex greater than size is valid)
    -
    -
    -
    - -

    -getChars

    -
    -public char[] getChars(char[] destination)
    -
    -
    Copies the character array into the specified array.
    -
    -
    -
    -
    Parameters:
    destination - the destination array, null will cause an array to be created
    Returns:
    the input array, unless that was null or too small
    -
    -
    -
    - -

    -getChars

    -
    -public void getChars(int startIndex,
    -                     int endIndex,
    -                     char[] destination,
    -                     int destinationIndex)
    -
    -
    Copies the character array into the specified array.
    -
    -
    -
    -
    Parameters:
    startIndex - first index to copy, inclusive, must be valid
    endIndex - last index, exclusive, must be valid
    destination - the destination array, must not be null or too small
    destinationIndex - the index to start copying in destination
    Throws:
    NullPointerException - if the array is null
    IndexOutOfBoundsException - if any index is invalid
    -
    -
    -
    - -

    -appendNewLine

    -
    -public StrBuilder appendNewLine()
    -
    -
    Appends the new line string to this string builder. -

    - The new line string can be altered using setNewLineText(String). - This might be used to force the output to always use Unix line endings - even when on Windows.

    -
    -
    -
    -
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendNull

    -
    -public StrBuilder appendNull()
    -
    -
    Appends the text representing null to this string builder.
    -
    -
    -
    -
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(Object obj)
    -
    -
    Appends an object to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    obj - the object to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(String str)
    -
    -
    Appends a string to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(String str,
    -                         int startIndex,
    -                         int length)
    -
    -
    Appends part of a string to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(StringBuffer str)
    -
    -
    Appends a string buffer to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string buffer to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(StringBuffer str,
    -                         int startIndex,
    -                         int length)
    -
    -
    Appends part of a string buffer to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(StrBuilder str)
    -
    -
    Appends another string builder to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string builder to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(StrBuilder str,
    -                         int startIndex,
    -                         int length)
    -
    -
    Appends part of a string builder to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(char[] chars)
    -
    -
    Appends a char array to the string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    chars - the char array to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(char[] chars,
    -                         int startIndex,
    -                         int length)
    -
    -
    Appends a char array to the string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    chars - the char array to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(boolean value)
    -
    -
    Appends a boolean value to the string builder.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(char ch)
    -
    -
    Appends a char value to the string builder.
    -
    -
    -
    -
    Parameters:
    ch - the value to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(int value)
    -
    -
    Appends an int value to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(long value)
    -
    -
    Appends a long value to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(float value)
    -
    -
    Appends a float value to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -append

    -
    -public StrBuilder append(double value)
    -
    -
    Appends a double value to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(Object obj)
    -
    -
    Appends an object followed by a new line to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    obj - the object to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(String str)
    -
    -
    Appends a string followed by a new line to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(String str,
    -                           int startIndex,
    -                           int length)
    -
    -
    Appends part of a string followed by a new line to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(StringBuffer str)
    -
    -
    Appends a string buffer followed by a new line to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string buffer to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(StringBuffer str,
    -                           int startIndex,
    -                           int length)
    -
    -
    Appends part of a string buffer followed by a new line to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(StrBuilder str)
    -
    -
    Appends another string builder followed by a new line to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string builder to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(StrBuilder str,
    -                           int startIndex,
    -                           int length)
    -
    -
    Appends part of a string builder followed by a new line to this string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    str - the string to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(char[] chars)
    -
    -
    Appends a char array followed by a new line to the string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    chars - the char array to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(char[] chars,
    -                           int startIndex,
    -                           int length)
    -
    -
    Appends a char array followed by a new line to the string builder. - Appending null will call appendNull().
    -
    -
    -
    -
    Parameters:
    chars - the char array to append
    startIndex - the start index, inclusive, must be valid
    length - the length to append, must be valid
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(boolean value)
    -
    -
    Appends a boolean value followed by a new line to the string builder.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(char ch)
    -
    -
    Appends a char value followed by a new line to the string builder.
    -
    -
    -
    -
    Parameters:
    ch - the value to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(int value)
    -
    -
    Appends an int value followed by a new line to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(long value)
    -
    -
    Appends a long value followed by a new line to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(float value)
    -
    -
    Appends a float value followed by a new line to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendln

    -
    -public StrBuilder appendln(double value)
    -
    -
    Appends a double value followed by a new line to the string builder using String.valueOf.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendAll

    -
    -public StrBuilder appendAll(Object[] array)
    -
    -
    Appends each item in an array to the builder without any separators. - Appending a null array will have no effect. - Each object is appended using append(Object).
    -
    -
    -
    -
    Parameters:
    array - the array to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendAll

    -
    -public StrBuilder appendAll(Collection coll)
    -
    -
    Appends each item in a collection to the builder without any separators. - Appending a null collection will have no effect. - Each object is appended using append(Object).
    -
    -
    -
    -
    Parameters:
    coll - the collection to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendAll

    -
    -public StrBuilder appendAll(Iterator it)
    -
    -
    Appends each item in an iterator to the builder without any separators. - Appending a null iterator will have no effect. - Each object is appended using append(Object).
    -
    -
    -
    -
    Parameters:
    it - the iterator to append
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendWithSeparators

    -
    -public StrBuilder appendWithSeparators(Object[] array,
    -                                       String separator)
    -
    -
    Appends an array placing separators between each value, but - not before the first or after the last. - Appending a null array will have no effect. - Each object is appended using append(Object).
    -
    -
    -
    -
    Parameters:
    array - the array to append
    separator - the separator to use, null means no separator
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendWithSeparators

    -
    -public StrBuilder appendWithSeparators(Collection coll,
    -                                       String separator)
    -
    -
    Appends a collection placing separators between each value, but - not before the first or after the last. - Appending a null collection will have no effect. - Each object is appended using append(Object).
    -
    -
    -
    -
    Parameters:
    coll - the collection to append
    separator - the separator to use, null means no separator
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendWithSeparators

    -
    -public StrBuilder appendWithSeparators(Iterator it,
    -                                       String separator)
    -
    -
    Appends an iterator placing separators between each value, but - not before the first or after the last. - Appending a null iterator will have no effect. - Each object is appended using append(Object).
    -
    -
    -
    -
    Parameters:
    it - the iterator to append
    separator - the separator to use, null means no separator
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendSeparator

    -
    -public StrBuilder appendSeparator(String separator)
    -
    -
    Appends a separator if the builder is currently non-empty. - Appending a null separator will have no effect. - The separator is appended using append(String). -

    - This method is useful for adding a separator each time around the - loop except the first. -

    - for (Iterator it = list.iterator(); it.hasNext(); ) {
    -   appendSeparator(",");
    -   append(it.next());
    - }
    - 
    - Note that for this simple example, you should use - appendWithSeparators(Collection, String).
    -
    -
    -
    -
    Parameters:
    separator - the separator to use, null means no separator
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendSeparator

    -
    -public StrBuilder appendSeparator(char separator)
    -
    -
    Appends a separator if the builder is currently non-empty. - The separator is appended using append(char). -

    - This method is useful for adding a separator each time around the - loop except the first. -

    - for (Iterator it = list.iterator(); it.hasNext(); ) {
    -   appendSeparator(',');
    -   append(it.next());
    - }
    - 
    - Note that for this simple example, you should use - appendWithSeparators(Collection, String).
    -
    -
    -
    -
    Parameters:
    separator - the separator to use
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendSeparator

    -
    -public StrBuilder appendSeparator(String separator,
    -                                  int loopIndex)
    -
    -
    Appends a separator to the builder if the loop index is greater than zero. - Appending a null separator will have no effect. - The separator is appended using append(String). -

    - This method is useful for adding a separator each time around the - loop except the first. -

    - for (int i = 0; i < list.size(); i++) {
    -   appendSeparator(",", i);
    -   append(list.get(i));
    - }
    - 
    - Note that for this simple example, you should use - appendWithSeparators(Collection, String).
    -
    -
    -
    -
    Parameters:
    separator - the separator to use, null means no separator
    loopIndex - the loop index
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendSeparator

    -
    -public StrBuilder appendSeparator(char separator,
    -                                  int loopIndex)
    -
    -
    Appends a separator to the builder if the loop index is greater than zero. - The separator is appended using append(char). -

    - This method is useful for adding a separator each time around the - loop except the first. -

    - for (int i = 0; i < list.size(); i++) {
    -   appendSeparator(",", i);
    -   append(list.get(i));
    - }
    - 
    - Note that for this simple example, you should use - appendWithSeparators(Collection, String).
    -
    -
    -
    -
    Parameters:
    separator - the separator to use
    loopIndex - the loop index
    Returns:
    this, to enable chaining
    Since:
    2.3
    -
    -
    -
    -
    - -

    -appendPadding

    -
    -public StrBuilder appendPadding(int length,
    -                                char padChar)
    -
    -
    Appends the pad character to the builder the specified number of times.
    -
    -
    -
    -
    Parameters:
    length - the length to append, negative means no append
    padChar - the character to append
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendFixedWidthPadLeft

    -
    -public StrBuilder appendFixedWidthPadLeft(Object obj,
    -                                          int width,
    -                                          char padChar)
    -
    -
    Appends an object to the builder padding on the left to a fixed width. - The toString of the object is used. - If the object is larger than the length, the left hand side is lost. - If the object is null, the null text value is used.
    -
    -
    -
    -
    Parameters:
    obj - the object to append, null uses null text
    width - the fixed field width, zero or negative has no effect
    padChar - the pad character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendFixedWidthPadLeft

    -
    -public StrBuilder appendFixedWidthPadLeft(int value,
    -                                          int width,
    -                                          char padChar)
    -
    -
    Appends an object to the builder padding on the left to a fixed width. - The String.valueOf of the int value is used. - If the formatted value is larger than the length, the left hand side is lost.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    width - the fixed field width, zero or negative has no effect
    padChar - the pad character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendFixedWidthPadRight

    -
    -public StrBuilder appendFixedWidthPadRight(Object obj,
    -                                           int width,
    -                                           char padChar)
    -
    -
    Appends an object to the builder padding on the right to a fixed length. - The toString of the object is used. - If the object is larger than the length, the right hand side is lost. - If the object is null, null text value is used.
    -
    -
    -
    -
    Parameters:
    obj - the object to append, null uses null text
    width - the fixed field width, zero or negative has no effect
    padChar - the pad character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -appendFixedWidthPadRight

    -
    -public StrBuilder appendFixedWidthPadRight(int value,
    -                                           int width,
    -                                           char padChar)
    -
    -
    Appends an object to the builder padding on the right to a fixed length. - The String.valueOf of the int value is used. - If the object is larger than the length, the right hand side is lost.
    -
    -
    -
    -
    Parameters:
    value - the value to append
    width - the fixed field width, zero or negative has no effect
    padChar - the pad character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         Object obj)
    -
    -
    Inserts the string representation of an object into this builder. - Inserting null will use the stored null text value.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    obj - the object to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         String str)
    -
    -
    Inserts the string into this builder. - Inserting null will use the stored null text value.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    str - the string to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         char[] chars)
    -
    -
    Inserts the character array into this builder. - Inserting null will use the stored null text value.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    chars - the char array to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         char[] chars,
    -                         int offset,
    -                         int length)
    -
    -
    Inserts part of the character array into this builder. - Inserting null will use the stored null text value.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    chars - the char array to insert
    offset - the offset into the character array to start at, must be valid
    length - the length of the character array part to copy, must be positive
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if any index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         boolean value)
    -
    -
    Inserts the value into this builder.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    value - the value to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         char value)
    -
    -
    Inserts the value into this builder.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    value - the value to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         int value)
    -
    -
    Inserts the value into this builder.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    value - the value to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         long value)
    -
    -
    Inserts the value into this builder.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    value - the value to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         float value)
    -
    -
    Inserts the value into this builder.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    value - the value to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -insert

    -
    -public StrBuilder insert(int index,
    -                         double value)
    -
    -
    Inserts the value into this builder.
    -
    -
    -
    -
    Parameters:
    index - the index to add at, must be valid
    value - the value to insert
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -delete

    -
    -public StrBuilder delete(int startIndex,
    -                         int endIndex)
    -
    -
    Deletes the characters between the two specified indices.
    -
    -
    -
    -
    Parameters:
    startIndex - the start index, inclusive, must be valid
    endIndex - the end index, exclusive, must be valid except - that if too large it is treated as end of string
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -deleteAll

    -
    -public StrBuilder deleteAll(char ch)
    -
    -
    Deletes the character wherever it occurs in the builder.
    -
    -
    -
    -
    Parameters:
    ch - the character to delete
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -deleteFirst

    -
    -public StrBuilder deleteFirst(char ch)
    -
    -
    Deletes the character wherever it occurs in the builder.
    -
    -
    -
    -
    Parameters:
    ch - the character to delete
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -deleteAll

    -
    -public StrBuilder deleteAll(String str)
    -
    -
    Deletes the string wherever it occurs in the builder.
    -
    -
    -
    -
    Parameters:
    str - the string to delete, null causes no action
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -deleteFirst

    -
    -public StrBuilder deleteFirst(String str)
    -
    -
    Deletes the string wherever it occurs in the builder.
    -
    -
    -
    -
    Parameters:
    str - the string to delete, null causes no action
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -deleteAll

    -
    -public StrBuilder deleteAll(StrMatcher matcher)
    -
    -
    Deletes all parts of the builder that the matcher matches. -

    - Matchers can be used to perform advanced deletion behaviour. - For example you could write a matcher to delete all occurances - where the character 'a' is followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use to find the deletion, null causes no action
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -deleteFirst

    -
    -public StrBuilder deleteFirst(StrMatcher matcher)
    -
    -
    Deletes the first match within the builder using the specified matcher. -

    - Matchers can be used to perform advanced deletion behaviour. - For example you could write a matcher to delete - where the character 'a' is followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use to find the deletion, null causes no action
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -replace

    -
    -public StrBuilder replace(int startIndex,
    -                          int endIndex,
    -                          String replaceStr)
    -
    -
    Replaces a portion of the string builder with another string. - The length of the inserted string does not have to match the removed length.
    -
    -
    -
    -
    Parameters:
    startIndex - the start index, inclusive, must be valid
    endIndex - the end index, exclusive, must be valid except - that if too large it is treated as end of string
    replaceStr - the string to replace with, null means delete range
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -replaceAll

    -
    -public StrBuilder replaceAll(char search,
    -                             char replace)
    -
    -
    Replaces the search character with the replace character - throughout the builder.
    -
    -
    -
    -
    Parameters:
    search - the search character
    replace - the replace character
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -replaceFirst

    -
    -public StrBuilder replaceFirst(char search,
    -                               char replace)
    -
    -
    Replaces the first instance of the search character with the - replace character in the builder.
    -
    -
    -
    -
    Parameters:
    search - the search character
    replace - the replace character
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -replaceAll

    -
    -public StrBuilder replaceAll(String searchStr,
    -                             String replaceStr)
    -
    -
    Replaces the search string with the replace string throughout the builder.
    -
    -
    -
    -
    Parameters:
    searchStr - the search string, null causes no action to occur
    replaceStr - the replace string, null is equivalent to an empty string
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -replaceFirst

    -
    -public StrBuilder replaceFirst(String searchStr,
    -                               String replaceStr)
    -
    -
    Replaces the first instance of the search string with the replace string.
    -
    -
    -
    -
    Parameters:
    searchStr - the search string, null causes no action to occur
    replaceStr - the replace string, null is equivalent to an empty string
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -replaceAll

    -
    -public StrBuilder replaceAll(StrMatcher matcher,
    -                             String replaceStr)
    -
    -
    Replaces all matches within the builder with the replace string. -

    - Matchers can be used to perform advanced replace behaviour. - For example you could write a matcher to replace all occurances - where the character 'a' is followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use to find the deletion, null causes no action
    replaceStr - the replace string, null is equivalent to an empty string
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -replaceFirst

    -
    -public StrBuilder replaceFirst(StrMatcher matcher,
    -                               String replaceStr)
    -
    -
    Replaces the first match within the builder with the replace string. -

    - Matchers can be used to perform advanced replace behaviour. - For example you could write a matcher to replace - where the character 'a' is followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use to find the deletion, null causes no action
    replaceStr - the replace string, null is equivalent to an empty string
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -replace

    -
    -public StrBuilder replace(StrMatcher matcher,
    -                          String replaceStr,
    -                          int startIndex,
    -                          int endIndex,
    -                          int replaceCount)
    -
    -
    Advanced search and replaces within the builder using a matcher. -

    - Matchers can be used to perform advanced behaviour. - For example you could write a matcher to delete all occurances - where the character 'a' is followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use to find the deletion, null causes no action
    replaceStr - the string to replace the match with, null is a delete
    startIndex - the start index, inclusive, must be valid
    endIndex - the end index, exclusive, must be valid except - that if too large it is treated as end of string
    replaceCount - the number of times to replace, -1 for replace all
    Returns:
    this, to enable chaining
    Throws:
    IndexOutOfBoundsException - if start index is invalid
    -
    -
    -
    - -

    -reverse

    -
    -public StrBuilder reverse()
    -
    -
    Reverses the string builder placing each character in the opposite index.
    -
    -
    -
    -
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -trim

    -
    -public StrBuilder trim()
    -
    -
    Trims the builder by removing characters less than or equal to a space - from the beginning and end.
    -
    -
    -
    -
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -startsWith

    -
    -public boolean startsWith(String str)
    -
    -
    Checks whether this builder starts with the specified string. -

    - Note that this method handles null input quietly, unlike String.

    -
    -
    -
    -
    Parameters:
    str - the string to search for, null returns false
    Returns:
    true if the builder starts with the string
    -
    -
    -
    - -

    -endsWith

    -
    -public boolean endsWith(String str)
    -
    -
    Checks whether this builder ends with the specified string. -

    - Note that this method handles null input quietly, unlike String.

    -
    -
    -
    -
    Parameters:
    str - the string to search for, null returns false
    Returns:
    true if the builder ends with the string
    -
    -
    -
    - -

    -substring

    -
    -public String substring(int start)
    -
    -
    Extracts a portion of this string builder as a string.
    -
    -
    -
    -
    Parameters:
    start - the start index, inclusive, must be valid
    Returns:
    the new string
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -substring

    -
    -public String substring(int startIndex,
    -                        int endIndex)
    -
    -
    Extracts a portion of this string builder as a string. -

    - Note: This method treats an endIndex greater than the length of the - builder as equal to the length of the builder, and continues - without error, unlike StringBuffer or String.

    -
    -
    -
    -
    Parameters:
    startIndex - the start index, inclusive, must be valid
    endIndex - the end index, exclusive, must be valid except - that if too large it is treated as end of string
    Returns:
    the new string
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -leftString

    -
    -public String leftString(int length)
    -
    -
    Extracts the leftmost characters from the string builder without - throwing an exception. -

    - This method extracts the left length characters from - the builder. If this many characters are not available, the whole - builder is returned. Thus the returned string may be shorter than the - length requested.

    -
    -
    -
    -
    Parameters:
    length - the number of characters to extract, negative returns empty string
    Returns:
    the new string
    -
    -
    -
    - -

    -rightString

    -
    -public String rightString(int length)
    -
    -
    Extracts the rightmost characters from the string builder without - throwing an exception. -

    - This method extracts the right length characters from - the builder. If this many characters are not available, the whole - builder is returned. Thus the returned string may be shorter than the - length requested.

    -
    -
    -
    -
    Parameters:
    length - the number of characters to extract, negative returns empty string
    Returns:
    the new string
    -
    -
    -
    - -

    -midString

    -
    -public String midString(int index,
    -                        int length)
    -
    -
    Extracts some characters from the middle of the string builder without - throwing an exception. -

    - This method extracts length characters from the builder - at the specified index. - If the index is negative it is treated as zero. - If the index is greater than the builder size, it is treated as the builder size. - If the length is negative, the empty string is returned. - If insufficient characters are available in the builder, as much as possible is returned. - Thus the returned string may be shorter than the length requested.

    -
    -
    -
    -
    Parameters:
    index - the index to start at, negative means zero
    length - the number of characters to extract, negative returns empty string
    Returns:
    the new string
    -
    -
    -
    - -

    -contains

    -
    -public boolean contains(char ch)
    -
    -
    Checks if the string builder contains the specified char.
    -
    -
    -
    -
    Parameters:
    ch - the character to find
    Returns:
    true if the builder contains the character
    -
    -
    -
    - -

    -contains

    -
    -public boolean contains(String str)
    -
    -
    Checks if the string builder contains the specified string.
    -
    -
    -
    -
    Parameters:
    str - the string to find
    Returns:
    true if the builder contains the string
    -
    -
    -
    - -

    -contains

    -
    -public boolean contains(StrMatcher matcher)
    -
    -
    Checks if the string builder contains a string matched using the - specified matcher. -

    - Matchers can be used to perform advanced searching behaviour. - For example you could write a matcher to search for the character - 'a' followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use, null returns -1
    Returns:
    true if the matcher finds a match in the builder
    -
    -
    -
    - -

    -indexOf

    -
    -public int indexOf(char ch)
    -
    -
    Searches the string builder to find the first reference to the specified char.
    -
    -
    -
    -
    Parameters:
    ch - the character to find
    Returns:
    the first index of the character, or -1 if not found
    -
    -
    -
    - -

    -indexOf

    -
    -public int indexOf(char ch,
    -                   int startIndex)
    -
    -
    Searches the string builder to find the first reference to the specified char.
    -
    -
    -
    -
    Parameters:
    ch - the character to find
    startIndex - the index to start at, invalid index rounded to edge
    Returns:
    the first index of the character, or -1 if not found
    -
    -
    -
    - -

    -indexOf

    -
    -public int indexOf(String str)
    -
    -
    Searches the string builder to find the first reference to the specified string. -

    - Note that a null input string will return -1, whereas the JDK throws an exception.

    -
    -
    -
    -
    Parameters:
    str - the string to find, null returns -1
    Returns:
    the first index of the string, or -1 if not found
    -
    -
    -
    - -

    -indexOf

    -
    -public int indexOf(String str,
    -                   int startIndex)
    -
    -
    Searches the string builder to find the first reference to the specified - string starting searching from the given index. -

    - Note that a null input string will return -1, whereas the JDK throws an exception.

    -
    -
    -
    -
    Parameters:
    str - the string to find, null returns -1
    startIndex - the index to start at, invalid index rounded to edge
    Returns:
    the first index of the string, or -1 if not found
    -
    -
    -
    - -

    -indexOf

    -
    -public int indexOf(StrMatcher matcher)
    -
    -
    Searches the string builder using the matcher to find the first match. -

    - Matchers can be used to perform advanced searching behaviour. - For example you could write a matcher to find the character 'a' - followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use, null returns -1
    Returns:
    the first index matched, or -1 if not found
    -
    -
    -
    - -

    -indexOf

    -
    -public int indexOf(StrMatcher matcher,
    -                   int startIndex)
    -
    -
    Searches the string builder using the matcher to find the first - match searching from the given index. -

    - Matchers can be used to perform advanced searching behaviour. - For example you could write a matcher to find the character 'a' - followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use, null returns -1
    startIndex - the index to start at, invalid index rounded to edge
    Returns:
    the first index matched, or -1 if not found
    -
    -
    -
    - -

    -lastIndexOf

    -
    -public int lastIndexOf(char ch)
    -
    -
    Searches the string builder to find the last reference to the specified char.
    -
    -
    -
    -
    Parameters:
    ch - the character to find
    Returns:
    the last index of the character, or -1 if not found
    -
    -
    -
    - -

    -lastIndexOf

    -
    -public int lastIndexOf(char ch,
    -                       int startIndex)
    -
    -
    Searches the string builder to find the last reference to the specified char.
    -
    -
    -
    -
    Parameters:
    ch - the character to find
    startIndex - the index to start at, invalid index rounded to edge
    Returns:
    the last index of the character, or -1 if not found
    -
    -
    -
    - -

    -lastIndexOf

    -
    -public int lastIndexOf(String str)
    -
    -
    Searches the string builder to find the last reference to the specified string. -

    - Note that a null input string will return -1, whereas the JDK throws an exception.

    -
    -
    -
    -
    Parameters:
    str - the string to find, null returns -1
    Returns:
    the last index of the string, or -1 if not found
    -
    -
    -
    - -

    -lastIndexOf

    -
    -public int lastIndexOf(String str,
    -                       int startIndex)
    -
    -
    Searches the string builder to find the last reference to the specified - string starting searching from the given index. -

    - Note that a null input string will return -1, whereas the JDK throws an exception.

    -
    -
    -
    -
    Parameters:
    str - the string to find, null returns -1
    startIndex - the index to start at, invalid index rounded to edge
    Returns:
    the last index of the string, or -1 if not found
    -
    -
    -
    - -

    -lastIndexOf

    -
    -public int lastIndexOf(StrMatcher matcher)
    -
    -
    Searches the string builder using the matcher to find the last match. -

    - Matchers can be used to perform advanced searching behaviour. - For example you could write a matcher to find the character 'a' - followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use, null returns -1
    Returns:
    the last index matched, or -1 if not found
    -
    -
    -
    - -

    -lastIndexOf

    -
    -public int lastIndexOf(StrMatcher matcher,
    -                       int startIndex)
    -
    -
    Searches the string builder using the matcher to find the last - match searching from the given index. -

    - Matchers can be used to perform advanced searching behaviour. - For example you could write a matcher to find the character 'a' - followed by a number.

    -
    -
    -
    -
    Parameters:
    matcher - the matcher to use, null returns -1
    startIndex - the index to start at, invalid index rounded to edge
    Returns:
    the last index matched, or -1 if not found
    -
    -
    -
    - -

    -asTokenizer

    -
    -public StrTokenizer asTokenizer()
    -
    -
    Creates a tokenizer that can tokenize the contents of this builder. -

    - This method allows the contents of this builder to be tokenized. - The tokenizer will be setup by default to tokenize on space, tab, - newline and formfeed (as per StringTokenizer). These values can be - changed on the tokenizer class, before retrieving the tokens. -

    - The returned tokenizer is linked to this builder. You may intermix - calls to the buider and tokenizer within certain limits, however - there is no synchronization. Once the tokenizer has been used once, - it must be reset to pickup the latest - changes in the builder. For example: -

    - StrBuilder b = new StrBuilder();
    - b.append("a b ");
    - StrTokenizer t = b.asTokenizer();
    - String[] tokens1 = t.getTokenArray();  // returns a,b
    - b.append("c d ");
    - String[] tokens2 = t.getTokenArray();  // returns a,b (c and d ignored)
    - t.reset();              // reset causes builder changes to be picked up
    - String[] tokens3 = t.getTokenArray();  // returns a,b,c,d
    - 
    - In addition to simply intermixing appends and tokenization, you can also - call the set methods on the tokenizer to alter how it tokenizes. Just - remember to call reset when you want to pickup builder changes. -

    - Calling StrTokenizer.reset(String) or StrTokenizer.reset(char[]) - with a non-null value will break the link with the builder.

    -
    -
    -
    -
    Returns:
    a tokenizer that is linked to this builder
    -
    -
    -
    - -

    -asReader

    -
    -public Reader asReader()
    -
    -
    Gets the contents of this builder as a Reader. -

    - This method allows the contents of the builder to be read - using any standard method that expects a Reader. -

    - To use, simply create a StrBuilder, populate it with - data, call asReader, and then read away. -

    - The internal character array is shared between the builder and the reader. - This allows you to append to the builder after creating the reader, - and the changes will be picked up. - Note however, that no synchronization occurs, so you must perform - all operations with the builder and the reader in one thread. -

    - The returned reader supports marking, and ignores the flush method.

    -
    -
    -
    -
    Returns:
    a reader that reads from this builder
    -
    -
    -
    - -

    -asWriter

    -
    -public Writer asWriter()
    -
    -
    Gets this builder as a Writer that can be written to. -

    - This method allows you to populate the contents of the builder - using any standard method that takes a Writer. -

    - To use, simply create a StrBuilder, - call asWriter, and populate away. The data is available - at any time using the methods of the StrBuilder. -

    - The internal character array is shared between the builder and the writer. - This allows you to intermix calls that append to the builder and - write using the writer and the changes will be occur correctly. - Note however, that no synchronization occurs, so you must perform - all operations with the builder and the writer in one thread. -

    - The returned writer ignores the close and flush methods.

    -
    -
    -
    -
    Returns:
    a writer that populates this builder
    -
    -
    -
    - -

    -equalsIgnoreCase

    -
    -public boolean equalsIgnoreCase(StrBuilder other)
    -
    -
    Checks the contents of this builder against another to see if they - contain the same character content ignoring case.
    -
    -
    -
    -
    Parameters:
    other - the object to check, null returns false
    Returns:
    true if the builders contain the same characters in the same order
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(StrBuilder other)
    -
    -
    Checks the contents of this builder against another to see if they - contain the same character content.
    -
    -
    -
    -
    Parameters:
    other - the object to check, null returns false
    Returns:
    true if the builders contain the same characters in the same order
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object obj)
    -
    -
    Checks the contents of this builder against another to see if they - contain the same character content.
    -
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    obj - the object to check, null returns false
    Returns:
    true if the builders contain the same characters in the same order
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    Gets a suitable hash code for this builder.
    -
    Overrides:
    hashCode in class Object
    -
    -
    -
    Returns:
    a hash code
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    Gets a String version of the string builder, creating a new instance - each time the method is called. -

    - Note that unlike StringBuffer, the string version returned is - independent of the string builder.

    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    the builder as a String
    -
    -
    -
    - -

    -toStringBuffer

    -
    -public StringBuffer toStringBuffer()
    -
    -
    Gets a StringBuffer version of the string builder, creating a - new instance each time the method is called.
    -
    -
    -
    -
    Returns:
    the builder as a StringBuffer
    -
    -
    -
    - -

    -validateRange

    -
    -protected int validateRange(int startIndex,
    -                            int endIndex)
    -
    -
    Validates parameters defining a range of the builder.
    -
    -
    -
    -
    Parameters:
    startIndex - the start index, inclusive, must be valid
    endIndex - the end index, exclusive, must be valid except - that if too large it is treated as end of string
    Returns:
    the new string
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    -
    - -

    -validateIndex

    -
    -protected void validateIndex(int index)
    -
    -
    Validates parameters defining a single index in the builder.
    -
    -
    -
    -
    Parameters:
    index - the index, must be valid
    Throws:
    IndexOutOfBoundsException - if the index is invalid
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrLookup.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrLookup.html deleted file mode 100644 index 93afb754..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrLookup.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StrLookup - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.text -
    -Class StrLookup

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.text.StrLookup
    -
    -
    -
    -
    public abstract class StrLookup
    extends Object
    - -

    -Lookup a String key to a String value. -

    - This class represents the simplest form of a string to string map. - It has a benefit over a map in that it can create the result on - demand based on the key. -

    - This class comes complete with various factory methods. - If these do not suffice, you can subclass and implement your own matcher. -

    - For example, it would be possible to implement a lookup that used the - key as a primary key, and looked up the value on demand from the database -

    -

    -
    Since:
    2.2
    -
    Version:
    $Id: StrLookup.java 437554 2006-08-28 06:21:41Z bayard $
    -
    Author:
    Stephen Colebourne
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected StrLookup() - -
    -          Constructor.
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -abstract  Stringlookup(String key) - -
    -          Looks up a String key to a String value.
    -static StrLookupmapLookup(Map map) - -
    -          Returns a lookup which looks up values using a map.
    -static StrLookupnoneLookup() - -
    -          Returns a lookup which always returns null.
    -static StrLookupsystemPropertiesLookup() - -
    -          Returns a lookup which uses System properties - to lookup the key to value.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -StrLookup

    -
    -protected StrLookup()
    -
    -
    Constructor.
    - - - - - - - - -
    -Method Detail
    - -

    -noneLookup

    -
    -public static StrLookup noneLookup()
    -
    -
    Returns a lookup which always returns null.
    -
    Returns:
    a lookup that always returns null, not null
    -
    -
    -
    - -

    -systemPropertiesLookup

    -
    -public static StrLookup systemPropertiesLookup()
    -
    -
    Returns a lookup which uses System properties - to lookup the key to value. -

    - If a security manager blocked access to system properties, then null will - be returned from every lookup. -

    - If a null key is used, this lookup will throw a NullPointerException.

    -
    Returns:
    a lookup using system properties, not null
    -
    -
    -
    - -

    -mapLookup

    -
    -public static StrLookup mapLookup(Map map)
    -
    -
    Returns a lookup which looks up values using a map. -

    - If the map is null, then null will be returned from every lookup. - The map result object is converted to a string using toString().

    -
    Parameters:
    map - the map of keys to values, may be null
    Returns:
    a lookup using the map, not null
    -
    -
    -
    - -

    -lookup

    -
    -public abstract String lookup(String key)
    -
    -
    Looks up a String key to a String value. -

    - The internal implementation may use any mechanism to return the value. - The simplest implementation is to use a Map. However, virtually any - implementation is possible. -

    - For example, it would be possible to implement a lookup that used the - key as a primary key, and looked up the value on demand from the database - Or, a numeric based implementation could be created that treats the key - as an integer, increments the value and return the result as a string - - converting 1 to 2, 15 to 16 etc.

    -
    Parameters:
    key - the key to be looked up, may be null
    Returns:
    the matching value, null if no match
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrMatcher.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrMatcher.html deleted file mode 100644 index 891ebb62..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrMatcher.html +++ /dev/null @@ -1,495 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StrMatcher - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.text -
    -Class StrMatcher

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.text.StrMatcher
    -
    -
    -
    -
    public abstract class StrMatcher
    extends Object
    - -

    -A matcher class that can be queried to determine if a character array - portion matches. -

    - This class comes complete with various factory methods. - If these do not suffice, you can subclass and implement your own matcher. -

    -

    -
    Since:
    2.2
    -
    Version:
    $Id: StrMatcher.java 437554 2006-08-28 06:21:41Z bayard $
    -
    Author:
    Stephen Colebourne
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected StrMatcher() - -
    -          Constructor.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static StrMatchercharMatcher(char ch) - -
    -          Constructor that creates a matcher from a character.
    -static StrMatchercharSetMatcher(char[] chars) - -
    -          Constructor that creates a matcher from a set of characters.
    -static StrMatchercharSetMatcher(String chars) - -
    -          Constructor that creates a matcher from a string representing a set of characters.
    -static StrMatchercommaMatcher() - -
    -          Returns a matcher which matches the comma character.
    -static StrMatcherdoubleQuoteMatcher() - -
    -          Returns a matcher which matches the double quote character.
    -abstract  intisMatch(char[] buffer, - int pos, - int bufferStart, - int bufferEnd) - -
    -          Returns the number of matching characters, zero for no match.
    -static StrMatchernoneMatcher() - -
    -          Matches no characters.
    -static StrMatcherquoteMatcher() - -
    -          Returns a matcher which matches the single or double quote character.
    -static StrMatchersingleQuoteMatcher() - -
    -          Returns a matcher which matches the single quote character.
    -static StrMatcherspaceMatcher() - -
    -          Returns a matcher which matches the space character.
    -static StrMatchersplitMatcher() - -
    -          Matches the same characters as StringTokenizer, - namely space, tab, newline and formfeed.
    -static StrMatcherstringMatcher(String str) - -
    -          Constructor that creates a matcher from a string.
    -static StrMatchertabMatcher() - -
    -          Returns a matcher which matches the tab character.
    -static StrMatchertrimMatcher() - -
    -          Matches the String trim() whitespace characters.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -StrMatcher

    -
    -protected StrMatcher()
    -
    -
    Constructor.
    - - - - - - - - -
    -Method Detail
    - -

    -commaMatcher

    -
    -public static StrMatcher commaMatcher()
    -
    -
    Returns a matcher which matches the comma character.
    -
    Returns:
    a matcher for a comma
    -
    -
    -
    - -

    -tabMatcher

    -
    -public static StrMatcher tabMatcher()
    -
    -
    Returns a matcher which matches the tab character.
    -
    Returns:
    a matcher for a tab
    -
    -
    -
    - -

    -spaceMatcher

    -
    -public static StrMatcher spaceMatcher()
    -
    -
    Returns a matcher which matches the space character.
    -
    Returns:
    a matcher for a space
    -
    -
    -
    - -

    -splitMatcher

    -
    -public static StrMatcher splitMatcher()
    -
    -
    Matches the same characters as StringTokenizer, - namely space, tab, newline and formfeed.
    -
    Returns:
    the split matcher
    -
    -
    -
    - -

    -trimMatcher

    -
    -public static StrMatcher trimMatcher()
    -
    -
    Matches the String trim() whitespace characters.
    -
    Returns:
    the trim matcher
    -
    -
    -
    - -

    -singleQuoteMatcher

    -
    -public static StrMatcher singleQuoteMatcher()
    -
    -
    Returns a matcher which matches the single quote character.
    -
    Returns:
    a matcher for a single quote
    -
    -
    -
    - -

    -doubleQuoteMatcher

    -
    -public static StrMatcher doubleQuoteMatcher()
    -
    -
    Returns a matcher which matches the double quote character.
    -
    Returns:
    a matcher for a double quote
    -
    -
    -
    - -

    -quoteMatcher

    -
    -public static StrMatcher quoteMatcher()
    -
    -
    Returns a matcher which matches the single or double quote character.
    -
    Returns:
    a matcher for a single or double quote
    -
    -
    -
    - -

    -noneMatcher

    -
    -public static StrMatcher noneMatcher()
    -
    -
    Matches no characters.
    -
    Returns:
    a matcher that matches nothing
    -
    -
    -
    - -

    -charMatcher

    -
    -public static StrMatcher charMatcher(char ch)
    -
    -
    Constructor that creates a matcher from a character.
    -
    Parameters:
    ch - the character to match, must not be null
    Returns:
    a new Matcher for the given char
    -
    -
    -
    - -

    -charSetMatcher

    -
    -public static StrMatcher charSetMatcher(char[] chars)
    -
    -
    Constructor that creates a matcher from a set of characters.
    -
    Parameters:
    chars - the characters to match, null or empty matches nothing
    Returns:
    a new matcher for the given char[]
    -
    -
    -
    - -

    -charSetMatcher

    -
    -public static StrMatcher charSetMatcher(String chars)
    -
    -
    Constructor that creates a matcher from a string representing a set of characters.
    -
    Parameters:
    chars - the characters to match, null or empty matches nothing
    Returns:
    a new Matcher for the given characters
    -
    -
    -
    - -

    -stringMatcher

    -
    -public static StrMatcher stringMatcher(String str)
    -
    -
    Constructor that creates a matcher from a string.
    -
    Parameters:
    str - the string to match, null or empty matches nothing
    Returns:
    a new Matcher for the given String
    -
    -
    -
    - -

    -isMatch

    -
    -public abstract int isMatch(char[] buffer,
    -                            int pos,
    -                            int bufferStart,
    -                            int bufferEnd)
    -
    -
    Returns the number of matching characters, zero for no match. -

    - This method is called to check for a match. - The parameter pos represents the current position to be - checked in the string buffer (a character array which must - not be changed). - The API guarantees that pos is a valid index for buffer. -

    - The character array may be larger than the active area to be matched. - Only values in the buffer between the specifed indices may be accessed. -

    - The matching code may check one character or many. - It may check characters preceeding pos as well as those - after, so long as no checks exceed the bounds specified. -

    - It must return zero for no match, or a positive number if a match was found. - The number indicates the number of characters that matched.

    -
    Parameters:
    buffer - the text content to match against, do not change
    pos - the starting position for the match, valid for buffer
    bufferStart - the first active index in the buffer, valid for buffer
    bufferEnd - the end index (exclusive) of the active buffer, valid for buffer
    Returns:
    the number of matching characters, zero for no match
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrSubstitutor.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrSubstitutor.html deleted file mode 100644 index e927b3c5..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrSubstitutor.html +++ /dev/null @@ -1,1166 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StrSubstitutor - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.text -
    -Class StrSubstitutor

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.text.StrSubstitutor
    -
    -
    -
    -
    public class StrSubstitutor
    extends Object
    - -

    -Substitutes variables within a string by values. -

    - This class takes a piece of text and substitutes all the variables within it. - The default definition of a variable is ${variableName}. - The prefix and suffix can be changed via constructors and set methods. -

    - Variable values are typically resolved from a map, but could also be resolved - from system properties, or by supplying a custom variable resolver. -

    - The simplest example is to use this class to replace Java System properties. For example: -

    - StrSubstitutor.replaceSystemProperties(
    -      "You are running with java.version = ${java.version} and os.name = ${os.name}.");
    - 
    -

    - Typical usage of this class follows the following pattern: First an instance is created - and initialized with the map that contains the values for the available variables. - If a prefix and/or suffix for variables should be used other than the default ones, - the appropriate settings can be performed. After that the replace() - method can be called passing in the source text for interpolation. In the returned - text all variable references (as long as their values are known) will be resolved. - The following example demonstrates this: -

    - Map valuesMap = HashMap();
    - valuesMap.put("animal", "quick brown fox");
    - valuesMap.put("target", "lazy dog");
    - String templateString = "The ${animal} jumped over the ${target}.";
    - StrSubstitutor sub = new StrSubstitutor(valuesMap);
    - String resolvedString = sub.replace(templateString);
    - 
    - yielding: -
    -      The quick brown fox jumped over the lazy dog.
    - 
    -

    - In addition to this usage pattern there are some static convenience methods that - cover the most common use cases. These methods can be used without the need of - manually creating an instance. However if multiple replace operations are to be - performed, creating and reusing an instance of this class will be more efficient. -

    - Variable replacement works in a recursive way. Thus, if a variable value contains - a variable then that variable will also be replaced. Cyclic replacements are - detected and will cause an exception to be thrown. -

    - Sometimes the interpolation's result must contain a variable prefix. As an example - take the following source text: -

    -   The variable ${${name}} must be used.
    - 
    - Here only the variable's name refered to in the text should be replaced resulting - in the text (assuming that the value of the name variable is x): -
    -   The variable ${x} must be used.
    - 
    - To achieve this effect there are two possibilities: Either set a different prefix - and suffix for variables which do not conflict with the result text you want to - produce. The other possibility is to use the escape character, by default '$'. - If this character is placed before a variable reference, this reference is ignored - and won't be replaced. For example: -
    -   The variable $${${name}} must be used.
    - 
    -

    -

    -
    Since:
    2.2
    -
    Version:
    $Id: StrSubstitutor.java 437554 2006-08-28 06:21:41Z bayard $
    -
    Author:
    Oliver Heger, Stephen Colebourne
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static charDEFAULT_ESCAPE - -
    -          Constant for the default escape character.
    -static StrMatcherDEFAULT_PREFIX - -
    -          Constant for the default variable prefix.
    -static StrMatcherDEFAULT_SUFFIX - -
    -          Constant for the default variable suffix.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    StrSubstitutor() - -
    -          Creates a new instance with defaults for variable prefix and suffix - and the escaping character.
    StrSubstitutor(Map valueMap) - -
    -          Creates a new instance and initializes it.
    StrSubstitutor(Map valueMap, - String prefix, - String suffix) - -
    -          Creates a new instance and initializes it.
    StrSubstitutor(Map valueMap, - String prefix, - String suffix, - char escape) - -
    -          Creates a new instance and initializes it.
    StrSubstitutor(StrLookup variableResolver) - -
    -          Creates a new instance and initializes it.
    StrSubstitutor(StrLookup variableResolver, - String prefix, - String suffix, - char escape) - -
    -          Creates a new instance and initializes it.
    StrSubstitutor(StrLookup variableResolver, - StrMatcher prefixMatcher, - StrMatcher suffixMatcher, - char escape) - -
    -          Creates a new instance and initializes it.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - chargetEscapeChar() - -
    -          Returns the escape character.
    - StrMatchergetVariablePrefixMatcher() - -
    -          Gets the variable prefix matcher currently in use.
    - StrLookupgetVariableResolver() - -
    -          Gets the VariableResolver that is used to lookup variables.
    - StrMatchergetVariableSuffixMatcher() - -
    -          Gets the variable suffix matcher currently in use.
    - Stringreplace(char[] source) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source array as a template.
    - Stringreplace(char[] source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source array as a template.
    - Stringreplace(Object source) - -
    -          Replaces all the occurrences of variables in the given source object with - their matching values from the resolver.
    -static Stringreplace(Object source, - Map valueMap) - -
    -          Replaces all the occurrences of variables in the given source object with - their matching values from the map.
    -static Stringreplace(Object source, - Map valueMap, - String prefix, - String suffix) - -
    -          Replaces all the occurrences of variables in the given source object with - their matching values from the map.
    - Stringreplace(StrBuilder source) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template.
    - Stringreplace(StrBuilder source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template.
    - Stringreplace(String source) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source string as a template.
    - Stringreplace(StringBuffer source) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source buffer as a template.
    - Stringreplace(StringBuffer source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source buffer as a template.
    - Stringreplace(String source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source string as a template.
    - booleanreplaceIn(StrBuilder source) - -
    -          Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver.
    - booleanreplaceIn(StrBuilder source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver.
    - booleanreplaceIn(StringBuffer source) - -
    -          Replaces all the occurrences of variables within the given source buffer - with their matching values from the resolver.
    - booleanreplaceIn(StringBuffer source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables within the given source buffer - with their matching values from the resolver.
    -static StringreplaceSystemProperties(Object source) - -
    -          Replaces all the occurrences of variables in the given source object with - their matching values from the system properties.
    -protected  StringresolveVariable(String variableName, - StrBuilder buf, - int startPos, - int endPos) - -
    -          Internal method that resolves the value of a variable.
    - voidsetEscapeChar(char escapeCharacter) - -
    -          Sets the escape character.
    - StrSubstitutorsetVariablePrefix(char prefix) - -
    -          Sets the variable prefix to use.
    - StrSubstitutorsetVariablePrefix(String prefix) - -
    -          Sets the variable prefix to use.
    - StrSubstitutorsetVariablePrefixMatcher(StrMatcher prefixMatcher) - -
    -          Sets the variable prefix matcher currently in use.
    - voidsetVariableResolver(StrLookup variableResolver) - -
    -          Sets the VariableResolver that is used to lookup variables.
    - StrSubstitutorsetVariableSuffix(char suffix) - -
    -          Sets the variable suffix to use.
    - StrSubstitutorsetVariableSuffix(String suffix) - -
    -          Sets the variable suffix to use.
    - StrSubstitutorsetVariableSuffixMatcher(StrMatcher suffixMatcher) - -
    -          Sets the variable suffix matcher currently in use.
    -protected  booleansubstitute(StrBuilder buf, - int offset, - int length) - -
    -          Internal method that substitutes the variables.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -DEFAULT_ESCAPE

    -
    -public static final char DEFAULT_ESCAPE
    -
    -
    Constant for the default escape character.
    -
    - -

    -DEFAULT_PREFIX

    -
    -public static final StrMatcher DEFAULT_PREFIX
    -
    -
    Constant for the default variable prefix.
    -
    - -

    -DEFAULT_SUFFIX

    -
    -public static final StrMatcher DEFAULT_SUFFIX
    -
    -
    Constant for the default variable suffix.
    - - - - - - - - -
    -Constructor Detail
    - -

    -StrSubstitutor

    -
    -public StrSubstitutor()
    -
    -
    Creates a new instance with defaults for variable prefix and suffix - and the escaping character.
    -
    - -

    -StrSubstitutor

    -
    -public StrSubstitutor(Map valueMap)
    -
    -
    Creates a new instance and initializes it. Uses defaults for variable - prefix and suffix and the escaping character.
    -
    Parameters:
    valueMap - the map with the variables' values, may be null
    -
    -
    -
    - -

    -StrSubstitutor

    -
    -public StrSubstitutor(Map valueMap,
    -                      String prefix,
    -                      String suffix)
    -
    -
    Creates a new instance and initializes it. Uses a default escaping character.
    -
    Parameters:
    valueMap - the map with the variables' values, may be null
    prefix - the prefix for variables, not null
    suffix - the suffix for variables, not null
    Throws:
    IllegalArgumentException - if the prefix or suffix is null
    -
    -
    -
    - -

    -StrSubstitutor

    -
    -public StrSubstitutor(Map valueMap,
    -                      String prefix,
    -                      String suffix,
    -                      char escape)
    -
    -
    Creates a new instance and initializes it.
    -
    Parameters:
    valueMap - the map with the variables' values, may be null
    prefix - the prefix for variables, not null
    suffix - the suffix for variables, not null
    escape - the escape character
    Throws:
    IllegalArgumentException - if the prefix or suffix is null
    -
    -
    -
    - -

    -StrSubstitutor

    -
    -public StrSubstitutor(StrLookup variableResolver)
    -
    -
    Creates a new instance and initializes it.
    -
    Parameters:
    variableResolver - the variable resolver, may be null
    -
    -
    -
    - -

    -StrSubstitutor

    -
    -public StrSubstitutor(StrLookup variableResolver,
    -                      String prefix,
    -                      String suffix,
    -                      char escape)
    -
    -
    Creates a new instance and initializes it.
    -
    Parameters:
    variableResolver - the variable resolver, may be null
    prefix - the prefix for variables, not null
    suffix - the suffix for variables, not null
    escape - the escape character
    Throws:
    IllegalArgumentException - if the prefix or suffix is null
    -
    -
    -
    - -

    -StrSubstitutor

    -
    -public StrSubstitutor(StrLookup variableResolver,
    -                      StrMatcher prefixMatcher,
    -                      StrMatcher suffixMatcher,
    -                      char escape)
    -
    -
    Creates a new instance and initializes it.
    -
    Parameters:
    variableResolver - the variable resolver, may be null
    prefixMatcher - the prefix for variables, not null
    suffixMatcher - the suffix for variables, not null
    escape - the escape character
    Throws:
    IllegalArgumentException - if the prefix or suffix is null
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -replace

    -
    -public static String replace(Object source,
    -                             Map valueMap)
    -
    -
    Replaces all the occurrences of variables in the given source object with - their matching values from the map.
    -
    Parameters:
    source - the source text containing the variables to substitute, null returns null
    valueMap - the map with the values, may be null
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public static String replace(Object source,
    -                             Map valueMap,
    -                             String prefix,
    -                             String suffix)
    -
    -
    Replaces all the occurrences of variables in the given source object with - their matching values from the map. This method allows to specifiy a - custom variable prefix and suffix
    -
    Parameters:
    source - the source text containing the variables to substitute, null returns null
    valueMap - the map with the values, may be null
    prefix - the prefix of variables, not null
    suffix - the suffix of variables, not null
    Returns:
    the result of the replace operation
    Throws:
    IllegalArgumentException - if the prefix or suffix is null
    -
    -
    -
    - -

    -replaceSystemProperties

    -
    -public static String replaceSystemProperties(Object source)
    -
    -
    Replaces all the occurrences of variables in the given source object with - their matching values from the system properties.
    -
    Parameters:
    source - the source text containing the variables to substitute, null returns null
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(String source)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source string as a template.
    -
    Parameters:
    source - the string to replace in, null returns null
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(String source,
    -                      int offset,
    -                      int length)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source string as a template. -

    - Only the specified portion of the string will be processed. - The rest of the string is not processed, and is not returned.

    -
    Parameters:
    source - the string to replace in, null returns null
    offset - the start offset within the array, must be valid
    length - the length within the array to be processed, must be valid
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(char[] source)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source array as a template. - The array is not altered by this method.
    -
    Parameters:
    source - the character array to replace in, not altered, null returns null
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(char[] source,
    -                      int offset,
    -                      int length)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source array as a template. - The array is not altered by this method. -

    - Only the specified portion of the array will be processed. - The rest of the array is not processed, and is not returned.

    -
    Parameters:
    source - the character array to replace in, not altered, null returns null
    offset - the start offset within the array, must be valid
    length - the length within the array to be processed, must be valid
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(StringBuffer source)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source buffer as a template. - The buffer is not altered by this method.
    -
    Parameters:
    source - the buffer to use as a template, not changed, null returns null
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(StringBuffer source,
    -                      int offset,
    -                      int length)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source buffer as a template. - The buffer is not altered by this method. -

    - Only the specified portion of the buffer will be processed. - The rest of the buffer is not processed, and is not returned.

    -
    Parameters:
    source - the buffer to use as a template, not changed, null returns null
    offset - the start offset within the array, must be valid
    length - the length within the array to be processed, must be valid
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(StrBuilder source)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template. - The builder is not altered by this method.
    -
    Parameters:
    source - the builder to use as a template, not changed, null returns null
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(StrBuilder source,
    -                      int offset,
    -                      int length)
    -
    -
    Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template. - The builder is not altered by this method. -

    - Only the specified portion of the builder will be processed. - The rest of the builder is not processed, and is not returned.

    -
    Parameters:
    source - the builder to use as a template, not changed, null returns null
    offset - the start offset within the array, must be valid
    length - the length within the array to be processed, must be valid
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replace

    -
    -public String replace(Object source)
    -
    -
    Replaces all the occurrences of variables in the given source object with - their matching values from the resolver. The input source object is - converted to a string using toString and is not altered.
    -
    Parameters:
    source - the source to replace in, null returns null
    Returns:
    the result of the replace operation
    -
    -
    -
    - -

    -replaceIn

    -
    -public boolean replaceIn(StringBuffer source)
    -
    -
    Replaces all the occurrences of variables within the given source buffer - with their matching values from the resolver. - The buffer is updated with the result.
    -
    Parameters:
    source - the buffer to replace in, updated, null returns zero
    Returns:
    true if altered
    -
    -
    -
    - -

    -replaceIn

    -
    -public boolean replaceIn(StringBuffer source,
    -                         int offset,
    -                         int length)
    -
    -
    Replaces all the occurrences of variables within the given source buffer - with their matching values from the resolver. - The buffer is updated with the result. -

    - Only the specified portion of the buffer will be processed. - The rest of the buffer is not processed, but it is not deleted.

    -
    Parameters:
    source - the buffer to replace in, updated, null returns zero
    offset - the start offset within the array, must be valid
    length - the length within the buffer to be processed, must be valid
    Returns:
    true if altered
    -
    -
    -
    - -

    -replaceIn

    -
    -public boolean replaceIn(StrBuilder source)
    -
    -
    Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver.
    -
    Parameters:
    source - the builder to replace in, updated, null returns zero
    Returns:
    true if altered
    -
    -
    -
    - -

    -replaceIn

    -
    -public boolean replaceIn(StrBuilder source,
    -                         int offset,
    -                         int length)
    -
    -
    Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver. -

    - Only the specified portion of the builder will be processed. - The rest of the builder is not processed, but it is not deleted.

    -
    Parameters:
    source - the builder to replace in, null returns zero
    offset - the start offset within the array, must be valid
    length - the length within the builder to be processed, must be valid
    Returns:
    true if altered
    -
    -
    -
    - -

    -substitute

    -
    -protected boolean substitute(StrBuilder buf,
    -                             int offset,
    -                             int length)
    -
    -
    Internal method that substitutes the variables. -

    - Most users of this class do not need to call this method. This method will - be called automatically by another (public) method. -

    - Writers of subclasses can override this method if they need access to - the substitution process at the start or end.

    -
    Parameters:
    buf - the string builder to substitute into, not null
    offset - the start offset within the builder, must be valid
    length - the length within the builder to be processed, must be valid
    Returns:
    true if altered
    -
    -
    -
    - -

    -resolveVariable

    -
    -protected String resolveVariable(String variableName,
    -                                 StrBuilder buf,
    -                                 int startPos,
    -                                 int endPos)
    -
    -
    Internal method that resolves the value of a variable. -

    - Most users of this class do not need to call this method. This method is - called automatically by the substitution process. -

    - Writers of subclasses can override this method if they need to alter - how each substitution occurs. The method is passed the variable's name - and must return the corresponding value. This implementation uses the - getVariableResolver() with the variable's name as the key.

    -
    Parameters:
    variableName - the name of the variable, not null
    buf - the buffer where the substitution is occurring, not null
    startPos - the start position of the variable including the prefix, valid
    endPos - the end position of the variable including the suffix, valid
    Returns:
    the variable's value or null if the variable is unknown
    -
    -
    -
    - -

    -getEscapeChar

    -
    -public char getEscapeChar()
    -
    -
    Returns the escape character.
    -
    Returns:
    the character used for escaping variable references
    -
    -
    -
    - -

    -setEscapeChar

    -
    -public void setEscapeChar(char escapeCharacter)
    -
    -
    Sets the escape character. - If this character is placed before a variable reference in the source - text, this variable will be ignored.
    -
    Parameters:
    escapeCharacter - the escape character (0 for disabling escaping)
    -
    -
    -
    - -

    -getVariablePrefixMatcher

    -
    -public StrMatcher getVariablePrefixMatcher()
    -
    -
    Gets the variable prefix matcher currently in use. -

    - The variable prefix is the characer or characters that identify the - start of a variable. This prefix is expressed in terms of a matcher - allowing advanced prefix matches.

    -
    Returns:
    the prefix matcher in use
    -
    -
    -
    - -

    -setVariablePrefixMatcher

    -
    -public StrSubstitutor setVariablePrefixMatcher(StrMatcher prefixMatcher)
    -
    -
    Sets the variable prefix matcher currently in use. -

    - The variable prefix is the characer or characters that identify the - start of a variable. This prefix is expressed in terms of a matcher - allowing advanced prefix matches.

    -
    Parameters:
    prefixMatcher - the prefix matcher to use, null ignored
    Returns:
    this, to enable chaining
    Throws:
    IllegalArgumentException - if the prefix matcher is null
    -
    -
    -
    - -

    -setVariablePrefix

    -
    -public StrSubstitutor setVariablePrefix(char prefix)
    -
    -
    Sets the variable prefix to use. -

    - The variable prefix is the characer or characters that identify the - start of a variable. This method allows a single character prefix to - be easily set.

    -
    Parameters:
    prefix - the prefix character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -setVariablePrefix

    -
    -public StrSubstitutor setVariablePrefix(String prefix)
    -
    -
    Sets the variable prefix to use. -

    - The variable prefix is the characer or characters that identify the - start of a variable. This method allows a string prefix to be easily set.

    -
    Parameters:
    prefix - the prefix for variables, not null
    Returns:
    this, to enable chaining
    Throws:
    IllegalArgumentException - if the prefix is null
    -
    -
    -
    - -

    -getVariableSuffixMatcher

    -
    -public StrMatcher getVariableSuffixMatcher()
    -
    -
    Gets the variable suffix matcher currently in use. -

    - The variable suffix is the characer or characters that identify the - end of a variable. This suffix is expressed in terms of a matcher - allowing advanced suffix matches.

    -
    Returns:
    the suffix matcher in use
    -
    -
    -
    - -

    -setVariableSuffixMatcher

    -
    -public StrSubstitutor setVariableSuffixMatcher(StrMatcher suffixMatcher)
    -
    -
    Sets the variable suffix matcher currently in use. -

    - The variable suffix is the characer or characters that identify the - end of a variable. This suffix is expressed in terms of a matcher - allowing advanced suffix matches.

    -
    Parameters:
    suffixMatcher - the suffix matcher to use, null ignored
    Returns:
    this, to enable chaining
    Throws:
    IllegalArgumentException - if the suffix matcher is null
    -
    -
    -
    - -

    -setVariableSuffix

    -
    -public StrSubstitutor setVariableSuffix(char suffix)
    -
    -
    Sets the variable suffix to use. -

    - The variable suffix is the characer or characters that identify the - end of a variable. This method allows a single character suffix to - be easily set.

    -
    Parameters:
    suffix - the suffix character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -setVariableSuffix

    -
    -public StrSubstitutor setVariableSuffix(String suffix)
    -
    -
    Sets the variable suffix to use. -

    - The variable suffix is the characer or characters that identify the - end of a variable. This method allows a string suffix to be easily set.

    -
    Parameters:
    suffix - the suffix for variables, not null
    Returns:
    this, to enable chaining
    Throws:
    IllegalArgumentException - if the suffix is null
    -
    -
    -
    - -

    -getVariableResolver

    -
    -public StrLookup getVariableResolver()
    -
    -
    Gets the VariableResolver that is used to lookup variables.
    -
    Returns:
    the VariableResolver
    -
    -
    -
    - -

    -setVariableResolver

    -
    -public void setVariableResolver(StrLookup variableResolver)
    -
    -
    Sets the VariableResolver that is used to lookup variables.
    -
    Parameters:
    variableResolver - the VariableResolver
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrTokenizer.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrTokenizer.html deleted file mode 100644 index a3792593..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/StrTokenizer.html +++ /dev/null @@ -1,1550 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StrTokenizer - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.text -
    -Class StrTokenizer

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.text.StrTokenizer
    -
    -
    -
    All Implemented Interfaces:
    Cloneable, Iterator, ListIterator
    -
    -
    -
    -
    public class StrTokenizer
    extends Object
    implements ListIterator, Cloneable
    - -

    -Tokenizes a string based based on delimiters (separators) - and supporting quoting and ignored character concepts. -

    - This class can split a String into many smaller strings. It aims - to do a similar job to StringTokenizer, - however it offers much more control and flexibility including implementing - the ListIterator interface. By default, it is setup - like StringTokenizer. -

    - The input String is split into a number of tokens. - Each token is separated from the next String by a delimiter. - One or more delimiter characters must be specified. -

    - Each token may be surrounded by quotes. - The quote matcher specifies the quote character(s). - A quote may be escaped within a quoted section by duplicating itself. -

    - Between each token and the delimiter are potentially characters that need trimming. - The trimmer matcher specifies these characters. - One usage might be to trim whitespace characters. -

    - At any point outside the quotes there might potentially be invalid characters. - The ignored matcher specifies these characters to be removed. - One usage might be to remove new line characters. -

    - Empty tokens may be removed or returned as null. -

    - "a,b,c"         - Three tokens "a","b","c"   (comma delimiter)
    - " a, b , c "    - Three tokens "a","b","c"   (default CSV processing trims whitespace)
    - "a, ", b ,", c" - Three tokens "a, " , " b ", ", c" (quoted text untouched)
    - 
    -

    - - This tokenizer has the following properties and options: - - - - - - - - - - - - - - - - - - - - -
    PropertyTypeDefault
    delimCharSetMatcher{ \t\n\r\f}
    quoteNoneMatcher{}
    ignoreNoneMatcher{}
    emptyTokenAsNullbooleanfalse
    ignoreEmptyTokensbooleantrue
    -

    -

    -
    Since:
    2.2
    -
    Version:
    $Id: StrTokenizer.java 491653 2007-01-01 22:03:58Z ggregory $
    -
    Author:
    Matthew Inger, Stephen Colebourne, Gary D. Gregory
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    StrTokenizer() - -
    -          Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer, but with no text to tokenize.
    StrTokenizer(char[] input) - -
    -          Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer.
    StrTokenizer(char[] input, - char delim) - -
    -          Constructs a tokenizer splitting on the specified character.
    StrTokenizer(char[] input, - char delim, - char quote) - -
    -          Constructs a tokenizer splitting on the specified delimiter character - and handling quotes using the specified quote character.
    StrTokenizer(char[] input, - String delim) - -
    -          Constructs a tokenizer splitting on the specified string.
    StrTokenizer(char[] input, - StrMatcher delim) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher.
    StrTokenizer(char[] input, - StrMatcher delim, - StrMatcher quote) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher.
    StrTokenizer(String input) - -
    -          Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer.
    StrTokenizer(String input, - char delim) - -
    -          Constructs a tokenizer splitting on the specified delimiter character.
    StrTokenizer(String input, - char delim, - char quote) - -
    -          Constructs a tokenizer splitting on the specified delimiter character - and handling quotes using the specified quote character.
    StrTokenizer(String input, - String delim) - -
    -          Constructs a tokenizer splitting on the specified delimiter string.
    StrTokenizer(String input, - StrMatcher delim) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher.
    StrTokenizer(String input, - StrMatcher delim, - StrMatcher quote) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidadd(Object obj) - -
    -          Unsupported ListIterator operation.
    - Objectclone() - -
    -          Creates a new instance of this Tokenizer.
    - StringgetContent() - -
    -          Gets the String content that the tokenizer is parsing.
    -static StrTokenizergetCSVInstance() - -
    -          Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input.
    -static StrTokenizergetCSVInstance(char[] input) - -
    -          Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input.
    -static StrTokenizergetCSVInstance(String input) - -
    -          Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input.
    - StrMatchergetDelimiterMatcher() - -
    -          Gets the field delimiter matcher.
    - StrMatchergetIgnoredMatcher() - -
    -          Gets the ignored character matcher.
    - StrMatchergetQuoteMatcher() - -
    -          Gets the quote matcher currently in use.
    - String[]getTokenArray() - -
    -          Gets a copy of the full token list as an independent modifiable array.
    - ListgetTokenList() - -
    -          Gets a copy of the full token list as an independent modifiable list.
    - StrMatchergetTrimmerMatcher() - -
    -          Gets the trimmer character matcher.
    -static StrTokenizergetTSVInstance() - -
    -          Gets a new tokenizer instance which parses Tab Seperated Value strings.
    -static StrTokenizergetTSVInstance(char[] input) - -
    -          Gets a new tokenizer instance which parses Tab Seperated Value strings.
    -static StrTokenizergetTSVInstance(String input) - -
    -          Gets a new tokenizer instance which parses Tab Seperated Value strings.
    - booleanhasNext() - -
    -          Checks whether there are any more tokens.
    - booleanhasPrevious() - -
    -          Checks whether there are any previous tokens that can be iterated to.
    - booleanisEmptyTokenAsNull() - -
    -          Gets whether the tokenizer currently returns empty tokens as null.
    - booleanisIgnoreEmptyTokens() - -
    -          Gets whether the tokenizer currently ignores empty tokens.
    - Objectnext() - -
    -          Gets the next token.
    - intnextIndex() - -
    -          Gets the index of the next token to return.
    - StringnextToken() - -
    -          Gets the next token from the String.
    - Objectprevious() - -
    -          Gets the token previous to the last returned token.
    - intpreviousIndex() - -
    -          Gets the index of the previous token.
    - StringpreviousToken() - -
    -          Gets the previous token from the String.
    - voidremove() - -
    -          Unsupported ListIterator operation.
    - StrTokenizerreset() - -
    -          Resets this tokenizer, forgetting all parsing and iteration already completed.
    - StrTokenizerreset(char[] input) - -
    -          Reset this tokenizer, giving it a new input string to parse.
    - StrTokenizerreset(String input) - -
    -          Reset this tokenizer, giving it a new input string to parse.
    - voidset(Object obj) - -
    -          Unsupported ListIterator operation.
    - StrTokenizersetDelimiterChar(char delim) - -
    -          Sets the field delimiter character.
    - StrTokenizersetDelimiterMatcher(StrMatcher delim) - -
    -          Sets the field delimiter matcher.
    - StrTokenizersetDelimiterString(String delim) - -
    -          Sets the field delimiter string.
    - StrTokenizersetEmptyTokenAsNull(boolean emptyAsNull) - -
    -          Sets whether the tokenizer should return empty tokens as null.
    - StrTokenizersetIgnoredChar(char ignored) - -
    -          Set the character to ignore.
    - StrTokenizersetIgnoredMatcher(StrMatcher ignored) - -
    -          Set the matcher for characters to ignore.
    - StrTokenizersetIgnoreEmptyTokens(boolean ignoreEmptyTokens) - -
    -          Sets whether the tokenizer should ignore and not return empty tokens.
    - StrTokenizersetQuoteChar(char quote) - -
    -          Sets the quote character to use.
    - StrTokenizersetQuoteMatcher(StrMatcher quote) - -
    -          Set the quote matcher to use.
    - StrTokenizersetTrimmerMatcher(StrMatcher trimmer) - -
    -          Sets the matcher for characters to trim.
    - intsize() - -
    -          Gets the number of tokens found in the String.
    -protected  Listtokenize(char[] chars, - int offset, - int count) - -
    -          Internal method to performs the tokenization.
    - StringtoString() - -
    -          Gets the String content that the tokenizer is parsing.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -StrTokenizer

    -
    -public StrTokenizer()
    -
    -
    Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer, but with no text to tokenize. -

    - This constructor is normally used with reset(String).

    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(String input)
    -
    -
    Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer.
    -
    Parameters:
    input - the string which is to be parsed
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(String input,
    -                    char delim)
    -
    -
    Constructs a tokenizer splitting on the specified delimiter character.
    -
    Parameters:
    input - the string which is to be parsed
    delim - the field delimiter character
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(String input,
    -                    String delim)
    -
    -
    Constructs a tokenizer splitting on the specified delimiter string.
    -
    Parameters:
    input - the string which is to be parsed
    delim - the field delimiter string
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(String input,
    -                    StrMatcher delim)
    -
    -
    Constructs a tokenizer splitting using the specified delimiter matcher.
    -
    Parameters:
    input - the string which is to be parsed
    delim - the field delimiter matcher
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(String input,
    -                    char delim,
    -                    char quote)
    -
    -
    Constructs a tokenizer splitting on the specified delimiter character - and handling quotes using the specified quote character.
    -
    Parameters:
    input - the string which is to be parsed
    delim - the field delimiter character
    quote - the field quoted string character
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(String input,
    -                    StrMatcher delim,
    -                    StrMatcher quote)
    -
    -
    Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher.
    -
    Parameters:
    input - the string which is to be parsed
    delim - the field delimiter matcher
    quote - the field quoted string matcher
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(char[] input)
    -
    -
    Constructs a tokenizer splitting on space, tab, newline and formfeed - as per StringTokenizer. -

    - The input character array is not cloned, and must not be altered after - passing in to this method.

    -
    Parameters:
    input - the string which is to be parsed, not cloned
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(char[] input,
    -                    char delim)
    -
    -
    Constructs a tokenizer splitting on the specified character. -

    - The input character array is not cloned, and must not be altered after - passing in to this method.

    -
    Parameters:
    input - the string which is to be parsed, not cloned
    delim - the field delimiter character
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(char[] input,
    -                    String delim)
    -
    -
    Constructs a tokenizer splitting on the specified string. -

    - The input character array is not cloned, and must not be altered after - passing in to this method.

    -
    Parameters:
    input - the string which is to be parsed, not cloned
    delim - the field delimiter string
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(char[] input,
    -                    StrMatcher delim)
    -
    -
    Constructs a tokenizer splitting using the specified delimiter matcher. -

    - The input character array is not cloned, and must not be altered after - passing in to this method.

    -
    Parameters:
    input - the string which is to be parsed, not cloned
    delim - the field delimiter matcher
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(char[] input,
    -                    char delim,
    -                    char quote)
    -
    -
    Constructs a tokenizer splitting on the specified delimiter character - and handling quotes using the specified quote character. -

    - The input character array is not cloned, and must not be altered after - passing in to this method.

    -
    Parameters:
    input - the string which is to be parsed, not cloned
    delim - the field delimiter character
    quote - the field quoted string character
    -
    -
    -
    - -

    -StrTokenizer

    -
    -public StrTokenizer(char[] input,
    -                    StrMatcher delim,
    -                    StrMatcher quote)
    -
    -
    Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher. -

    - The input character array is not cloned, and must not be altered after - passing in to this method.

    -
    Parameters:
    input - the string which is to be parsed, not cloned
    delim - the field delimiter character
    quote - the field quoted string character
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getCSVInstance

    -
    -public static StrTokenizer getCSVInstance()
    -
    -
    Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input. The default for CSV processing - will be trim whitespace from both ends (which can be overriden with - the setTrimmer method). -

    - You must call a "reset" method to set the string which you want to parse.

    -
    -
    -
    -
    Returns:
    a new tokenizer instance which parses Comma Seperated Value strings
    -
    -
    -
    - -

    -getCSVInstance

    -
    -public static StrTokenizer getCSVInstance(String input)
    -
    -
    Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input. The default for CSV processing - will be trim whitespace from both ends (which can be overriden with - the setTrimmer method).
    -
    -
    -
    -
    Parameters:
    input - the text to parse
    Returns:
    a new tokenizer instance which parses Comma Seperated Value strings
    -
    -
    -
    - -

    -getCSVInstance

    -
    -public static StrTokenizer getCSVInstance(char[] input)
    -
    -
    Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input. The default for CSV processing - will be trim whitespace from both ends (which can be overriden with - the setTrimmer method).
    -
    -
    -
    -
    Parameters:
    input - the text to parse
    Returns:
    a new tokenizer instance which parses Comma Seperated Value strings
    -
    -
    -
    - -

    -getTSVInstance

    -
    -public static StrTokenizer getTSVInstance()
    -
    -
    Gets a new tokenizer instance which parses Tab Seperated Value strings. - The default for CSV processing will be trim whitespace from both ends - (which can be overriden with the setTrimmer method). -

    - You must call a "reset" method to set the string which you want to parse.

    -
    -
    -
    -
    Returns:
    a new tokenizer instance which parses Tab Seperated Value strings.
    -
    -
    -
    - -

    -getTSVInstance

    -
    -public static StrTokenizer getTSVInstance(String input)
    -
    -
    Gets a new tokenizer instance which parses Tab Seperated Value strings. - The default for CSV processing will be trim whitespace from both ends - (which can be overriden with the setTrimmer method).
    -
    -
    -
    -
    Parameters:
    input - the string to parse
    Returns:
    a new tokenizer instance which parses Tab Seperated Value strings.
    -
    -
    -
    - -

    -getTSVInstance

    -
    -public static StrTokenizer getTSVInstance(char[] input)
    -
    -
    Gets a new tokenizer instance which parses Tab Seperated Value strings. - The default for CSV processing will be trim whitespace from both ends - (which can be overriden with the setTrimmer method).
    -
    -
    -
    -
    Parameters:
    input - the string to parse
    Returns:
    a new tokenizer instance which parses Tab Seperated Value strings.
    -
    -
    -
    - -

    -size

    -
    -public int size()
    -
    -
    Gets the number of tokens found in the String.
    -
    -
    -
    -
    Returns:
    the number of matched tokens
    -
    -
    -
    - -

    -nextToken

    -
    -public String nextToken()
    -
    -
    Gets the next token from the String.
    -
    -
    -
    -
    Returns:
    the next sequential token, or null when no more tokens are found
    -
    -
    -
    - -

    -previousToken

    -
    -public String previousToken()
    -
    -
    Gets the previous token from the String.
    -
    -
    -
    -
    Returns:
    the previous sequential token, or null when no more tokens are found
    -
    -
    -
    - -

    -getTokenArray

    -
    -public String[] getTokenArray()
    -
    -
    Gets a copy of the full token list as an independent modifiable array.
    -
    -
    -
    -
    Returns:
    the tokens as a String array
    -
    -
    -
    - -

    -getTokenList

    -
    -public List getTokenList()
    -
    -
    Gets a copy of the full token list as an independent modifiable list.
    -
    -
    -
    -
    Returns:
    the tokens as a String array
    -
    -
    -
    - -

    -reset

    -
    -public StrTokenizer reset()
    -
    -
    Resets this tokenizer, forgetting all parsing and iteration already completed. -

    - This method allows the same tokenizer to be reused for the same String.

    -
    -
    -
    -
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -reset

    -
    -public StrTokenizer reset(String input)
    -
    -
    Reset this tokenizer, giving it a new input string to parse. - In this manner you can re-use a tokenizer with the same settings - on multiple input lines.
    -
    -
    -
    -
    Parameters:
    input - the new string to tokenize, null sets no text to parse
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -reset

    -
    -public StrTokenizer reset(char[] input)
    -
    -
    Reset this tokenizer, giving it a new input string to parse. - In this manner you can re-use a tokenizer with the same settings - on multiple input lines. -

    - The input character array is not cloned, and must not be altered after - passing in to this method.

    -
    -
    -
    -
    Parameters:
    input - the new character array to tokenize, not cloned, null sets no text to parse
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -hasNext

    -
    -public boolean hasNext()
    -
    -
    Checks whether there are any more tokens.
    -
    Specified by:
    hasNext in interface ListIterator
    -
    -
    -
    Returns:
    true if there are more tokens
    -
    -
    -
    - -

    -next

    -
    -public Object next()
    -
    -
    Gets the next token. This method is equivalent to nextToken().
    -
    Specified by:
    next in interface ListIterator
    -
    -
    -
    Returns:
    the next String token
    -
    -
    -
    - -

    -nextIndex

    -
    -public int nextIndex()
    -
    -
    Gets the index of the next token to return.
    -
    Specified by:
    nextIndex in interface ListIterator
    -
    -
    -
    Returns:
    the next token index
    -
    -
    -
    - -

    -hasPrevious

    -
    -public boolean hasPrevious()
    -
    -
    Checks whether there are any previous tokens that can be iterated to.
    -
    Specified by:
    hasPrevious in interface ListIterator
    -
    -
    -
    Returns:
    true if there are previous tokens
    -
    -
    -
    - -

    -previous

    -
    -public Object previous()
    -
    -
    Gets the token previous to the last returned token.
    -
    Specified by:
    previous in interface ListIterator
    -
    -
    -
    Returns:
    the previous token
    -
    -
    -
    - -

    -previousIndex

    -
    -public int previousIndex()
    -
    -
    Gets the index of the previous token.
    -
    Specified by:
    previousIndex in interface ListIterator
    -
    -
    -
    Returns:
    the previous token index
    -
    -
    -
    - -

    -remove

    -
    -public void remove()
    -
    -
    Unsupported ListIterator operation.
    -
    Specified by:
    remove in interface ListIterator
    -
    -
    -
    Throws:
    UnsupportedOperationException - always
    -
    -
    -
    - -

    -set

    -
    -public void set(Object obj)
    -
    -
    Unsupported ListIterator operation.
    -
    Specified by:
    set in interface ListIterator
    -
    -
    -
    Parameters:
    obj - this parameter ignored.
    Throws:
    UnsupportedOperationException - always
    -
    -
    -
    - -

    -add

    -
    -public void add(Object obj)
    -
    -
    Unsupported ListIterator operation.
    -
    Specified by:
    add in interface ListIterator
    -
    -
    -
    Parameters:
    obj - this parameter ignored.
    Throws:
    UnsupportedOperationException - always
    -
    -
    -
    - -

    -tokenize

    -
    -protected List tokenize(char[] chars,
    -                        int offset,
    -                        int count)
    -
    -
    Internal method to performs the tokenization. -

    - Most users of this class do not need to call this method. This method - will be called automatically by other (public) methods when required. -

    - This method exists to allow subclasses to add code before or after the - tokenization. For example, a subclass could alter the character array, - offset or count to be parsed, or call the tokenizer multiple times on - multiple strings. It is also be possible to filter the results. -

    - StrTokenizer will always pass a zero offset and a count - equal to the length of the array to this method, however a subclass - may pass other values, or even an entirely different array.

    -
    -
    -
    -
    Parameters:
    chars - the character array being tokenized, may be null
    offset - the start position within the character array, must be valid
    count - the number of characters to tokenize, must be valid
    Returns:
    the modifiable list of String tokens, unmodifiable if null array or zero count
    -
    -
    -
    - -

    -getDelimiterMatcher

    -
    -public StrMatcher getDelimiterMatcher()
    -
    -
    Gets the field delimiter matcher.
    -
    -
    -
    -
    Returns:
    the delimiter matcher in use
    -
    -
    -
    - -

    -setDelimiterMatcher

    -
    -public StrTokenizer setDelimiterMatcher(StrMatcher delim)
    -
    -
    Sets the field delimiter matcher. -

    - The delimitier is used to separate one token from another.

    -
    -
    -
    -
    Parameters:
    delim - the delimiter matcher to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -setDelimiterChar

    -
    -public StrTokenizer setDelimiterChar(char delim)
    -
    -
    Sets the field delimiter character.
    -
    -
    -
    -
    Parameters:
    delim - the delimiter character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -setDelimiterString

    -
    -public StrTokenizer setDelimiterString(String delim)
    -
    -
    Sets the field delimiter string.
    -
    -
    -
    -
    Parameters:
    delim - the delimiter string to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -getQuoteMatcher

    -
    -public StrMatcher getQuoteMatcher()
    -
    -
    Gets the quote matcher currently in use. -

    - The quote character is used to wrap data between the tokens. - This enables delimiters to be entered as data. - The default value is '"' (double quote).

    -
    -
    -
    -
    Returns:
    the quote matcher in use
    -
    -
    -
    - -

    -setQuoteMatcher

    -
    -public StrTokenizer setQuoteMatcher(StrMatcher quote)
    -
    -
    Set the quote matcher to use. -

    - The quote character is used to wrap data between the tokens. - This enables delimiters to be entered as data.

    -
    -
    -
    -
    Parameters:
    quote - the quote matcher to use, null ignored
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -setQuoteChar

    -
    -public StrTokenizer setQuoteChar(char quote)
    -
    -
    Sets the quote character to use. -

    - The quote character is used to wrap data between the tokens. - This enables delimiters to be entered as data.

    -
    -
    -
    -
    Parameters:
    quote - the quote character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -getIgnoredMatcher

    -
    -public StrMatcher getIgnoredMatcher()
    -
    -
    Gets the ignored character matcher. -

    - These characters are ignored when parsing the String, unless they are - within a quoted region. - The default value is not to ignore anything.

    -
    -
    -
    -
    Returns:
    the ignored matcher in use
    -
    -
    -
    - -

    -setIgnoredMatcher

    -
    -public StrTokenizer setIgnoredMatcher(StrMatcher ignored)
    -
    -
    Set the matcher for characters to ignore. -

    - These characters are ignored when parsing the String, unless they are - within a quoted region.

    -
    -
    -
    -
    Parameters:
    ignored - the ignored matcher to use, null ignored
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -setIgnoredChar

    -
    -public StrTokenizer setIgnoredChar(char ignored)
    -
    -
    Set the character to ignore. -

    - This character is ignored when parsing the String, unless it is - within a quoted region.

    -
    -
    -
    -
    Parameters:
    ignored - the ignored character to use
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -getTrimmerMatcher

    -
    -public StrMatcher getTrimmerMatcher()
    -
    -
    Gets the trimmer character matcher. -

    - These characters are trimmed off on each side of the delimiter - until the token or quote is found. - The default value is not to trim anything.

    -
    -
    -
    -
    Returns:
    the trimmer matcher in use
    -
    -
    -
    - -

    -setTrimmerMatcher

    -
    -public StrTokenizer setTrimmerMatcher(StrMatcher trimmer)
    -
    -
    Sets the matcher for characters to trim. -

    - These characters are trimmed off on each side of the delimiter - until the token or quote is found.

    -
    -
    -
    -
    Parameters:
    trimmer - the trimmer matcher to use, null ignored
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -isEmptyTokenAsNull

    -
    -public boolean isEmptyTokenAsNull()
    -
    -
    Gets whether the tokenizer currently returns empty tokens as null. - The default for this property is false.
    -
    -
    -
    -
    Returns:
    true if empty tokens are returned as null
    -
    -
    -
    - -

    -setEmptyTokenAsNull

    -
    -public StrTokenizer setEmptyTokenAsNull(boolean emptyAsNull)
    -
    -
    Sets whether the tokenizer should return empty tokens as null. - The default for this property is false.
    -
    -
    -
    -
    Parameters:
    emptyAsNull - whether empty tokens are returned as null
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -isIgnoreEmptyTokens

    -
    -public boolean isIgnoreEmptyTokens()
    -
    -
    Gets whether the tokenizer currently ignores empty tokens. - The default for this property is false.
    -
    -
    -
    -
    Returns:
    true if empty tokens are not returned
    -
    -
    -
    - -

    -setIgnoreEmptyTokens

    -
    -public StrTokenizer setIgnoreEmptyTokens(boolean ignoreEmptyTokens)
    -
    -
    Sets whether the tokenizer should ignore and not return empty tokens. - The default for this property is false.
    -
    -
    -
    -
    Parameters:
    ignoreEmptyTokens - whether empty tokens are not returned
    Returns:
    this, to enable chaining
    -
    -
    -
    - -

    -getContent

    -
    -public String getContent()
    -
    -
    Gets the String content that the tokenizer is parsing.
    -
    -
    -
    -
    Returns:
    the string content being parsed
    -
    -
    -
    - -

    -clone

    -
    -public Object clone()
    -
    -
    Creates a new instance of this Tokenizer. The new instance is reset so - that it will be at the start of the token list. - If a CloneNotSupportedException is caught, return null.
    -
    Overrides:
    clone in class Object
    -
    -
    -
    Returns:
    a new instance of this Tokenizer which has been reset.
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    Gets the String content that the tokenizer is parsing.
    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    the string content being parsed
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/CompositeFormat.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/CompositeFormat.html deleted file mode 100644 index 76dcbc64..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/CompositeFormat.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.text.CompositeFormat - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.text.CompositeFormat

    -
    -No usage of org.apache.commons.lang.text.CompositeFormat -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrBuilder.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrBuilder.html deleted file mode 100644 index 91a3d303..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrBuilder.html +++ /dev/null @@ -1,966 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.text.StrBuilder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.text.StrBuilder

    -
    - - - - - - - - - -
    -Packages that use StrBuilder
    org.apache.commons.lang.text -Provides classes for handling and manipulating text, partly as an extension to java.text
    -  -

    - - - - - -
    -Uses of StrBuilder in org.apache.commons.lang.text
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.text that return StrBuilder
    - StrBuilderStrBuilder.setNewLineText(String newLine) - -
    -          Sets the text to be appended when a new line is added.
    - StrBuilderStrBuilder.setNullText(String nullText) - -
    -          Sets the text to be appended when null is added.
    - StrBuilderStrBuilder.setLength(int length) - -
    -          Updates the length of the builder by either dropping the last characters - or adding filler of unicode zero.
    - StrBuilderStrBuilder.ensureCapacity(int capacity) - -
    -          Checks the capacity and ensures that it is at least the size specified.
    - StrBuilderStrBuilder.minimizeCapacity() - -
    -          Minimizes the capacity to the actual length of the string.
    - StrBuilderStrBuilder.clear() - -
    -          Clears the string builder (convenience Collections API style method).
    - StrBuilderStrBuilder.setCharAt(int index, - char ch) - -
    -          Sets the character at the specified index.
    - StrBuilderStrBuilder.deleteCharAt(int index) - -
    -          Deletes the character at the specified index.
    - StrBuilderStrBuilder.appendNewLine() - -
    -          Appends the new line string to this string builder.
    - StrBuilderStrBuilder.appendNull() - -
    -          Appends the text representing null to this string builder.
    - StrBuilderStrBuilder.append(Object obj) - -
    -          Appends an object to this string builder.
    - StrBuilderStrBuilder.append(String str) - -
    -          Appends a string to this string builder.
    - StrBuilderStrBuilder.append(String str, - int startIndex, - int length) - -
    -          Appends part of a string to this string builder.
    - StrBuilderStrBuilder.append(StringBuffer str) - -
    -          Appends a string buffer to this string builder.
    - StrBuilderStrBuilder.append(StringBuffer str, - int startIndex, - int length) - -
    -          Appends part of a string buffer to this string builder.
    - StrBuilderStrBuilder.append(StrBuilder str) - -
    -          Appends another string builder to this string builder.
    - StrBuilderStrBuilder.append(StrBuilder str, - int startIndex, - int length) - -
    -          Appends part of a string builder to this string builder.
    - StrBuilderStrBuilder.append(char[] chars) - -
    -          Appends a char array to the string builder.
    - StrBuilderStrBuilder.append(char[] chars, - int startIndex, - int length) - -
    -          Appends a char array to the string builder.
    - StrBuilderStrBuilder.append(boolean value) - -
    -          Appends a boolean value to the string builder.
    - StrBuilderStrBuilder.append(char ch) - -
    -          Appends a char value to the string builder.
    - StrBuilderStrBuilder.append(int value) - -
    -          Appends an int value to the string builder using String.valueOf.
    - StrBuilderStrBuilder.append(long value) - -
    -          Appends a long value to the string builder using String.valueOf.
    - StrBuilderStrBuilder.append(float value) - -
    -          Appends a float value to the string builder using String.valueOf.
    - StrBuilderStrBuilder.append(double value) - -
    -          Appends a double value to the string builder using String.valueOf.
    - StrBuilderStrBuilder.appendln(Object obj) - -
    -          Appends an object followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(String str) - -
    -          Appends a string followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(String str, - int startIndex, - int length) - -
    -          Appends part of a string followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(StringBuffer str) - -
    -          Appends a string buffer followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(StringBuffer str, - int startIndex, - int length) - -
    -          Appends part of a string buffer followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(StrBuilder str) - -
    -          Appends another string builder followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(StrBuilder str, - int startIndex, - int length) - -
    -          Appends part of a string builder followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(char[] chars) - -
    -          Appends a char array followed by a new line to the string builder.
    - StrBuilderStrBuilder.appendln(char[] chars, - int startIndex, - int length) - -
    -          Appends a char array followed by a new line to the string builder.
    - StrBuilderStrBuilder.appendln(boolean value) - -
    -          Appends a boolean value followed by a new line to the string builder.
    - StrBuilderStrBuilder.appendln(char ch) - -
    -          Appends a char value followed by a new line to the string builder.
    - StrBuilderStrBuilder.appendln(int value) - -
    -          Appends an int value followed by a new line to the string builder using String.valueOf.
    - StrBuilderStrBuilder.appendln(long value) - -
    -          Appends a long value followed by a new line to the string builder using String.valueOf.
    - StrBuilderStrBuilder.appendln(float value) - -
    -          Appends a float value followed by a new line to the string builder using String.valueOf.
    - StrBuilderStrBuilder.appendln(double value) - -
    -          Appends a double value followed by a new line to the string builder using String.valueOf.
    - StrBuilderStrBuilder.appendAll(Object[] array) - -
    -          Appends each item in an array to the builder without any separators.
    - StrBuilderStrBuilder.appendAll(Collection coll) - -
    -          Appends each item in a collection to the builder without any separators.
    - StrBuilderStrBuilder.appendAll(Iterator it) - -
    -          Appends each item in an iterator to the builder without any separators.
    - StrBuilderStrBuilder.appendWithSeparators(Object[] array, - String separator) - -
    -          Appends an array placing separators between each value, but - not before the first or after the last.
    - StrBuilderStrBuilder.appendWithSeparators(Collection coll, - String separator) - -
    -          Appends a collection placing separators between each value, but - not before the first or after the last.
    - StrBuilderStrBuilder.appendWithSeparators(Iterator it, - String separator) - -
    -          Appends an iterator placing separators between each value, but - not before the first or after the last.
    - StrBuilderStrBuilder.appendSeparator(String separator) - -
    -          Appends a separator if the builder is currently non-empty.
    - StrBuilderStrBuilder.appendSeparator(char separator) - -
    -          Appends a separator if the builder is currently non-empty.
    - StrBuilderStrBuilder.appendSeparator(String separator, - int loopIndex) - -
    -          Appends a separator to the builder if the loop index is greater than zero.
    - StrBuilderStrBuilder.appendSeparator(char separator, - int loopIndex) - -
    -          Appends a separator to the builder if the loop index is greater than zero.
    - StrBuilderStrBuilder.appendPadding(int length, - char padChar) - -
    -          Appends the pad character to the builder the specified number of times.
    - StrBuilderStrBuilder.appendFixedWidthPadLeft(Object obj, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the left to a fixed width.
    - StrBuilderStrBuilder.appendFixedWidthPadLeft(int value, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the left to a fixed width.
    - StrBuilderStrBuilder.appendFixedWidthPadRight(Object obj, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the right to a fixed length.
    - StrBuilderStrBuilder.appendFixedWidthPadRight(int value, - int width, - char padChar) - -
    -          Appends an object to the builder padding on the right to a fixed length.
    - StrBuilderStrBuilder.insert(int index, - Object obj) - -
    -          Inserts the string representation of an object into this builder.
    - StrBuilderStrBuilder.insert(int index, - String str) - -
    -          Inserts the string into this builder.
    - StrBuilderStrBuilder.insert(int index, - char[] chars) - -
    -          Inserts the character array into this builder.
    - StrBuilderStrBuilder.insert(int index, - char[] chars, - int offset, - int length) - -
    -          Inserts part of the character array into this builder.
    - StrBuilderStrBuilder.insert(int index, - boolean value) - -
    -          Inserts the value into this builder.
    - StrBuilderStrBuilder.insert(int index, - char value) - -
    -          Inserts the value into this builder.
    - StrBuilderStrBuilder.insert(int index, - int value) - -
    -          Inserts the value into this builder.
    - StrBuilderStrBuilder.insert(int index, - long value) - -
    -          Inserts the value into this builder.
    - StrBuilderStrBuilder.insert(int index, - float value) - -
    -          Inserts the value into this builder.
    - StrBuilderStrBuilder.insert(int index, - double value) - -
    -          Inserts the value into this builder.
    - StrBuilderStrBuilder.delete(int startIndex, - int endIndex) - -
    -          Deletes the characters between the two specified indices.
    - StrBuilderStrBuilder.deleteAll(char ch) - -
    -          Deletes the character wherever it occurs in the builder.
    - StrBuilderStrBuilder.deleteFirst(char ch) - -
    -          Deletes the character wherever it occurs in the builder.
    - StrBuilderStrBuilder.deleteAll(String str) - -
    -          Deletes the string wherever it occurs in the builder.
    - StrBuilderStrBuilder.deleteFirst(String str) - -
    -          Deletes the string wherever it occurs in the builder.
    - StrBuilderStrBuilder.deleteAll(StrMatcher matcher) - -
    -          Deletes all parts of the builder that the matcher matches.
    - StrBuilderStrBuilder.deleteFirst(StrMatcher matcher) - -
    -          Deletes the first match within the builder using the specified matcher.
    - StrBuilderStrBuilder.replace(int startIndex, - int endIndex, - String replaceStr) - -
    -          Replaces a portion of the string builder with another string.
    - StrBuilderStrBuilder.replaceAll(char search, - char replace) - -
    -          Replaces the search character with the replace character - throughout the builder.
    - StrBuilderStrBuilder.replaceFirst(char search, - char replace) - -
    -          Replaces the first instance of the search character with the - replace character in the builder.
    - StrBuilderStrBuilder.replaceAll(String searchStr, - String replaceStr) - -
    -          Replaces the search string with the replace string throughout the builder.
    - StrBuilderStrBuilder.replaceFirst(String searchStr, - String replaceStr) - -
    -          Replaces the first instance of the search string with the replace string.
    - StrBuilderStrBuilder.replaceAll(StrMatcher matcher, - String replaceStr) - -
    -          Replaces all matches within the builder with the replace string.
    - StrBuilderStrBuilder.replaceFirst(StrMatcher matcher, - String replaceStr) - -
    -          Replaces the first match within the builder with the replace string.
    - StrBuilderStrBuilder.replace(StrMatcher matcher, - String replaceStr, - int startIndex, - int endIndex, - int replaceCount) - -
    -          Advanced search and replaces within the builder using a matcher.
    - StrBuilderStrBuilder.reverse() - -
    -          Reverses the string builder placing each character in the opposite index.
    - StrBuilderStrBuilder.trim() - -
    -          Trims the builder by removing characters less than or equal to a space - from the beginning and end.
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.text with parameters of type StrBuilder
    - StringStrSubstitutor.replace(StrBuilder source) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template.
    - StringStrSubstitutor.replace(StrBuilder source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables with their matching values - from the resolver using the given source builder as a template.
    - booleanStrSubstitutor.replaceIn(StrBuilder source) - -
    -          Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver.
    - booleanStrSubstitutor.replaceIn(StrBuilder source, - int offset, - int length) - -
    -          Replaces all the occurrences of variables within the given source - builder with their matching values from the resolver.
    -protected  booleanStrSubstitutor.substitute(StrBuilder buf, - int offset, - int length) - -
    -          Internal method that substitutes the variables.
    -protected  StringStrSubstitutor.resolveVariable(String variableName, - StrBuilder buf, - int startPos, - int endPos) - -
    -          Internal method that resolves the value of a variable.
    - StrBuilderStrBuilder.append(StrBuilder str) - -
    -          Appends another string builder to this string builder.
    - StrBuilderStrBuilder.append(StrBuilder str, - int startIndex, - int length) - -
    -          Appends part of a string builder to this string builder.
    - StrBuilderStrBuilder.appendln(StrBuilder str) - -
    -          Appends another string builder followed by a new line to this string builder.
    - StrBuilderStrBuilder.appendln(StrBuilder str, - int startIndex, - int length) - -
    -          Appends part of a string builder followed by a new line to this string builder.
    - booleanStrBuilder.equalsIgnoreCase(StrBuilder other) - -
    -          Checks the contents of this builder against another to see if they - contain the same character content ignoring case.
    - booleanStrBuilder.equals(StrBuilder other) - -
    -          Checks the contents of this builder against another to see if they - contain the same character content.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrLookup.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrLookup.html deleted file mode 100644 index 20224b24..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrLookup.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.text.StrLookup - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.text.StrLookup

    -
    - - - - - - - - - -
    -Packages that use StrLookup
    org.apache.commons.lang.text -Provides classes for handling and manipulating text, partly as an extension to java.text
    -  -

    - - - - - -
    -Uses of StrLookup in org.apache.commons.lang.text
    -  -

    - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.text that return StrLookup
    -static StrLookupStrLookup.noneLookup() - -
    -          Returns a lookup which always returns null.
    -static StrLookupStrLookup.systemPropertiesLookup() - -
    -          Returns a lookup which uses System properties - to lookup the key to value.
    -static StrLookupStrLookup.mapLookup(Map map) - -
    -          Returns a lookup which looks up values using a map.
    - StrLookupStrSubstitutor.getVariableResolver() - -
    -          Gets the VariableResolver that is used to lookup variables.
    -  -

    - - - - - - - - - -
    Methods in org.apache.commons.lang.text with parameters of type StrLookup
    - voidStrSubstitutor.setVariableResolver(StrLookup variableResolver) - -
    -          Sets the VariableResolver that is used to lookup variables.
    -  -

    - - - - - - - - - - - - - - -
    Constructors in org.apache.commons.lang.text with parameters of type StrLookup
    StrSubstitutor(StrLookup variableResolver) - -
    -          Creates a new instance and initializes it.
    StrSubstitutor(StrLookup variableResolver, - String prefix, - String suffix, - char escape) - -
    -          Creates a new instance and initializes it.
    StrSubstitutor(StrLookup variableResolver, - StrMatcher prefixMatcher, - StrMatcher suffixMatcher, - char escape) - -
    -          Creates a new instance and initializes it.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrMatcher.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrMatcher.html deleted file mode 100644 index 5dbce41e..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrMatcher.html +++ /dev/null @@ -1,497 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.text.StrMatcher - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.text.StrMatcher

    -
    - - - - - - - - - -
    -Packages that use StrMatcher
    org.apache.commons.lang.text -Provides classes for handling and manipulating text, partly as an extension to java.text
    -  -

    - - - - - -
    -Uses of StrMatcher in org.apache.commons.lang.text
    -  -

    - - - - - - - - - - - - - -
    Fields in org.apache.commons.lang.text declared as StrMatcher
    -static StrMatcherStrSubstitutor.DEFAULT_PREFIX - -
    -          Constant for the default variable prefix.
    -static StrMatcherStrSubstitutor.DEFAULT_SUFFIX - -
    -          Constant for the default variable suffix.
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.text that return StrMatcher
    - StrMatcherStrTokenizer.getDelimiterMatcher() - -
    -          Gets the field delimiter matcher.
    - StrMatcherStrTokenizer.getQuoteMatcher() - -
    -          Gets the quote matcher currently in use.
    - StrMatcherStrTokenizer.getIgnoredMatcher() - -
    -          Gets the ignored character matcher.
    - StrMatcherStrTokenizer.getTrimmerMatcher() - -
    -          Gets the trimmer character matcher.
    -static StrMatcherStrMatcher.commaMatcher() - -
    -          Returns a matcher which matches the comma character.
    -static StrMatcherStrMatcher.tabMatcher() - -
    -          Returns a matcher which matches the tab character.
    -static StrMatcherStrMatcher.spaceMatcher() - -
    -          Returns a matcher which matches the space character.
    -static StrMatcherStrMatcher.splitMatcher() - -
    -          Matches the same characters as StringTokenizer, - namely space, tab, newline and formfeed.
    -static StrMatcherStrMatcher.trimMatcher() - -
    -          Matches the String trim() whitespace characters.
    -static StrMatcherStrMatcher.singleQuoteMatcher() - -
    -          Returns a matcher which matches the single quote character.
    -static StrMatcherStrMatcher.doubleQuoteMatcher() - -
    -          Returns a matcher which matches the double quote character.
    -static StrMatcherStrMatcher.quoteMatcher() - -
    -          Returns a matcher which matches the single or double quote character.
    -static StrMatcherStrMatcher.noneMatcher() - -
    -          Matches no characters.
    -static StrMatcherStrMatcher.charMatcher(char ch) - -
    -          Constructor that creates a matcher from a character.
    -static StrMatcherStrMatcher.charSetMatcher(char[] chars) - -
    -          Constructor that creates a matcher from a set of characters.
    -static StrMatcherStrMatcher.charSetMatcher(String chars) - -
    -          Constructor that creates a matcher from a string representing a set of characters.
    -static StrMatcherStrMatcher.stringMatcher(String str) - -
    -          Constructor that creates a matcher from a string.
    - StrMatcherStrSubstitutor.getVariablePrefixMatcher() - -
    -          Gets the variable prefix matcher currently in use.
    - StrMatcherStrSubstitutor.getVariableSuffixMatcher() - -
    -          Gets the variable suffix matcher currently in use.
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.text with parameters of type StrMatcher
    - StrTokenizerStrTokenizer.setDelimiterMatcher(StrMatcher delim) - -
    -          Sets the field delimiter matcher.
    - StrTokenizerStrTokenizer.setQuoteMatcher(StrMatcher quote) - -
    -          Set the quote matcher to use.
    - StrTokenizerStrTokenizer.setIgnoredMatcher(StrMatcher ignored) - -
    -          Set the matcher for characters to ignore.
    - StrTokenizerStrTokenizer.setTrimmerMatcher(StrMatcher trimmer) - -
    -          Sets the matcher for characters to trim.
    - StrSubstitutorStrSubstitutor.setVariablePrefixMatcher(StrMatcher prefixMatcher) - -
    -          Sets the variable prefix matcher currently in use.
    - StrSubstitutorStrSubstitutor.setVariableSuffixMatcher(StrMatcher suffixMatcher) - -
    -          Sets the variable suffix matcher currently in use.
    - StrBuilderStrBuilder.deleteAll(StrMatcher matcher) - -
    -          Deletes all parts of the builder that the matcher matches.
    - StrBuilderStrBuilder.deleteFirst(StrMatcher matcher) - -
    -          Deletes the first match within the builder using the specified matcher.
    - StrBuilderStrBuilder.replaceAll(StrMatcher matcher, - String replaceStr) - -
    -          Replaces all matches within the builder with the replace string.
    - StrBuilderStrBuilder.replaceFirst(StrMatcher matcher, - String replaceStr) - -
    -          Replaces the first match within the builder with the replace string.
    - StrBuilderStrBuilder.replace(StrMatcher matcher, - String replaceStr, - int startIndex, - int endIndex, - int replaceCount) - -
    -          Advanced search and replaces within the builder using a matcher.
    - booleanStrBuilder.contains(StrMatcher matcher) - -
    -          Checks if the string builder contains a string matched using the - specified matcher.
    - intStrBuilder.indexOf(StrMatcher matcher) - -
    -          Searches the string builder using the matcher to find the first match.
    - intStrBuilder.indexOf(StrMatcher matcher, - int startIndex) - -
    -          Searches the string builder using the matcher to find the first - match searching from the given index.
    - intStrBuilder.lastIndexOf(StrMatcher matcher) - -
    -          Searches the string builder using the matcher to find the last match.
    - intStrBuilder.lastIndexOf(StrMatcher matcher, - int startIndex) - -
    -          Searches the string builder using the matcher to find the last - match searching from the given index.
    -  -

    - - - - - - - - - - - - - - - - - - - - -
    Constructors in org.apache.commons.lang.text with parameters of type StrMatcher
    StrTokenizer(String input, - StrMatcher delim) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher.
    StrTokenizer(String input, - StrMatcher delim, - StrMatcher quote) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher.
    StrTokenizer(char[] input, - StrMatcher delim) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher.
    StrTokenizer(char[] input, - StrMatcher delim, - StrMatcher quote) - -
    -          Constructs a tokenizer splitting using the specified delimiter matcher - and handling quotes using the specified quote matcher.
    StrSubstitutor(StrLookup variableResolver, - StrMatcher prefixMatcher, - StrMatcher suffixMatcher, - char escape) - -
    -          Creates a new instance and initializes it.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrSubstitutor.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrSubstitutor.html deleted file mode 100644 index 833d862a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrSubstitutor.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.text.StrSubstitutor - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.text.StrSubstitutor

    -
    - - - - - - - - - -
    -Packages that use StrSubstitutor
    org.apache.commons.lang.text -Provides classes for handling and manipulating text, partly as an extension to java.text
    -  -

    - - - - - -
    -Uses of StrSubstitutor in org.apache.commons.lang.text
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.text that return StrSubstitutor
    - StrSubstitutorStrSubstitutor.setVariablePrefixMatcher(StrMatcher prefixMatcher) - -
    -          Sets the variable prefix matcher currently in use.
    - StrSubstitutorStrSubstitutor.setVariablePrefix(char prefix) - -
    -          Sets the variable prefix to use.
    - StrSubstitutorStrSubstitutor.setVariablePrefix(String prefix) - -
    -          Sets the variable prefix to use.
    - StrSubstitutorStrSubstitutor.setVariableSuffixMatcher(StrMatcher suffixMatcher) - -
    -          Sets the variable suffix matcher currently in use.
    - StrSubstitutorStrSubstitutor.setVariableSuffix(char suffix) - -
    -          Sets the variable suffix to use.
    - StrSubstitutorStrSubstitutor.setVariableSuffix(String suffix) - -
    -          Sets the variable suffix to use.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrTokenizer.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrTokenizer.html deleted file mode 100644 index d6632516..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/class-use/StrTokenizer.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.text.StrTokenizer - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.text.StrTokenizer

    -
    - - - - - - - - - -
    -Packages that use StrTokenizer
    org.apache.commons.lang.text -Provides classes for handling and manipulating text, partly as an extension to java.text
    -  -

    - - - - - -
    -Uses of StrTokenizer in org.apache.commons.lang.text
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.text that return StrTokenizer
    -static StrTokenizerStrTokenizer.getCSVInstance() - -
    -          Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input.
    -static StrTokenizerStrTokenizer.getCSVInstance(String input) - -
    -          Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input.
    -static StrTokenizerStrTokenizer.getCSVInstance(char[] input) - -
    -          Gets a new tokenizer instance which parses Comma Seperated Value strings - initializing it with the given input.
    -static StrTokenizerStrTokenizer.getTSVInstance() - -
    -          Gets a new tokenizer instance which parses Tab Seperated Value strings.
    -static StrTokenizerStrTokenizer.getTSVInstance(String input) - -
    -          Gets a new tokenizer instance which parses Tab Seperated Value strings.
    -static StrTokenizerStrTokenizer.getTSVInstance(char[] input) - -
    -          Gets a new tokenizer instance which parses Tab Seperated Value strings.
    - StrTokenizerStrTokenizer.reset() - -
    -          Resets this tokenizer, forgetting all parsing and iteration already completed.
    - StrTokenizerStrTokenizer.reset(String input) - -
    -          Reset this tokenizer, giving it a new input string to parse.
    - StrTokenizerStrTokenizer.reset(char[] input) - -
    -          Reset this tokenizer, giving it a new input string to parse.
    - StrTokenizerStrTokenizer.setDelimiterMatcher(StrMatcher delim) - -
    -          Sets the field delimiter matcher.
    - StrTokenizerStrTokenizer.setDelimiterChar(char delim) - -
    -          Sets the field delimiter character.
    - StrTokenizerStrTokenizer.setDelimiterString(String delim) - -
    -          Sets the field delimiter string.
    - StrTokenizerStrTokenizer.setQuoteMatcher(StrMatcher quote) - -
    -          Set the quote matcher to use.
    - StrTokenizerStrTokenizer.setQuoteChar(char quote) - -
    -          Sets the quote character to use.
    - StrTokenizerStrTokenizer.setIgnoredMatcher(StrMatcher ignored) - -
    -          Set the matcher for characters to ignore.
    - StrTokenizerStrTokenizer.setIgnoredChar(char ignored) - -
    -          Set the character to ignore.
    - StrTokenizerStrTokenizer.setTrimmerMatcher(StrMatcher trimmer) - -
    -          Sets the matcher for characters to trim.
    - StrTokenizerStrTokenizer.setEmptyTokenAsNull(boolean emptyAsNull) - -
    -          Sets whether the tokenizer should return empty tokens as null.
    - StrTokenizerStrTokenizer.setIgnoreEmptyTokens(boolean ignoreEmptyTokens) - -
    -          Sets whether the tokenizer should ignore and not return empty tokens.
    - StrTokenizerStrBuilder.asTokenizer() - -
    -          Creates a tokenizer that can tokenize the contents of this builder.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-frame.html deleted file mode 100644 index aa4f5330..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.text - - - - - -org.apache.commons.lang.text - - - - -
    -Classes  - -
    -CompositeFormat -
    -StrBuilder -
    -StrLookup -
    -StrMatcher -
    -StrSubstitutor -
    -StrTokenizer
    - - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-summary.html deleted file mode 100644 index c135eb5c..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-summary.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.text - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package org.apache.commons.lang.text -

    - -Provides classes for handling and manipulating text, partly as an extension to java.text. -

    -See: -
    -          Description -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    CompositeFormatFormats using one formatter and parses using a different formatter.
    StrBuilderBuilds a string from constituent parts providing a more flexible and powerful API - than StringBuffer.
    StrLookupLookup a String key to a String value.
    StrMatcherA matcher class that can be queried to determine if a character array - portion matches.
    StrSubstitutorSubstitutes variables within a string by values.
    StrTokenizerTokenizes a string based based on delimiters (separators) - and supporting quoting and ignored character concepts.
    -  - -

    -

    -Package org.apache.commons.lang.text Description -

    - -

    -

    -Provides classes for handling and manipulating text, partly as an extension to java.text. -The classes in this package are, for the most part, intended to be instantiated. -(ie. they are not utility classes with lots of static methods) -

    -

    -

    -
    Since:
    2.1
    -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-tree.html deleted file mode 100644 index 363f0e3a..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-tree.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.text Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package org.apache.commons.lang.text -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-use.html deleted file mode 100644 index 55a10359..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/text/package-use.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.text - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    org.apache.commons.lang.text

    -
    - - - - - - - - - -
    -Packages that use org.apache.commons.lang.text
    org.apache.commons.lang.text -Provides classes for handling and manipulating text, partly as an extension to java.text
    -  -

    - - - - - - - - - - - - - - - - - - - - -
    -Classes in org.apache.commons.lang.text used by org.apache.commons.lang.text
    StrBuilder - -
    -          Builds a string from constituent parts providing a more flexible and powerful API - than StringBuffer.
    StrLookup - -
    -          Lookup a String key to a String value.
    StrMatcher - -
    -          A matcher class that can be queried to determine if a character array - portion matches.
    StrSubstitutor - -
    -          Substitutes variables within a string by values.
    StrTokenizer - -
    -          Tokenizes a string based based on delimiters (separators) - and supporting quoting and ignored character concepts.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DateFormatUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DateFormatUtils.html deleted file mode 100644 index 8f81b072..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DateFormatUtils.html +++ /dev/null @@ -1,649 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class DateFormatUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.time -
    -Class DateFormatUtils

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.time.DateFormatUtils
    -
    -
    -
    -
    public class DateFormatUtils
    extends Object
    - -

    -

    Date and time formatting utilities and constants.

    - -

    Formatting is performed using the - FastDateFormat class.

    -

    -

    -
    Since:
    2.0
    -
    Version:
    $Id: DateFormatUtils.java 437554 2006-08-28 06:21:41Z bayard $
    -
    Author:
    Apache Ant - DateUtils, Stephane Bailliez, Stefan Bodewig, Stephen Colebourne, Gary Gregory
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static FastDateFormatISO_DATE_FORMAT - -
    -          ISO8601 formatter for date without time zone.
    -static FastDateFormatISO_DATE_TIME_ZONE_FORMAT - -
    -          ISO8601-like formatter for date with time zone.
    -static FastDateFormatISO_DATETIME_FORMAT - -
    -          ISO8601 formatter for date-time without time zone.
    -static FastDateFormatISO_DATETIME_TIME_ZONE_FORMAT - -
    -          ISO8601 formatter for date-time with time zone.
    -static FastDateFormatISO_TIME_FORMAT - -
    -          ISO8601 formatter for time without time zone.
    -static FastDateFormatISO_TIME_NO_T_FORMAT - -
    -          ISO8601-like formatter for time without time zone.
    -static FastDateFormatISO_TIME_NO_T_TIME_ZONE_FORMAT - -
    -          ISO8601-like formatter for time with time zone.
    -static FastDateFormatISO_TIME_TIME_ZONE_FORMAT - -
    -          ISO8601 formatter for time with time zone.
    -static FastDateFormatSMTP_DATETIME_FORMAT - -
    -          SMTP (and probably other) date headers.
    -  - - - - - - - - - - -
    -Constructor Summary
    DateFormatUtils() - -
    -          DateFormatUtils instances should NOT be constructed in standard programming.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static Stringformat(Date date, - String pattern) - -
    -          Formats a date/time into a specific pattern.
    -static Stringformat(Date date, - String pattern, - Locale locale) - -
    -          Formats a date/time into a specific pattern in a locale.
    -static Stringformat(Date date, - String pattern, - TimeZone timeZone) - -
    -          Formats a date/time into a specific pattern in a time zone.
    -static Stringformat(Date date, - String pattern, - TimeZone timeZone, - Locale locale) - -
    -          Formats a date/time into a specific pattern in a time zone and locale.
    -static Stringformat(long millis, - String pattern) - -
    -          Formats a date/time into a specific pattern.
    -static Stringformat(long millis, - String pattern, - Locale locale) - -
    -          Formats a date/time into a specific pattern in a locale.
    -static Stringformat(long millis, - String pattern, - TimeZone timeZone) - -
    -          Formats a date/time into a specific pattern in a time zone.
    -static Stringformat(long millis, - String pattern, - TimeZone timeZone, - Locale locale) - -
    -          Formats a date/time into a specific pattern in a time zone and locale.
    -static StringformatUTC(Date date, - String pattern) - -
    -          Formats a date/time into a specific pattern using the UTC time zone.
    -static StringformatUTC(Date date, - String pattern, - Locale locale) - -
    -          Formats a date/time into a specific pattern using the UTC time zone.
    -static StringformatUTC(long millis, - String pattern) - -
    -          Formats a date/time into a specific pattern using the UTC time zone.
    -static StringformatUTC(long millis, - String pattern, - Locale locale) - -
    -          Formats a date/time into a specific pattern using the UTC time zone.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -ISO_DATETIME_FORMAT

    -
    -public static final FastDateFormat ISO_DATETIME_FORMAT
    -
    -
    ISO8601 formatter for date-time without time zone. - The format used is yyyy-MM-dd'T'HH:mm:ss.
    -
    - -

    -ISO_DATETIME_TIME_ZONE_FORMAT

    -
    -public static final FastDateFormat ISO_DATETIME_TIME_ZONE_FORMAT
    -
    -
    ISO8601 formatter for date-time with time zone. - The format used is yyyy-MM-dd'T'HH:mm:ssZZ.
    -
    - -

    -ISO_DATE_FORMAT

    -
    -public static final FastDateFormat ISO_DATE_FORMAT
    -
    -
    ISO8601 formatter for date without time zone. - The format used is yyyy-MM-dd.
    -
    - -

    -ISO_DATE_TIME_ZONE_FORMAT

    -
    -public static final FastDateFormat ISO_DATE_TIME_ZONE_FORMAT
    -
    -
    ISO8601-like formatter for date with time zone. - The format used is yyyy-MM-ddZZ. - This pattern does not comply with the formal ISO8601 specification - as the standard does not allow a time zone without a time.
    -
    - -

    -ISO_TIME_FORMAT

    -
    -public static final FastDateFormat ISO_TIME_FORMAT
    -
    -
    ISO8601 formatter for time without time zone. - The format used is 'T'HH:mm:ss.
    -
    - -

    -ISO_TIME_TIME_ZONE_FORMAT

    -
    -public static final FastDateFormat ISO_TIME_TIME_ZONE_FORMAT
    -
    -
    ISO8601 formatter for time with time zone. - The format used is 'T'HH:mm:ssZZ.
    -
    - -

    -ISO_TIME_NO_T_FORMAT

    -
    -public static final FastDateFormat ISO_TIME_NO_T_FORMAT
    -
    -
    ISO8601-like formatter for time without time zone. - The format used is HH:mm:ss. - This pattern does not comply with the formal ISO8601 specification - as the standard requires the 'T' prefix for times.
    -
    - -

    -ISO_TIME_NO_T_TIME_ZONE_FORMAT

    -
    -public static final FastDateFormat ISO_TIME_NO_T_TIME_ZONE_FORMAT
    -
    -
    ISO8601-like formatter for time with time zone. - The format used is HH:mm:ssZZ. - This pattern does not comply with the formal ISO8601 specification - as the standard requires the 'T' prefix for times.
    -
    - -

    -SMTP_DATETIME_FORMAT

    -
    -public static final FastDateFormat SMTP_DATETIME_FORMAT
    -
    -
    SMTP (and probably other) date headers. - The format used is EEE, dd MMM yyyy HH:mm:ss Z in US locale.
    - - - - - - - - -
    -Constructor Detail
    - -

    -DateFormatUtils

    -
    -public DateFormatUtils()
    -
    -

    DateFormatUtils instances should NOT be constructed in standard programming.

    - -

    This constructor is public to permit tools that require a JavaBean instance - to operate.

    - - - - - - - - -
    -Method Detail
    - -

    -formatUTC

    -
    -public static String formatUTC(long millis,
    -                               String pattern)
    -
    -

    Formats a date/time into a specific pattern using the UTC time zone.

    -
    Parameters:
    millis - the date to format expressed in milliseconds
    pattern - the pattern to use to format the date
    Returns:
    the formatted date
    -
    -
    -
    - -

    -formatUTC

    -
    -public static String formatUTC(Date date,
    -                               String pattern)
    -
    -

    Formats a date/time into a specific pattern using the UTC time zone.

    -
    Parameters:
    date - the date to format
    pattern - the pattern to use to format the date
    Returns:
    the formatted date
    -
    -
    -
    - -

    -formatUTC

    -
    -public static String formatUTC(long millis,
    -                               String pattern,
    -                               Locale locale)
    -
    -

    Formats a date/time into a specific pattern using the UTC time zone.

    -
    Parameters:
    millis - the date to format expressed in milliseconds
    pattern - the pattern to use to format the date
    locale - the locale to use, may be null
    Returns:
    the formatted date
    -
    -
    -
    - -

    -formatUTC

    -
    -public static String formatUTC(Date date,
    -                               String pattern,
    -                               Locale locale)
    -
    -

    Formats a date/time into a specific pattern using the UTC time zone.

    -
    Parameters:
    date - the date to format
    pattern - the pattern to use to format the date
    locale - the locale to use, may be null
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(long millis,
    -                            String pattern)
    -
    -

    Formats a date/time into a specific pattern.

    -
    Parameters:
    millis - the date to format expressed in milliseconds
    pattern - the pattern to use to format the date
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(Date date,
    -                            String pattern)
    -
    -

    Formats a date/time into a specific pattern.

    -
    Parameters:
    date - the date to format
    pattern - the pattern to use to format the date
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(long millis,
    -                            String pattern,
    -                            TimeZone timeZone)
    -
    -

    Formats a date/time into a specific pattern in a time zone.

    -
    Parameters:
    millis - the time expressed in milliseconds
    pattern - the pattern to use to format the date
    timeZone - the time zone to use, may be null
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(Date date,
    -                            String pattern,
    -                            TimeZone timeZone)
    -
    -

    Formats a date/time into a specific pattern in a time zone.

    -
    Parameters:
    date - the date to format
    pattern - the pattern to use to format the date
    timeZone - the time zone to use, may be null
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(long millis,
    -                            String pattern,
    -                            Locale locale)
    -
    -

    Formats a date/time into a specific pattern in a locale.

    -
    Parameters:
    millis - the date to format expressed in milliseconds
    pattern - the pattern to use to format the date
    locale - the locale to use, may be null
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(Date date,
    -                            String pattern,
    -                            Locale locale)
    -
    -

    Formats a date/time into a specific pattern in a locale.

    -
    Parameters:
    date - the date to format
    pattern - the pattern to use to format the date
    locale - the locale to use, may be null
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(long millis,
    -                            String pattern,
    -                            TimeZone timeZone,
    -                            Locale locale)
    -
    -

    Formats a date/time into a specific pattern in a time zone and locale.

    -
    Parameters:
    millis - the date to format expressed in milliseconds
    pattern - the pattern to use to format the date
    timeZone - the time zone to use, may be null
    locale - the locale to use, may be null
    Returns:
    the formatted date
    -
    -
    -
    - -

    -format

    -
    -public static String format(Date date,
    -                            String pattern,
    -                            TimeZone timeZone,
    -                            Locale locale)
    -
    -

    Formats a date/time into a specific pattern in a time zone and locale.

    -
    Parameters:
    date - the date to format
    pattern - the pattern to use to format the date
    timeZone - the time zone to use, may be null
    locale - the locale to use, may be null
    Returns:
    the formatted date
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DateUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DateUtils.html deleted file mode 100644 index 4c86a22b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DateUtils.html +++ /dev/null @@ -1,1172 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class DateUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.time -
    -Class DateUtils

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.time.DateUtils
    -
    -
    -
    -
    public class DateUtils
    extends Object
    - -

    -

    A suite of utilities surrounding the use of the - Calendar and Date object.

    -

    -

    -
    Since:
    2.0
    -
    Version:
    $Id: DateUtils.java 437554 2006-08-28 06:21:41Z bayard $
    -
    Author:
    Serge Knystautas, Stephen Colebourne, Janek Bogucki, Gary Gregory, Phil Steitz
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static intMILLIS_IN_DAY - -
    -          Deprecated. Use MILLIS_PER_DAY. This will be removed in Commons Lang 3.0.
    -static intMILLIS_IN_HOUR - -
    -          Deprecated. Use MILLIS_PER_HOUR. This will be removed in Commons Lang 3.0.
    -static intMILLIS_IN_MINUTE - -
    -          Deprecated. Use MILLIS_PER_MINUTE. This will be removed in Commons Lang 3.0.
    -static intMILLIS_IN_SECOND - -
    -          Deprecated. Use MILLIS_PER_SECOND. This will be removed in Commons Lang 3.0.
    -static longMILLIS_PER_DAY - -
    -          Number of milliseconds in a standard day.
    -static longMILLIS_PER_HOUR - -
    -          Number of milliseconds in a standard hour.
    -static longMILLIS_PER_MINUTE - -
    -          Number of milliseconds in a standard minute.
    -static longMILLIS_PER_SECOND - -
    -          Number of milliseconds in a standard second.
    -static intRANGE_MONTH_MONDAY - -
    -          A month range, the week starting on Monday.
    -static intRANGE_MONTH_SUNDAY - -
    -          A month range, the week starting on Sunday.
    -static intRANGE_WEEK_CENTER - -
    -          A week range, centered around the day focused.
    -static intRANGE_WEEK_MONDAY - -
    -          A week range, starting on Monday.
    -static intRANGE_WEEK_RELATIVE - -
    -          A week range, starting on the day focused.
    -static intRANGE_WEEK_SUNDAY - -
    -          A week range, starting on Sunday.
    -static intSEMI_MONTH - -
    -          This is half a month, so this represents whether a date is in the top - or bottom half of the month.
    -static TimeZoneUTC_TIME_ZONE - -
    -          The UTC time zone (often referred to as GMT).
    -  - - - - - - - - - - -
    -Constructor Summary
    DateUtils() - -
    -          DateUtils instances should NOT be constructed in - standard programming.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static Dateadd(Date date, - int calendarField, - int amount) - -
    -          Adds to a date returning a new object.
    -static DateaddDays(Date date, - int amount) - -
    -          Adds a number of days to a date returning a new object.
    -static DateaddHours(Date date, - int amount) - -
    -          Adds a number of hours to a date returning a new object.
    -static DateaddMilliseconds(Date date, - int amount) - -
    -          Adds a number of milliseconds to a date returning a new object.
    -static DateaddMinutes(Date date, - int amount) - -
    -          Adds a number of minutes to a date returning a new object.
    -static DateaddMonths(Date date, - int amount) - -
    -          Adds a number of months to a date returning a new object.
    -static DateaddSeconds(Date date, - int amount) - -
    -          Adds a number of seconds to a date returning a new object.
    -static DateaddWeeks(Date date, - int amount) - -
    -          Adds a number of weeks to a date returning a new object.
    -static DateaddYears(Date date, - int amount) - -
    -          Adds a number of years to a date returning a new object.
    -static booleanisSameDay(Calendar cal1, - Calendar cal2) - -
    -          Checks if two calendar objects are on the same day ignoring time.
    -static booleanisSameDay(Date date1, - Date date2) - -
    -          Checks if two date objects are on the same day ignoring time.
    -static booleanisSameInstant(Calendar cal1, - Calendar cal2) - -
    -          Checks if two calendar objects represent the same instant in time.
    -static booleanisSameInstant(Date date1, - Date date2) - -
    -          Checks if two date objects represent the same instant in time.
    -static booleanisSameLocalTime(Calendar cal1, - Calendar cal2) - -
    -          Checks if two calendar objects represent the same local time.
    -static Iteratoriterator(Calendar focus, - int rangeStyle) - -
    -          This constructs an Iterator over each day in a date - range defined by a focus date and range style.
    -static Iteratoriterator(Date focus, - int rangeStyle) - -
    -          This constructs an Iterator over each day in a date - range defined by a focus date and range style.
    -static Iteratoriterator(Object focus, - int rangeStyle) - -
    -          This constructs an Iterator over each day in a date - range defined by a focus date and range style.
    -static DateparseDate(String str, - String[] parsePatterns) - -
    -          Parses a string representing a date by trying a variety of different parsers.
    -static Calendarround(Calendar date, - int field) - -
    -          Round this date, leaving the field specified as the most - significant field.
    -static Dateround(Date date, - int field) - -
    -          Round this date, leaving the field specified as the most - significant field.
    -static Dateround(Object date, - int field) - -
    -          Round this date, leaving the field specified as the most - significant field.
    -static Calendartruncate(Calendar date, - int field) - -
    -          Truncate this date, leaving the field specified as the most - significant field.
    -static Datetruncate(Date date, - int field) - -
    -          Truncate this date, leaving the field specified as the most - significant field.
    -static Datetruncate(Object date, - int field) - -
    -          Truncate this date, leaving the field specified as the most - significant field.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -UTC_TIME_ZONE

    -
    -public static final TimeZone UTC_TIME_ZONE
    -
    -
    The UTC time zone (often referred to as GMT).
    -
    - -

    -MILLIS_PER_SECOND

    -
    -public static final long MILLIS_PER_SECOND
    -
    -
    Number of milliseconds in a standard second.
    -
    Since:
    2.1
    -
    -
    -
    -
    - -

    -MILLIS_PER_MINUTE

    -
    -public static final long MILLIS_PER_MINUTE
    -
    -
    Number of milliseconds in a standard minute.
    -
    Since:
    2.1
    -
    -
    -
    -
    - -

    -MILLIS_PER_HOUR

    -
    -public static final long MILLIS_PER_HOUR
    -
    -
    Number of milliseconds in a standard hour.
    -
    Since:
    2.1
    -
    -
    -
    -
    - -

    -MILLIS_PER_DAY

    -
    -public static final long MILLIS_PER_DAY
    -
    -
    Number of milliseconds in a standard day.
    -
    Since:
    2.1
    -
    -
    -
    -
    - -

    -SEMI_MONTH

    -
    -public static final int SEMI_MONTH
    -
    -
    This is half a month, so this represents whether a date is in the top - or bottom half of the month.
    -
    - -

    -RANGE_WEEK_SUNDAY

    -
    -public static final int RANGE_WEEK_SUNDAY
    -
    -
    A week range, starting on Sunday.
    -
    - -

    -RANGE_WEEK_MONDAY

    -
    -public static final int RANGE_WEEK_MONDAY
    -
    -
    A week range, starting on Monday.
    -
    - -

    -RANGE_WEEK_RELATIVE

    -
    -public static final int RANGE_WEEK_RELATIVE
    -
    -
    A week range, starting on the day focused.
    -
    - -

    -RANGE_WEEK_CENTER

    -
    -public static final int RANGE_WEEK_CENTER
    -
    -
    A week range, centered around the day focused.
    -
    - -

    -RANGE_MONTH_SUNDAY

    -
    -public static final int RANGE_MONTH_SUNDAY
    -
    -
    A month range, the week starting on Sunday.
    -
    - -

    -RANGE_MONTH_MONDAY

    -
    -public static final int RANGE_MONTH_MONDAY
    -
    -
    A month range, the week starting on Monday.
    -
    - -

    -MILLIS_IN_SECOND

    -
    -public static final int MILLIS_IN_SECOND
    -
    -
    Deprecated. Use MILLIS_PER_SECOND. This will be removed in Commons Lang 3.0. -

    -

    Number of milliseconds in a standard second.
    -
    - -

    -MILLIS_IN_MINUTE

    -
    -public static final int MILLIS_IN_MINUTE
    -
    -
    Deprecated. Use MILLIS_PER_MINUTE. This will be removed in Commons Lang 3.0. -

    -

    Number of milliseconds in a standard minute.
    -
    - -

    -MILLIS_IN_HOUR

    -
    -public static final int MILLIS_IN_HOUR
    -
    -
    Deprecated. Use MILLIS_PER_HOUR. This will be removed in Commons Lang 3.0. -

    -

    Number of milliseconds in a standard hour.
    -
    - -

    -MILLIS_IN_DAY

    -
    -public static final int MILLIS_IN_DAY
    -
    -
    Deprecated. Use MILLIS_PER_DAY. This will be removed in Commons Lang 3.0. -

    -

    Number of milliseconds in a standard day.
    - - - - - - - - -
    -Constructor Detail
    - -

    -DateUtils

    -
    -public DateUtils()
    -
    -

    DateUtils instances should NOT be constructed in - standard programming. Instead, the class should be used as - DateUtils.parse(str);.

    - -

    This constructor is public to permit tools that require a JavaBean - instance to operate.

    - - - - - - - - -
    -Method Detail
    - -

    -isSameDay

    -
    -public static boolean isSameDay(Date date1,
    -                                Date date2)
    -
    -

    Checks if two date objects are on the same day ignoring time.

    - -

    28 Mar 2002 13:45 and 28 Mar 2002 06:01 would return true. - 28 Mar 2002 13:45 and 12 Mar 2002 13:45 would return false. -

    -
    Parameters:
    date1 - the first date, not altered, not null
    date2 - the second date, not altered, not null
    Returns:
    true if they represent the same day
    Throws:
    IllegalArgumentException - if either date is null
    Since:
    2.1
    -
    -
    -
    -
    - -

    -isSameDay

    -
    -public static boolean isSameDay(Calendar cal1,
    -                                Calendar cal2)
    -
    -

    Checks if two calendar objects are on the same day ignoring time.

    - -

    28 Mar 2002 13:45 and 28 Mar 2002 06:01 would return true. - 28 Mar 2002 13:45 and 12 Mar 2002 13:45 would return false. -

    -
    Parameters:
    cal1 - the first calendar, not altered, not null
    cal2 - the second calendar, not altered, not null
    Returns:
    true if they represent the same day
    Throws:
    IllegalArgumentException - if either calendar is null
    Since:
    2.1
    -
    -
    -
    -
    - -

    -isSameInstant

    -
    -public static boolean isSameInstant(Date date1,
    -                                    Date date2)
    -
    -

    Checks if two date objects represent the same instant in time.

    - -

    This method compares the long millisecond time of the two objects.

    -
    Parameters:
    date1 - the first date, not altered, not null
    date2 - the second date, not altered, not null
    Returns:
    true if they represent the same millisecond instant
    Throws:
    IllegalArgumentException - if either date is null
    Since:
    2.1
    -
    -
    -
    -
    - -

    -isSameInstant

    -
    -public static boolean isSameInstant(Calendar cal1,
    -                                    Calendar cal2)
    -
    -

    Checks if two calendar objects represent the same instant in time.

    - -

    This method compares the long millisecond time of the two objects.

    -
    Parameters:
    cal1 - the first calendar, not altered, not null
    cal2 - the second calendar, not altered, not null
    Returns:
    true if they represent the same millisecond instant
    Throws:
    IllegalArgumentException - if either date is null
    Since:
    2.1
    -
    -
    -
    -
    - -

    -isSameLocalTime

    -
    -public static boolean isSameLocalTime(Calendar cal1,
    -                                      Calendar cal2)
    -
    -

    Checks if two calendar objects represent the same local time.

    - -

    This method compares the values of the fields of the two objects. - In addition, both calendars must be the same of the same type.

    -
    Parameters:
    cal1 - the first calendar, not altered, not null
    cal2 - the second calendar, not altered, not null
    Returns:
    true if they represent the same millisecond instant
    Throws:
    IllegalArgumentException - if either date is null
    Since:
    2.1
    -
    -
    -
    -
    - -

    -parseDate

    -
    -public static Date parseDate(String str,
    -                             String[] parsePatterns)
    -                      throws ParseException
    -
    -

    Parses a string representing a date by trying a variety of different parsers.

    - -

    The parse will try each parse pattern in turn. - A parse is only deemed sucessful if it parses the whole of the input string. - If no parse patterns match, a ParseException is thrown.

    -
    Parameters:
    str - the date to parse, not null
    parsePatterns - the date format patterns to use, see SimpleDateFormat, not null
    Returns:
    the parsed date
    Throws:
    IllegalArgumentException - if the date string or pattern array is null
    ParseException - if none of the date patterns were suitable
    -
    -
    -
    - -

    -addYears

    -
    -public static Date addYears(Date date,
    -                            int amount)
    -
    -
    Adds a number of years to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -addMonths

    -
    -public static Date addMonths(Date date,
    -                             int amount)
    -
    -
    Adds a number of months to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -addWeeks

    -
    -public static Date addWeeks(Date date,
    -                            int amount)
    -
    -
    Adds a number of weeks to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -addDays

    -
    -public static Date addDays(Date date,
    -                           int amount)
    -
    -
    Adds a number of days to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -addHours

    -
    -public static Date addHours(Date date,
    -                            int amount)
    -
    -
    Adds a number of hours to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -addMinutes

    -
    -public static Date addMinutes(Date date,
    -                              int amount)
    -
    -
    Adds a number of minutes to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -addSeconds

    -
    -public static Date addSeconds(Date date,
    -                              int amount)
    -
    -
    Adds a number of seconds to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -addMilliseconds

    -
    -public static Date addMilliseconds(Date date,
    -                                   int amount)
    -
    -
    Adds a number of milliseconds to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -add

    -
    -public static Date add(Date date,
    -                       int calendarField,
    -                       int amount)
    -
    -
    Adds to a date returning a new object. - The original date object is unchanged.
    -
    Parameters:
    date - the date, not null
    calendarField - the calendar field to add to
    amount - the amount to add, may be negative
    Returns:
    the new date object with the amount added
    Throws:
    IllegalArgumentException - if the date is null
    -
    -
    -
    - -

    -round

    -
    -public static Date round(Date date,
    -                         int field)
    -
    -

    Round this date, leaving the field specified as the most - significant field.

    - -

    For example, if you had the datetime of 28 Mar 2002 - 13:45:01.231, if this was passed with HOUR, it would return - 28 Mar 2002 14:00:00.000. If this was passed with MONTH, it - would return 1 April 2002 0:00:00.000.

    - -

    For a date in a timezone that handles the change to daylight - saving time, rounding to Calendar.HOUR_OF_DAY will behave as follows. - Suppose daylight saving time begins at 02:00 on March 30. Rounding a - date that crosses this time would produce the following values: -

      -
    • March 30, 2003 01:10 rounds to March 30, 2003 01:00
    • -
    • March 30, 2003 01:40 rounds to March 30, 2003 03:00
    • -
    • March 30, 2003 02:10 rounds to March 30, 2003 03:00
    • -
    • March 30, 2003 02:40 rounds to March 30, 2003 04:00
    • -
    -

    -
    Parameters:
    date - the date to work with
    field - the field from Calendar - or SEMI_MONTH
    Returns:
    the rounded date
    Throws:
    IllegalArgumentException - if the date is null
    ArithmeticException - if the year is over 280 million
    -
    -
    -
    - -

    -round

    -
    -public static Calendar round(Calendar date,
    -                             int field)
    -
    -

    Round this date, leaving the field specified as the most - significant field.

    - -

    For example, if you had the datetime of 28 Mar 2002 - 13:45:01.231, if this was passed with HOUR, it would return - 28 Mar 2002 14:00:00.000. If this was passed with MONTH, it - would return 1 April 2002 0:00:00.000.

    - -

    For a date in a timezone that handles the change to daylight - saving time, rounding to Calendar.HOUR_OF_DAY will behave as follows. - Suppose daylight saving time begins at 02:00 on March 30. Rounding a - date that crosses this time would produce the following values: -

      -
    • March 30, 2003 01:10 rounds to March 30, 2003 01:00
    • -
    • March 30, 2003 01:40 rounds to March 30, 2003 03:00
    • -
    • March 30, 2003 02:10 rounds to March 30, 2003 03:00
    • -
    • March 30, 2003 02:40 rounds to March 30, 2003 04:00
    • -
    -

    -
    Parameters:
    date - the date to work with
    field - the field from Calendar - or SEMI_MONTH
    Returns:
    the rounded date (a different object)
    Throws:
    IllegalArgumentException - if the date is null
    ArithmeticException - if the year is over 280 million
    -
    -
    -
    - -

    -round

    -
    -public static Date round(Object date,
    -                         int field)
    -
    -

    Round this date, leaving the field specified as the most - significant field.

    - -

    For example, if you had the datetime of 28 Mar 2002 - 13:45:01.231, if this was passed with HOUR, it would return - 28 Mar 2002 14:00:00.000. If this was passed with MONTH, it - would return 1 April 2002 0:00:00.000.

    - -

    For a date in a timezone that handles the change to daylight - saving time, rounding to Calendar.HOUR_OF_DAY will behave as follows. - Suppose daylight saving time begins at 02:00 on March 30. Rounding a - date that crosses this time would produce the following values: -

      -
    • March 30, 2003 01:10 rounds to March 30, 2003 01:00
    • -
    • March 30, 2003 01:40 rounds to March 30, 2003 03:00
    • -
    • March 30, 2003 02:10 rounds to March 30, 2003 03:00
    • -
    • March 30, 2003 02:40 rounds to March 30, 2003 04:00
    • -
    -

    -
    Parameters:
    date - the date to work with, either Date or Calendar
    field - the field from Calendar - or SEMI_MONTH
    Returns:
    the rounded date
    Throws:
    IllegalArgumentException - if the date is null
    ClassCastException - if the object type is not a Date - or Calendar
    ArithmeticException - if the year is over 280 million
    -
    -
    -
    - -

    -truncate

    -
    -public static Date truncate(Date date,
    -                            int field)
    -
    -

    Truncate this date, leaving the field specified as the most - significant field.

    - -

    For example, if you had the datetime of 28 Mar 2002 - 13:45:01.231, if you passed with HOUR, it would return 28 Mar - 2002 13:00:00.000. If this was passed with MONTH, it would - return 1 Mar 2002 0:00:00.000.

    -
    Parameters:
    date - the date to work with
    field - the field from Calendar - or SEMI_MONTH
    Returns:
    the rounded date
    Throws:
    IllegalArgumentException - if the date is null
    ArithmeticException - if the year is over 280 million
    -
    -
    -
    - -

    -truncate

    -
    -public static Calendar truncate(Calendar date,
    -                                int field)
    -
    -

    Truncate this date, leaving the field specified as the most - significant field.

    - -

    For example, if you had the datetime of 28 Mar 2002 - 13:45:01.231, if you passed with HOUR, it would return 28 Mar - 2002 13:00:00.000. If this was passed with MONTH, it would - return 1 Mar 2002 0:00:00.000.

    -
    Parameters:
    date - the date to work with
    field - the field from Calendar - or SEMI_MONTH
    Returns:
    the rounded date (a different object)
    Throws:
    IllegalArgumentException - if the date is null
    ArithmeticException - if the year is over 280 million
    -
    -
    -
    - -

    -truncate

    -
    -public static Date truncate(Object date,
    -                            int field)
    -
    -

    Truncate this date, leaving the field specified as the most - significant field.

    - -

    For example, if you had the datetime of 28 Mar 2002 - 13:45:01.231, if you passed with HOUR, it would return 28 Mar - 2002 13:00:00.000. If this was passed with MONTH, it would - return 1 Mar 2002 0:00:00.000.

    -
    Parameters:
    date - the date to work with, either Date - or Calendar
    field - the field from Calendar - or SEMI_MONTH
    Returns:
    the rounded date
    Throws:
    IllegalArgumentException - if the date - is null
    ClassCastException - if the object type is not a - Date or Calendar
    ArithmeticException - if the year is over 280 million
    -
    -
    -
    - -

    -iterator

    -
    -public static Iterator iterator(Date focus,
    -                                int rangeStyle)
    -
    -

    This constructs an Iterator over each day in a date - range defined by a focus date and range style.

    - -

    For instance, passing Thursday, July 4, 2002 and a - RANGE_MONTH_SUNDAY will return an Iterator - that starts with Sunday, June 30, 2002 and ends with Saturday, August 3, - 2002, returning a Calendar instance for each intermediate day.

    - -

    This method provides an iterator that returns Calendar objects. - The days are progressed using Calendar.add(int, int).

    -
    Parameters:
    focus - the date to work with, not null
    rangeStyle - the style constant to use. Must be one of - RANGE_MONTH_SUNDAY, - RANGE_MONTH_MONDAY, - RANGE_WEEK_SUNDAY, - RANGE_WEEK_MONDAY, - RANGE_WEEK_RELATIVE, - RANGE_WEEK_CENTER
    Returns:
    the date iterator, which always returns Calendar instances
    Throws:
    IllegalArgumentException - if the date is null
    IllegalArgumentException - if the rangeStyle is invalid
    -
    -
    -
    - -

    -iterator

    -
    -public static Iterator iterator(Calendar focus,
    -                                int rangeStyle)
    -
    -

    This constructs an Iterator over each day in a date - range defined by a focus date and range style.

    - -

    For instance, passing Thursday, July 4, 2002 and a - RANGE_MONTH_SUNDAY will return an Iterator - that starts with Sunday, June 30, 2002 and ends with Saturday, August 3, - 2002, returning a Calendar instance for each intermediate day.

    - -

    This method provides an iterator that returns Calendar objects. - The days are progressed using Calendar.add(int, int).

    -
    Parameters:
    focus - the date to work with
    rangeStyle - the style constant to use. Must be one of - RANGE_MONTH_SUNDAY, - RANGE_MONTH_MONDAY, - RANGE_WEEK_SUNDAY, - RANGE_WEEK_MONDAY, - RANGE_WEEK_RELATIVE, - RANGE_WEEK_CENTER
    Returns:
    the date iterator
    Throws:
    IllegalArgumentException - if the date is null
    IllegalArgumentException - if the rangeStyle is invalid
    -
    -
    -
    - -

    -iterator

    -
    -public static Iterator iterator(Object focus,
    -                                int rangeStyle)
    -
    -

    This constructs an Iterator over each day in a date - range defined by a focus date and range style.

    - -

    For instance, passing Thursday, July 4, 2002 and a - RANGE_MONTH_SUNDAY will return an Iterator - that starts with Sunday, June 30, 2002 and ends with Saturday, August 3, - 2002, returning a Calendar instance for each intermediate day.

    -
    Parameters:
    focus - the date to work with, either - Date or Calendar
    rangeStyle - the style constant to use. Must be one of the range - styles listed for the iterator(Calendar, int) method.
    Returns:
    the date iterator
    Throws:
    IllegalArgumentException - if the date - is null
    ClassCastException - if the object type is - not a Date or Calendar
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DurationFormatUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DurationFormatUtils.html deleted file mode 100644 index b94b6ae0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/DurationFormatUtils.html +++ /dev/null @@ -1,461 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class DurationFormatUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.time -
    -Class DurationFormatUtils

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.time.DurationFormatUtils
    -
    -
    -
    -
    public class DurationFormatUtils
    extends Object
    - -

    -

    Duration formatting utilities and constants. The following table describes the tokens - used in the pattern language for formatting.

    - - - - - - - - - -
    characterduration element
    yyears
    Mmonths
    ddays
    Hhours
    mminutes
    sseconds
    Smilliseconds
    -

    -

    -
    Since:
    2.1
    -
    Version:
    $Id: DurationFormatUtils.java 491654 2007-01-01 22:04:34Z ggregory $
    -
    Author:
    Apache Ant - DateUtils, Stephane Bailliez, Stefan Bodewig, Stephen Colebourne, Gary Gregory
    -
    -
    - -

    - - - - - - - - - - - - - - -
    -Field Summary
    -static StringISO_EXTENDED_FORMAT_PATTERN - -
    -          Pattern used with FastDateFormat and SimpleDateFormat - for the ISO8601 period format used in durations.
    -  - - - - - - - - - - -
    -Constructor Summary
    DurationFormatUtils() - -
    -          DurationFormatUtils instances should NOT be constructed in standard programming.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static StringformatDuration(long durationMillis, - String format) - -
    -          Formats the time gap as a string, using the specified format, and padding with zeros and - using the default timezone.
    -static StringformatDuration(long durationMillis, - String format, - boolean padWithZeros) - -
    -          Formats the time gap as a string, using the specified format.
    -static StringformatDurationHMS(long durationMillis) - -
    -          Formats the time gap as a string.
    -static StringformatDurationISO(long durationMillis) - -
    -          Formats the time gap as a string.
    -static StringformatDurationWords(long durationMillis, - boolean suppressLeadingZeroElements, - boolean suppressTrailingZeroElements) - -
    -          Formats an elapsed time into a plurialization correct string.
    -static StringformatPeriod(long startMillis, - long endMillis, - String format) - -
    -          Formats the time gap as a string, using the specified format.
    -static StringformatPeriod(long startMillis, - long endMillis, - String format, - boolean padWithZeros, - TimeZone timezone) - -
    -          Formats the time gap as a string, using the specified format.
    -static StringformatPeriodISO(long startMillis, - long endMillis) - -
    -          Formats the time gap as a string.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -ISO_EXTENDED_FORMAT_PATTERN

    -
    -public static final String ISO_EXTENDED_FORMAT_PATTERN
    -
    -

    Pattern used with FastDateFormat and SimpleDateFormat - for the ISO8601 period format used in durations.

    -
    See Also:
    FastDateFormat, -SimpleDateFormat
    -
    -
    - - - - - - - - -
    -Constructor Detail
    - -

    -DurationFormatUtils

    -
    -public DurationFormatUtils()
    -
    -

    DurationFormatUtils instances should NOT be constructed in standard programming.

    - -

    This constructor is public to permit tools that require a JavaBean instance - to operate.

    - - - - - - - - -
    -Method Detail
    - -

    -formatDurationHMS

    -
    -public static String formatDurationHMS(long durationMillis)
    -
    -

    Formats the time gap as a string.

    - -

    The format used is ISO8601-like: - H:m:s.S.

    -
    Parameters:
    durationMillis - the duration to format
    Returns:
    the time as a String
    -
    -
    -
    - -

    -formatDurationISO

    -
    -public static String formatDurationISO(long durationMillis)
    -
    -

    Formats the time gap as a string.

    - -

    The format used is the ISO8601 period format.

    - -

    This method formats durations using the days and lower fields of the - ISO format pattern, such as P7D6TH5M4.321S.

    -
    Parameters:
    durationMillis - the duration to format
    Returns:
    the time as a String
    -
    -
    -
    - -

    -formatDuration

    -
    -public static String formatDuration(long durationMillis,
    -                                    String format)
    -
    -

    Formats the time gap as a string, using the specified format, and padding with zeros and - using the default timezone.

    - -

    This method formats durations using the days and lower fields of the - format pattern. Months and larger are not used.

    -
    Parameters:
    durationMillis - the duration to format
    format - the way in which to format the duration
    Returns:
    the time as a String
    -
    -
    -
    - -

    -formatDuration

    -
    -public static String formatDuration(long durationMillis,
    -                                    String format,
    -                                    boolean padWithZeros)
    -
    -

    Formats the time gap as a string, using the specified format. - Padding the left hand side of numbers with zeroes is optional and - the timezone may be specified.

    - -

    This method formats durations using the days and lower fields of the - format pattern. Months and larger are not used.

    -
    Parameters:
    durationMillis - the duration to format
    format - the way in which to format the duration
    padWithZeros - whether to pad the left hand side of numbers with 0's
    Returns:
    the time as a String
    -
    -
    -
    - -

    -formatDurationWords

    -
    -public static String formatDurationWords(long durationMillis,
    -                                         boolean suppressLeadingZeroElements,
    -                                         boolean suppressTrailingZeroElements)
    -
    -

    Formats an elapsed time into a plurialization correct string.

    - -

    This method formats durations using the days and lower fields of the - format pattern. Months and larger are not used.

    -
    Parameters:
    durationMillis - the elapsed time to report in milliseconds
    suppressLeadingZeroElements - suppresses leading 0 elements
    suppressTrailingZeroElements - suppresses trailing 0 elements
    Returns:
    the formatted text in days/hours/minutes/seconds
    -
    -
    -
    - -

    -formatPeriodISO

    -
    -public static String formatPeriodISO(long startMillis,
    -                                     long endMillis)
    -
    -

    Formats the time gap as a string.

    - -

    The format used is the ISO8601 period format.

    -
    Parameters:
    startMillis - the start of the duration to format
    endMillis - the end of the duration to format
    Returns:
    the time as a String
    -
    -
    -
    - -

    -formatPeriod

    -
    -public static String formatPeriod(long startMillis,
    -                                  long endMillis,
    -                                  String format)
    -
    -

    Formats the time gap as a string, using the specified format. - Padding the left hand side of numbers with zeroes is optional.

    -
    Parameters:
    startMillis - the start of the duration
    endMillis - the end of the duration
    format - the way in which to format the duration
    Returns:
    the time as a String
    -
    -
    -
    - -

    -formatPeriod

    -
    -public static String formatPeriod(long startMillis,
    -                                  long endMillis,
    -                                  String format,
    -                                  boolean padWithZeros,
    -                                  TimeZone timezone)
    -
    -

    Formats the time gap as a string, using the specified format. - Padding the left hand side of numbers with zeroes is optional and - the timezone may be specified.

    - -

    When calculating the difference between months/days, it chooses to - calculate months first. So when working out the number of months and - days between January 15th and March 10th, it choose 1 month and - 23 days gained by choosing January->February = 1 month and then - calculating days forwards, and not the 1 month and 26 days gained by - choosing March -> February = 1 month and then calculating days - backwards.

    - -

    For more control, the Joda-Time - library is recommended.

    -
    Parameters:
    startMillis - the start of the duration
    endMillis - the end of the duration
    format - the way in which to format the duration
    padWithZeros - whether to pad the left hand side of numbers with 0's
    timezone - the millis are defined in
    Returns:
    the time as a String
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/FastDateFormat.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/FastDateFormat.html deleted file mode 100644 index 9bdb37d9..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/FastDateFormat.html +++ /dev/null @@ -1,1209 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class FastDateFormat - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.time -
    -Class FastDateFormat

    -
    -java.lang.Object
    -  |
    -  +--java.text.Format
    -        |
    -        +--org.apache.commons.lang.time.FastDateFormat
    -
    -
    -
    All Implemented Interfaces:
    Cloneable, Serializable
    -
    -
    -
    -
    public class FastDateFormat
    extends Format
    - -

    -

    FastDateFormat is a fast and thread-safe version of - SimpleDateFormat.

    - -

    This class can be used as a direct replacement to - SimpleDateFormat in most formatting situations. - This class is especially useful in multi-threaded server environments. - SimpleDateFormat is not thread-safe in any JDK version, - nor will it be as Sun have closed the bug/RFE. -

    - -

    Only formatting is supported, but all patterns are compatible with - SimpleDateFormat (except time zones - see below).

    - -

    Java 1.4 introduced a new pattern letter, 'Z', to represent - time zones in RFC822 format (eg. +0800 or -1100). - This pattern letter can be used here (on all JDK versions).

    - -

    In addition, the pattern 'ZZ' has been made to represent - ISO8601 full format time zones (eg. +08:00 or -11:00). - This introduces a minor incompatibility with Java 1.4, but at a gain of - useful functionality.

    -

    -

    -
    Since:
    2.0
    -
    Version:
    $Id: FastDateFormat.java 504349 2007-02-06 22:44:33Z bayard $
    -
    Author:
    TeaTrove project, Brian S O'Neill, Sean Schofield, Gary Gregory, Stephen Colebourne, Nikolay Metchev
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static intFULL - -
    -          FULL locale dependent date or time style.
    -static intLONG - -
    -          LONG locale dependent date or time style.
    -static intMEDIUM - -
    -          MEDIUM locale dependent date or time style.
    -static intSHORT - -
    -          SHORT locale dependent date or time style.
    -  - - - - - - - - - - - -
    -Constructor Summary
    -protected FastDateFormat(String pattern, - TimeZone timeZone, - Locale locale) - -
    -          Constructs a new FastDateFormat.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -protected  StringBufferapplyRules(Calendar calendar, - StringBuffer buf) - -
    -          Performs the formatting by applying the rules to the - specified calendar.
    - booleanequals(Object obj) - -
    -          Compares two objects for equality.
    - Stringformat(Calendar calendar) - -
    -          Formats a Calendar object.
    - StringBufferformat(Calendar calendar, - StringBuffer buf) - -
    -          Formats a Calendar object into the - supplied StringBuffer.
    - Stringformat(Date date) - -
    -          Formats a Date object.
    - StringBufferformat(Date date, - StringBuffer buf) - -
    -          Formats a Date object into the - supplied StringBuffer.
    - Stringformat(long millis) - -
    -          Formats a millisecond long value.
    - StringBufferformat(long millis, - StringBuffer buf) - -
    -          Formats a milliseond long value into the - supplied StringBuffer.
    - StringBufferformat(Object obj, - StringBuffer toAppendTo, - FieldPosition pos) - -
    -          Formats a Date, Calendar or - Long (milliseconds) object.
    -static FastDateFormatgetDateInstance(int style) - -
    -          Gets a date formatter instance using the specified style in the - default time zone and locale.
    -static FastDateFormatgetDateInstance(int style, - Locale locale) - -
    -          Gets a date formatter instance using the specified style and - locale in the default time zone.
    -static FastDateFormatgetDateInstance(int style, - TimeZone timeZone) - -
    -          Gets a date formatter instance using the specified style and - time zone in the default locale.
    -static FastDateFormatgetDateInstance(int style, - TimeZone timeZone, - Locale locale) - -
    -          Gets a date formatter instance using the specified style, time - zone and locale.
    -static FastDateFormatgetDateTimeInstance(int dateStyle, - int timeStyle) - -
    -          Gets a date/time formatter instance using the specified style - in the default time zone and locale.
    -static FastDateFormatgetDateTimeInstance(int dateStyle, - int timeStyle, - Locale locale) - -
    -          Gets a date/time formatter instance using the specified style and - locale in the default time zone.
    -static FastDateFormatgetDateTimeInstance(int dateStyle, - int timeStyle, - TimeZone timeZone) - -
    -          Gets a date/time formatter instance using the specified style and - time zone in the default locale.
    -static FastDateFormatgetDateTimeInstance(int dateStyle, - int timeStyle, - TimeZone timeZone, - Locale locale) - -
    -          Gets a date/time formatter instance using the specified style, - time zone and locale.
    -static FastDateFormatgetInstance() - -
    -          Gets a formatter instance using the default pattern in the - default locale.
    -static FastDateFormatgetInstance(String pattern) - -
    -          Gets a formatter instance using the specified pattern in the - default locale.
    -static FastDateFormatgetInstance(String pattern, - Locale locale) - -
    -          Gets a formatter instance using the specified pattern and - locale.
    -static FastDateFormatgetInstance(String pattern, - TimeZone timeZone) - -
    -          Gets a formatter instance using the specified pattern and - time zone.
    -static FastDateFormatgetInstance(String pattern, - TimeZone timeZone, - Locale locale) - -
    -          Gets a formatter instance using the specified pattern, time zone - and locale.
    - LocalegetLocale() - -
    -          Gets the locale used by this formatter.
    - intgetMaxLengthEstimate() - -
    -          Gets an estimate for the maximum string length that the - formatter will produce.
    - StringgetPattern() - -
    -          Gets the pattern used by this formatter.
    -static FastDateFormatgetTimeInstance(int style) - -
    -          Gets a time formatter instance using the specified style in the - default time zone and locale.
    -static FastDateFormatgetTimeInstance(int style, - Locale locale) - -
    -          Gets a time formatter instance using the specified style and - locale in the default time zone.
    -static FastDateFormatgetTimeInstance(int style, - TimeZone timeZone) - -
    -          Gets a time formatter instance using the specified style and - time zone in the default locale.
    -static FastDateFormatgetTimeInstance(int style, - TimeZone timeZone, - Locale locale) - -
    -          Gets a time formatter instance using the specified style, time - zone and locale.
    - TimeZonegetTimeZone() - -
    -          Gets the time zone used by this formatter.
    - booleangetTimeZoneOverridesCalendar() - -
    -          Returns true if the time zone of the - calendar overrides the time zone of the formatter.
    - inthashCode() - -
    -          Returns a hashcode compatible with equals.
    -protected  voidinit() - -
    -          Initializes the instance for first use.
    - ObjectparseObject(String source, - ParsePosition pos) - -
    -          Parsing is not supported.
    -protected  ListparsePattern() - -
    -          Returns a list of Rules given a pattern.
    -protected  StringparseToken(String pattern, - int[] indexRef) - -
    -          Performs the parsing of tokens.
    -protected  org.apache.commons.lang.time.FastDateFormat.NumberRuleselectNumberRule(int field, - int padding) - -
    -          Gets an appropriate rule for the padding required.
    - StringtoString() - -
    -          Gets a debugging string version of this formatter.
    - - - - - - - -
    Methods inherited from class java.text.Format
    clone, format, parseObject
    - - - - - - - -
    Methods inherited from class java.lang.Object
    finalize, getClass, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -FULL

    -
    -public static final int FULL
    -
    -
    FULL locale dependent date or time style.
    -
    - -

    -LONG

    -
    -public static final int LONG
    -
    -
    LONG locale dependent date or time style.
    -
    - -

    -MEDIUM

    -
    -public static final int MEDIUM
    -
    -
    MEDIUM locale dependent date or time style.
    -
    - -

    -SHORT

    -
    -public static final int SHORT
    -
    -
    SHORT locale dependent date or time style.
    - - - - - - - - -
    -Constructor Detail
    - -

    -FastDateFormat

    -
    -protected FastDateFormat(String pattern,
    -                         TimeZone timeZone,
    -                         Locale locale)
    -
    -

    Constructs a new FastDateFormat.

    -
    Parameters:
    pattern - SimpleDateFormat compatible - pattern
    timeZone - time zone to use, null means use - default for Date and value within for - Calendar
    locale - locale, null means use system - default
    Throws:
    IllegalArgumentException - if pattern is invalid or - null
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static FastDateFormat getInstance()
    -
    -

    Gets a formatter instance using the default pattern in the - default locale.

    -
    Returns:
    a date/time formatter
    -
    -
    -
    - -

    -getInstance

    -
    -public static FastDateFormat getInstance(String pattern)
    -
    -

    Gets a formatter instance using the specified pattern in the - default locale.

    -
    Parameters:
    pattern - SimpleDateFormat compatible - pattern
    Returns:
    a pattern based date/time formatter
    Throws:
    IllegalArgumentException - if pattern is invalid
    -
    -
    -
    - -

    -getInstance

    -
    -public static FastDateFormat getInstance(String pattern,
    -                                         TimeZone timeZone)
    -
    -

    Gets a formatter instance using the specified pattern and - time zone.

    -
    Parameters:
    pattern - SimpleDateFormat compatible - pattern
    timeZone - optional time zone, overrides time zone of - formatted date
    Returns:
    a pattern based date/time formatter
    Throws:
    IllegalArgumentException - if pattern is invalid
    -
    -
    -
    - -

    -getInstance

    -
    -public static FastDateFormat getInstance(String pattern,
    -                                         Locale locale)
    -
    -

    Gets a formatter instance using the specified pattern and - locale.

    -
    Parameters:
    pattern - SimpleDateFormat compatible - pattern
    locale - optional locale, overrides system locale
    Returns:
    a pattern based date/time formatter
    Throws:
    IllegalArgumentException - if pattern is invalid
    -
    -
    -
    - -

    -getInstance

    -
    -public static FastDateFormat getInstance(String pattern,
    -                                         TimeZone timeZone,
    -                                         Locale locale)
    -
    -

    Gets a formatter instance using the specified pattern, time zone - and locale.

    -
    Parameters:
    pattern - SimpleDateFormat compatible - pattern
    timeZone - optional time zone, overrides time zone of - formatted date
    locale - optional locale, overrides system locale
    Returns:
    a pattern based date/time formatter
    Throws:
    IllegalArgumentException - if pattern is invalid - or null
    -
    -
    -
    - -

    -getDateInstance

    -
    -public static FastDateFormat getDateInstance(int style)
    -
    -

    Gets a date formatter instance using the specified style in the - default time zone and locale.

    -
    Parameters:
    style - date style: FULL, LONG, MEDIUM, or SHORT
    Returns:
    a localized standard date formatter
    Throws:
    IllegalArgumentException - if the Locale has no date - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getDateInstance

    -
    -public static FastDateFormat getDateInstance(int style,
    -                                             Locale locale)
    -
    -

    Gets a date formatter instance using the specified style and - locale in the default time zone.

    -
    Parameters:
    style - date style: FULL, LONG, MEDIUM, or SHORT
    locale - optional locale, overrides system locale
    Returns:
    a localized standard date formatter
    Throws:
    IllegalArgumentException - if the Locale has no date - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getDateInstance

    -
    -public static FastDateFormat getDateInstance(int style,
    -                                             TimeZone timeZone)
    -
    -

    Gets a date formatter instance using the specified style and - time zone in the default locale.

    -
    Parameters:
    style - date style: FULL, LONG, MEDIUM, or SHORT
    timeZone - optional time zone, overrides time zone of - formatted date
    Returns:
    a localized standard date formatter
    Throws:
    IllegalArgumentException - if the Locale has no date - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getDateInstance

    -
    -public static FastDateFormat getDateInstance(int style,
    -                                             TimeZone timeZone,
    -                                             Locale locale)
    -
    -

    Gets a date formatter instance using the specified style, time - zone and locale.

    -
    Parameters:
    style - date style: FULL, LONG, MEDIUM, or SHORT
    timeZone - optional time zone, overrides time zone of - formatted date
    locale - optional locale, overrides system locale
    Returns:
    a localized standard date formatter
    Throws:
    IllegalArgumentException - if the Locale has no date - pattern defined
    -
    -
    -
    - -

    -getTimeInstance

    -
    -public static FastDateFormat getTimeInstance(int style)
    -
    -

    Gets a time formatter instance using the specified style in the - default time zone and locale.

    -
    Parameters:
    style - time style: FULL, LONG, MEDIUM, or SHORT
    Returns:
    a localized standard time formatter
    Throws:
    IllegalArgumentException - if the Locale has no time - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getTimeInstance

    -
    -public static FastDateFormat getTimeInstance(int style,
    -                                             Locale locale)
    -
    -

    Gets a time formatter instance using the specified style and - locale in the default time zone.

    -
    Parameters:
    style - time style: FULL, LONG, MEDIUM, or SHORT
    locale - optional locale, overrides system locale
    Returns:
    a localized standard time formatter
    Throws:
    IllegalArgumentException - if the Locale has no time - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getTimeInstance

    -
    -public static FastDateFormat getTimeInstance(int style,
    -                                             TimeZone timeZone)
    -
    -

    Gets a time formatter instance using the specified style and - time zone in the default locale.

    -
    Parameters:
    style - time style: FULL, LONG, MEDIUM, or SHORT
    timeZone - optional time zone, overrides time zone of - formatted time
    Returns:
    a localized standard time formatter
    Throws:
    IllegalArgumentException - if the Locale has no time - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getTimeInstance

    -
    -public static FastDateFormat getTimeInstance(int style,
    -                                             TimeZone timeZone,
    -                                             Locale locale)
    -
    -

    Gets a time formatter instance using the specified style, time - zone and locale.

    -
    Parameters:
    style - time style: FULL, LONG, MEDIUM, or SHORT
    timeZone - optional time zone, overrides time zone of - formatted time
    locale - optional locale, overrides system locale
    Returns:
    a localized standard time formatter
    Throws:
    IllegalArgumentException - if the Locale has no time - pattern defined
    -
    -
    -
    - -

    -getDateTimeInstance

    -
    -public static FastDateFormat getDateTimeInstance(int dateStyle,
    -                                                 int timeStyle)
    -
    -

    Gets a date/time formatter instance using the specified style - in the default time zone and locale.

    -
    Parameters:
    dateStyle - date style: FULL, LONG, MEDIUM, or SHORT
    timeStyle - time style: FULL, LONG, MEDIUM, or SHORT
    Returns:
    a localized standard date/time formatter
    Throws:
    IllegalArgumentException - if the Locale has no date/time - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getDateTimeInstance

    -
    -public static FastDateFormat getDateTimeInstance(int dateStyle,
    -                                                 int timeStyle,
    -                                                 Locale locale)
    -
    -

    Gets a date/time formatter instance using the specified style and - locale in the default time zone.

    -
    Parameters:
    dateStyle - date style: FULL, LONG, MEDIUM, or SHORT
    timeStyle - time style: FULL, LONG, MEDIUM, or SHORT
    locale - optional locale, overrides system locale
    Returns:
    a localized standard date/time formatter
    Throws:
    IllegalArgumentException - if the Locale has no date/time - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getDateTimeInstance

    -
    -public static FastDateFormat getDateTimeInstance(int dateStyle,
    -                                                 int timeStyle,
    -                                                 TimeZone timeZone)
    -
    -

    Gets a date/time formatter instance using the specified style and - time zone in the default locale.

    -
    Parameters:
    dateStyle - date style: FULL, LONG, MEDIUM, or SHORT
    timeStyle - time style: FULL, LONG, MEDIUM, or SHORT
    timeZone - optional time zone, overrides time zone of - formatted date
    Returns:
    a localized standard date/time formatter
    Throws:
    IllegalArgumentException - if the Locale has no date/time - pattern defined
    Since:
    2.1
    -
    -
    -
    -
    - -

    -getDateTimeInstance

    -
    -public static FastDateFormat getDateTimeInstance(int dateStyle,
    -                                                 int timeStyle,
    -                                                 TimeZone timeZone,
    -                                                 Locale locale)
    -
    -

    Gets a date/time formatter instance using the specified style, - time zone and locale.

    -
    Parameters:
    dateStyle - date style: FULL, LONG, MEDIUM, or SHORT
    timeStyle - time style: FULL, LONG, MEDIUM, or SHORT
    timeZone - optional time zone, overrides time zone of - formatted date
    locale - optional locale, overrides system locale
    Returns:
    a localized standard date/time formatter
    Throws:
    IllegalArgumentException - if the Locale has no date/time - pattern defined
    -
    -
    -
    - -

    -init

    -
    -protected void init()
    -
    -

    Initializes the instance for first use.

    -
    - -

    -parsePattern

    -
    -protected List parsePattern()
    -
    -

    Returns a list of Rules given a pattern.

    -
    Returns:
    a List of Rule objects
    Throws:
    IllegalArgumentException - if pattern is invalid
    -
    -
    -
    - -

    -parseToken

    -
    -protected String parseToken(String pattern,
    -                            int[] indexRef)
    -
    -

    Performs the parsing of tokens.

    -
    Parameters:
    pattern - the pattern
    indexRef - index references
    Returns:
    parsed token
    -
    -
    -
    - -

    -selectNumberRule

    -
    -protected org.apache.commons.lang.time.FastDateFormat.NumberRule selectNumberRule(int field,
    -                                                                                  int padding)
    -
    -

    Gets an appropriate rule for the padding required.

    -
    Parameters:
    field - the field to get a rule for
    padding - the padding required
    Returns:
    a new rule with the correct padding
    -
    -
    -
    - -

    -format

    -
    -public StringBuffer format(Object obj,
    -                           StringBuffer toAppendTo,
    -                           FieldPosition pos)
    -
    -

    Formats a Date, Calendar or - Long (milliseconds) object.

    -
    Overrides:
    format in class Format
    -
    -
    -
    Parameters:
    obj - the object to format
    toAppendTo - the buffer to append to
    pos - the position - ignored
    Returns:
    the buffer passed in
    -
    -
    -
    - -

    -format

    -
    -public String format(long millis)
    -
    -

    Formats a millisecond long value.

    -
    Parameters:
    millis - the millisecond value to format
    Returns:
    the formatted string
    Since:
    2.1
    -
    -
    -
    -
    - -

    -format

    -
    -public String format(Date date)
    -
    -

    Formats a Date object.

    -
    Parameters:
    date - the date to format
    Returns:
    the formatted string
    -
    -
    -
    - -

    -format

    -
    -public String format(Calendar calendar)
    -
    -

    Formats a Calendar object.

    -
    Parameters:
    calendar - the calendar to format
    Returns:
    the formatted string
    -
    -
    -
    - -

    -format

    -
    -public StringBuffer format(long millis,
    -                           StringBuffer buf)
    -
    -

    Formats a milliseond long value into the - supplied StringBuffer.

    -
    Parameters:
    millis - the millisecond value to format
    buf - the buffer to format into
    Returns:
    the specified string buffer
    Since:
    2.1
    -
    -
    -
    -
    - -

    -format

    -
    -public StringBuffer format(Date date,
    -                           StringBuffer buf)
    -
    -

    Formats a Date object into the - supplied StringBuffer.

    -
    Parameters:
    date - the date to format
    buf - the buffer to format into
    Returns:
    the specified string buffer
    -
    -
    -
    - -

    -format

    -
    -public StringBuffer format(Calendar calendar,
    -                           StringBuffer buf)
    -
    -

    Formats a Calendar object into the - supplied StringBuffer.

    -
    Parameters:
    calendar - the calendar to format
    buf - the buffer to format into
    Returns:
    the specified string buffer
    -
    -
    -
    - -

    -applyRules

    -
    -protected StringBuffer applyRules(Calendar calendar,
    -                                  StringBuffer buf)
    -
    -

    Performs the formatting by applying the rules to the - specified calendar.

    -
    Parameters:
    calendar - the calendar to format
    buf - the buffer to format into
    Returns:
    the specified string buffer
    -
    -
    -
    - -

    -parseObject

    -
    -public Object parseObject(String source,
    -                          ParsePosition pos)
    -
    -

    Parsing is not supported.

    -
    Overrides:
    parseObject in class Format
    -
    -
    -
    Parameters:
    source - the string to parse
    pos - the parsing position
    Returns:
    null as not supported
    -
    -
    -
    - -

    -getPattern

    -
    -public String getPattern()
    -
    -

    Gets the pattern used by this formatter.

    -
    Returns:
    the pattern, SimpleDateFormat compatible
    -
    -
    -
    - -

    -getTimeZone

    -
    -public TimeZone getTimeZone()
    -
    -

    Gets the time zone used by this formatter.

    - -

    This zone is always used for Date formatting. - If a Calendar is passed in to be formatted, the - time zone on that may be used depending on - getTimeZoneOverridesCalendar().

    -
    Returns:
    the time zone
    -
    -
    -
    - -

    -getTimeZoneOverridesCalendar

    -
    -public boolean getTimeZoneOverridesCalendar()
    -
    -

    Returns true if the time zone of the - calendar overrides the time zone of the formatter.

    -
    Returns:
    true if time zone of formatter - overridden for calendars
    -
    -
    -
    - -

    -getLocale

    -
    -public Locale getLocale()
    -
    -

    Gets the locale used by this formatter.

    -
    Returns:
    the locale
    -
    -
    -
    - -

    -getMaxLengthEstimate

    -
    -public int getMaxLengthEstimate()
    -
    -

    Gets an estimate for the maximum string length that the - formatter will produce.

    - -

    The actual formatted length will almost always be less than or - equal to this amount.

    -
    Returns:
    the maximum formatted length
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object obj)
    -
    -

    Compares two objects for equality.

    -
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    obj - the object to compare to
    Returns:
    true if equal
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -

    Returns a hashcode compatible with equals.

    -
    Overrides:
    hashCode in class Object
    -
    -
    -
    Returns:
    a hashcode compatible with equals
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -

    Gets a debugging string version of this formatter.

    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    a debugging string
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/StopWatch.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/StopWatch.html deleted file mode 100644 index 3f097c27..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/StopWatch.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class StopWatch - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -org.apache.commons.lang.time -
    -Class StopWatch

    -
    -java.lang.Object
    -  |
    -  +--org.apache.commons.lang.time.StopWatch
    -
    -
    -
    -
    public class StopWatch
    extends Object
    - -

    -

    StopWatch provides a convenient API for timings.

    - -

    To start the watch, call start(). At this point you can:

    -
      -
    • split() the watch to get the time whilst the watch continues in the - background. unsplit() will remove the effect of the split. At this point, - these three options are available again.
    • -
    • suspend() the watch to pause it. resume() allows the watch - to continue. Any time between the suspend and resume will not be counted in - the total. At this point, these three options are available again.
    • -
    • stop() the watch to complete the timing session.
    • -
    - -

    It is intended that the output methods toString() and getTime() - should only be called after stop, split or suspend, however a suitable result will - be returned at other points.

    - -

    NOTE: As from v2.1, the methods protect against inappropriate calls. - Thus you cannot now call stop before start, resume before suspend or - unsplit before split.

    - -

    1. split(), suspend(), or stop() cannot be invoked twice
    - 2. unsplit() may only be called if the watch has been split()
    - 3. resume() may only be called if the watch has been suspend()
    - 4. start() cannot be called twice without calling reset()

    -

    -

    -
    Since:
    2.0
    -
    Version:
    $Id: StopWatch.java 504351 2007-02-06 22:49:50Z bayard $
    -
    Author:
    Stephen Colebourne
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    StopWatch() - -
    -          Constructor.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - longgetSplitTime() - -
    -          Get the split time on the stopwatch.
    - longgetTime() - -
    -          Get the time on the stopwatch.
    - voidreset() - -
    -          Resets the stopwatch.
    - voidresume() - -
    -          Resume the stopwatch after a suspend.
    - voidsplit() - -
    -          Split the time.
    - voidstart() - -
    -          Start the stopwatch.
    - voidstop() - -
    -          Stop the stopwatch.
    - voidsuspend() - -
    -          Suspend the stopwatch for later resumption.
    - StringtoSplitString() - -
    -          Gets a summary of the split time that the stopwatch recorded as a string.
    - StringtoString() - -
    -          Gets a summary of the time that the stopwatch recorded as a string.
    - voidunsplit() - -
    -          Remove a split.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -StopWatch

    -
    -public StopWatch()
    -
    -

    Constructor.

    - - - - - - - - -
    -Method Detail
    - -

    -start

    -
    -public void start()
    -
    -

    Start the stopwatch.

    - -

    This method starts a new timing session, clearing any previous values.

    -
    Throws:
    IllegalStateException - if the StopWatch is already running.
    -
    -
    -
    - -

    -stop

    -
    -public void stop()
    -
    -

    Stop the stopwatch.

    - -

    This method ends a new timing session, allowing the time to be retrieved.

    -
    Throws:
    IllegalStateException - if the StopWatch is not running.
    -
    -
    -
    - -

    -reset

    -
    -public void reset()
    -
    -

    Resets the stopwatch. Stops it if need be.

    - -

    This method clears the internal values to allow the object to be reused.

    -
    - -

    -split

    -
    -public void split()
    -
    -

    Split the time.

    - -

    This method sets the stop time of the watch to allow a time to be extracted. - The start time is unaffected, enabling unsplit() to continue the - timing from the original start point.

    -
    Throws:
    IllegalStateException - if the StopWatch is not running.
    -
    -
    -
    - -

    -unsplit

    -
    -public void unsplit()
    -
    -

    Remove a split.

    - -

    This method clears the stop time. The start time is unaffected, enabling - timing from the original start point to continue.

    -
    Throws:
    IllegalStateException - if the StopWatch has not been split.
    -
    -
    -
    - -

    -suspend

    -
    -public void suspend()
    -
    -

    Suspend the stopwatch for later resumption.

    - -

    This method suspends the watch until it is resumed. The watch will not include - time between the suspend and resume calls in the total time.

    -
    Throws:
    IllegalStateException - if the StopWatch is not currently running.
    -
    -
    -
    - -

    -resume

    -
    -public void resume()
    -
    -

    Resume the stopwatch after a suspend.

    - -

    This method resumes the watch after it was suspended. The watch will not include - time between the suspend and resume calls in the total time.

    -
    Throws:
    IllegalStateException - if the StopWatch has not been suspended.
    -
    -
    -
    - -

    -getTime

    -
    -public long getTime()
    -
    -

    Get the time on the stopwatch.

    - -

    This is either the time between the start and the moment this method - is called, or the amount of time between start and stop.

    -
    Returns:
    the time in milliseconds
    -
    -
    -
    - -

    -getSplitTime

    -
    -public long getSplitTime()
    -
    -

    Get the split time on the stopwatch.

    - -

    This is the time between start and latest split.

    -
    Returns:
    the split time in milliseconds
    Throws:
    IllegalStateException - if the StopWatch has not yet been split.
    Since:
    2.1
    -
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -

    Gets a summary of the time that the stopwatch recorded as a string.

    - -

    The format used is ISO8601-like, - hours:minutes:seconds.milliseconds.

    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    the time as a String
    -
    -
    -
    - -

    -toSplitString

    -
    -public String toSplitString()
    -
    -

    Gets a summary of the split time that the stopwatch recorded as a string.

    - -

    The format used is ISO8601-like, - hours:minutes:seconds.milliseconds.

    -
    Returns:
    the split time as a String
    Since:
    2.1
    -
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DateFormatUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DateFormatUtils.html deleted file mode 100644 index 7d170689..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DateFormatUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.time.DateFormatUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.time.DateFormatUtils

    -
    -No usage of org.apache.commons.lang.time.DateFormatUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DateUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DateUtils.html deleted file mode 100644 index c24d0fd1..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DateUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.time.DateUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.time.DateUtils

    -
    -No usage of org.apache.commons.lang.time.DateUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DurationFormatUtils.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DurationFormatUtils.html deleted file mode 100644 index c495b612..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/DurationFormatUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.time.DurationFormatUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.time.DurationFormatUtils

    -
    -No usage of org.apache.commons.lang.time.DurationFormatUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/FastDateFormat.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/FastDateFormat.html deleted file mode 100644 index 72bb48d7..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/FastDateFormat.html +++ /dev/null @@ -1,377 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.time.FastDateFormat - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.time.FastDateFormat

    -
    - - - - - - - - - -
    -Packages that use FastDateFormat
    org.apache.commons.lang.time -Provides classes and methods to work with dates and durations. 
    -  -

    - - - - - -
    -Uses of FastDateFormat in org.apache.commons.lang.time
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Fields in org.apache.commons.lang.time declared as FastDateFormat
    -static FastDateFormatDateFormatUtils.ISO_DATETIME_FORMAT - -
    -          ISO8601 formatter for date-time without time zone.
    -static FastDateFormatDateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT - -
    -          ISO8601 formatter for date-time with time zone.
    -static FastDateFormatDateFormatUtils.ISO_DATE_FORMAT - -
    -          ISO8601 formatter for date without time zone.
    -static FastDateFormatDateFormatUtils.ISO_DATE_TIME_ZONE_FORMAT - -
    -          ISO8601-like formatter for date with time zone.
    -static FastDateFormatDateFormatUtils.ISO_TIME_FORMAT - -
    -          ISO8601 formatter for time without time zone.
    -static FastDateFormatDateFormatUtils.ISO_TIME_TIME_ZONE_FORMAT - -
    -          ISO8601 formatter for time with time zone.
    -static FastDateFormatDateFormatUtils.ISO_TIME_NO_T_FORMAT - -
    -          ISO8601-like formatter for time without time zone.
    -static FastDateFormatDateFormatUtils.ISO_TIME_NO_T_TIME_ZONE_FORMAT - -
    -          ISO8601-like formatter for time with time zone.
    -static FastDateFormatDateFormatUtils.SMTP_DATETIME_FORMAT - -
    -          SMTP (and probably other) date headers.
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in org.apache.commons.lang.time that return FastDateFormat
    -static FastDateFormatFastDateFormat.getInstance() - -
    -          Gets a formatter instance using the default pattern in the - default locale.
    -static FastDateFormatFastDateFormat.getInstance(String pattern) - -
    -          Gets a formatter instance using the specified pattern in the - default locale.
    -static FastDateFormatFastDateFormat.getInstance(String pattern, - TimeZone timeZone) - -
    -          Gets a formatter instance using the specified pattern and - time zone.
    -static FastDateFormatFastDateFormat.getInstance(String pattern, - Locale locale) - -
    -          Gets a formatter instance using the specified pattern and - locale.
    -static FastDateFormatFastDateFormat.getInstance(String pattern, - TimeZone timeZone, - Locale locale) - -
    -          Gets a formatter instance using the specified pattern, time zone - and locale.
    -static FastDateFormatFastDateFormat.getDateInstance(int style) - -
    -          Gets a date formatter instance using the specified style in the - default time zone and locale.
    -static FastDateFormatFastDateFormat.getDateInstance(int style, - Locale locale) - -
    -          Gets a date formatter instance using the specified style and - locale in the default time zone.
    -static FastDateFormatFastDateFormat.getDateInstance(int style, - TimeZone timeZone) - -
    -          Gets a date formatter instance using the specified style and - time zone in the default locale.
    -static FastDateFormatFastDateFormat.getDateInstance(int style, - TimeZone timeZone, - Locale locale) - -
    -          Gets a date formatter instance using the specified style, time - zone and locale.
    -static FastDateFormatFastDateFormat.getTimeInstance(int style) - -
    -          Gets a time formatter instance using the specified style in the - default time zone and locale.
    -static FastDateFormatFastDateFormat.getTimeInstance(int style, - Locale locale) - -
    -          Gets a time formatter instance using the specified style and - locale in the default time zone.
    -static FastDateFormatFastDateFormat.getTimeInstance(int style, - TimeZone timeZone) - -
    -          Gets a time formatter instance using the specified style and - time zone in the default locale.
    -static FastDateFormatFastDateFormat.getTimeInstance(int style, - TimeZone timeZone, - Locale locale) - -
    -          Gets a time formatter instance using the specified style, time - zone and locale.
    -static FastDateFormatFastDateFormat.getDateTimeInstance(int dateStyle, - int timeStyle) - -
    -          Gets a date/time formatter instance using the specified style - in the default time zone and locale.
    -static FastDateFormatFastDateFormat.getDateTimeInstance(int dateStyle, - int timeStyle, - Locale locale) - -
    -          Gets a date/time formatter instance using the specified style and - locale in the default time zone.
    -static FastDateFormatFastDateFormat.getDateTimeInstance(int dateStyle, - int timeStyle, - TimeZone timeZone) - -
    -          Gets a date/time formatter instance using the specified style and - time zone in the default locale.
    -static FastDateFormatFastDateFormat.getDateTimeInstance(int dateStyle, - int timeStyle, - TimeZone timeZone, - Locale locale) - -
    -          Gets a date/time formatter instance using the specified style, - time zone and locale.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/StopWatch.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/StopWatch.html deleted file mode 100644 index 43e2ed72..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/class-use/StopWatch.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Class org.apache.commons.lang.time.StopWatch - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    org.apache.commons.lang.time.StopWatch

    -
    -No usage of org.apache.commons.lang.time.StopWatch -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-frame.html deleted file mode 100644 index 1115ae14..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.time - - - - - -org.apache.commons.lang.time - - - - -
    -Classes  - -
    -DateFormatUtils -
    -DateUtils -
    -DurationFormatUtils -
    -FastDateFormat -
    -StopWatch
    - - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-summary.html deleted file mode 100644 index 80f72680..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-summary.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Package org.apache.commons.lang.time - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package org.apache.commons.lang.time -

    - -Provides classes and methods to work with dates and durations. -

    -See: -
    -          Description -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    DateFormatUtilsDate and time formatting utilities and constants.
    DateUtilsA suite of utilities surrounding the use of the - Calendar and Date object.
    DurationFormatUtilsDuration formatting utilities and constants.
    FastDateFormatFastDateFormat is a fast and thread-safe version of - SimpleDateFormat.
    StopWatchStopWatch provides a convenient API for timings.
    -  - -

    -

    -Package org.apache.commons.lang.time Description -

    - -

    -

    -Provides classes and methods to work with dates and durations. -

    -This includes: -

      -
    • DateUtils - a set of static utility methods for working with dates -
    • FastDateFormat - a replacement for SimpleDateFormat that is fast and thread-safe -
    • DateFormatUtils - a formatting class for dates -
    • StopWatch - a duration timer -
    -

    -

    -
    Since:
    2.0
    -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-tree.html deleted file mode 100644 index ba3c3bb3..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-tree.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): org.apache.commons.lang.time Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package org.apache.commons.lang.time -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-use.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-use.html deleted file mode 100644 index 4c050dc0..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/org/apache/commons/lang/time/package-use.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Uses of Package org.apache.commons.lang.time - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    org.apache.commons.lang.time

    -
    - - - - - - - - - -
    -Packages that use org.apache.commons.lang.time
    org.apache.commons.lang.time -Provides classes and methods to work with dates and durations. 
    -  -

    - - - - - - - - -
    -Classes in org.apache.commons.lang.time used by org.apache.commons.lang.time
    FastDateFormat - -
    -          FastDateFormat is a fast and thread-safe version of - SimpleDateFormat.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-frame.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-frame.html deleted file mode 100644 index 6b0b8c56..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-frame.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Overview - - - - - - - - - -
    -
    - - - - - -
    All Classes -

    - -Packages -
    -org.apache.commons.lang -
    -org.apache.commons.lang.builder -
    -org.apache.commons.lang.enum -
    -org.apache.commons.lang.enums -
    -org.apache.commons.lang.exception -
    -org.apache.commons.lang.math -
    -org.apache.commons.lang.mutable -
    -org.apache.commons.lang.text -
    -org.apache.commons.lang.time -
    -

    - -

    -  - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-summary.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-summary.html deleted file mode 100644 index 51d4e207..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-summary.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Overview - - - - - - - - - - - - - - - - - -
    - -
    - - -


    -
    -

    -

    Core Language Utilities

    -
    - -This document is the API specification for the Apache Jakarta Commons Lang Library, version 2.2. -

    -See: -
    -          Description -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages
    org.apache.commons.langProvides highly reusable static utility methods, chiefly concerned -with adding value to java.lang and other standard core classes.
    org.apache.commons.lang.builderAssists in creating consistent equals(Object), toString(), -hashCode(), and compareTo(Object) methods.
    org.apache.commons.lang.enum -Deprecated and replaced by org.apache.commons.lang.enums -and will be removed in version 3.0.
    org.apache.commons.lang.enums -Provides an implementation of the C style enum in the Java world.
    org.apache.commons.lang.exceptionProvides JDK 1.4 style Nested Exception functionality for those on prior Java -versions.
    org.apache.commons.lang.mathExtends java.math for business mathematical classes.
    org.apache.commons.lang.mutableProvides typed mutable wrappers to primitive values and Object.
    org.apache.commons.lang.text -Provides classes for handling and manipulating text, partly as an extension to java.text.
    org.apache.commons.lang.time -Provides classes and methods to work with dates and durations.
    - -

    -

    -

    -This document is the API specification for the Apache Jakarta Commons Lang Library, version 2.2. -

    -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-tree.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-tree.html deleted file mode 100644 index b87c6c3b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/overview-tree.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3): Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For All Packages

    -
    -
    -
    Package Hierarchies:
    org.apache.commons.lang, org.apache.commons.lang.builder, org.apache.commons.lang.enum, org.apache.commons.lang.enums, org.apache.commons.lang.exception, org.apache.commons.lang.math, org.apache.commons.lang.mutable, org.apache.commons.lang.text, org.apache.commons.lang.time
    -
    -

    -Class Hierarchy -

    - -

    -Interface Hierarchy -

    -
      -
    • interface org.apache.commons.lang.mutable.Mutable
    • interface org.apache.commons.lang.exception.Nestable
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/package-list b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/package-list deleted file mode 100644 index 066f12e5..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/package-list +++ /dev/null @@ -1,9 +0,0 @@ -org.apache.commons.lang -org.apache.commons.lang.builder -org.apache.commons.lang.enum -org.apache.commons.lang.enums -org.apache.commons.lang.exception -org.apache.commons.lang.math -org.apache.commons.lang.mutable -org.apache.commons.lang.text -org.apache.commons.lang.time diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/packages.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/packages.html deleted file mode 100644 index 1c112fbd..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/packages.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -Core Language Utilities (Version 2.3) - - - - - -
    - -
    - -
    -
    -The front page has been relocated.Please see: -
    -          Frame version -
    -          Non-frame version.
    - - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/serialized-form.html b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/serialized-form.html deleted file mode 100644 index d004466b..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/serialized-form.html +++ /dev/null @@ -1,1301 +0,0 @@ - - - - - - -Serialized Form - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Serialized Form

    -
    -
    - - - - - -
    -Package org.apache.commons.lang
    - -

    - - - - - -
    -Class org.apache.commons.lang.CharRange implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -start

    -
    -char start
    -
    -
    The first character, inclusive, in the range.
    -
    - -

    -end

    -
    -char end
    -
    -
    The last character, inclusive, in the range.
    -
    - -

    -negated

    -
    -boolean negated
    -
    -
    True if the range is everything except the characters specified.
    - -

    - - - - - -
    -Class org.apache.commons.lang.CharSet implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -set

    -
    -Set set
    -
    -
    The set of CharRange objects.
    - -

    - - - - - -
    -Class org.apache.commons.lang.IllegalClassException implements Serializable
    - -

    - -

    - - - - - -
    -Class org.apache.commons.lang.IncompleteArgumentException implements Serializable
    - -

    - -

    - - - - - -
    -Class org.apache.commons.lang.NotImplementedException implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -delegate

    -
    -NestableDelegate delegate
    -
    -
    The exception helper to delegate nested exception handling to.
    -
    - -

    -cause

    -
    -Throwable cause
    -
    -
    Holds the reference to the exception or error that caused - this exception to be thrown.
    - -

    - - - - - -
    -Class org.apache.commons.lang.NullArgumentException implements Serializable
    - -

    - -

    - - - - - -
    -Class org.apache.commons.lang.ObjectUtils.Null implements Serializable
    - -

    - -

    - - - - - -
    -Class org.apache.commons.lang.SerializationException implements Serializable
    - -

    - -

    - - - - - -
    -Class org.apache.commons.lang.UnhandledException implements Serializable
    - -

    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.builder
    - -

    - - - - - -
    -Class org.apache.commons.lang.builder.StandardToStringStyle implements Serializable
    - -

    - -

    - - - - - -
    -Class org.apache.commons.lang.builder.ToStringStyle implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -useFieldNames

    -
    -boolean useFieldNames
    -
    -
    Whether to use the field names, the default is true.
    -
    - -

    -useClassName

    -
    -boolean useClassName
    -
    -
    Whether to use the class name, the default is true.
    -
    - -

    -useShortClassName

    -
    -boolean useShortClassName
    -
    -
    Whether to use short class names, the default is false.
    -
    - -

    -useIdentityHashCode

    -
    -boolean useIdentityHashCode
    -
    -
    Whether to use the identity hash code, the default is true.
    -
    - -

    -contentStart

    -
    -String contentStart
    -
    -
    The content start '['.
    -
    - -

    -contentEnd

    -
    -String contentEnd
    -
    -
    The content end ']'.
    -
    - -

    -fieldNameValueSeparator

    -
    -String fieldNameValueSeparator
    -
    -
    The field name value separator '='.
    -
    - -

    -fieldSeparatorAtStart

    -
    -boolean fieldSeparatorAtStart
    -
    -
    Whether the field separator should be added before any other fields.
    -
    - -

    -fieldSeparatorAtEnd

    -
    -boolean fieldSeparatorAtEnd
    -
    -
    Whether the field separator should be added after any other fields.
    -
    - -

    -fieldSeparator

    -
    -String fieldSeparator
    -
    -
    The field separator ','.
    -
    - -

    -arrayStart

    -
    -String arrayStart
    -
    -
    The array start '{'.
    -
    - -

    -arraySeparator

    -
    -String arraySeparator
    -
    -
    The array separator ','.
    -
    - -

    -arrayContentDetail

    -
    -boolean arrayContentDetail
    -
    -
    The detail for array content.
    -
    - -

    -arrayEnd

    -
    -String arrayEnd
    -
    -
    The array end '}'.
    -
    - -

    -defaultFullDetail

    -
    -boolean defaultFullDetail
    -
    -
    The value to use when fullDetail is null, - the default value is true.
    -
    - -

    -nullText

    -
    -String nullText
    -
    -
    The null text '<null>'.
    -
    - -

    -sizeStartText

    -
    -String sizeStartText
    -
    -
    The summary size text start '.
    -
    - -

    -sizeEndText

    -
    -String sizeEndText
    -
    -
    The summary size text start '>'.
    -
    - -

    -summaryObjectStartText

    -
    -String summaryObjectStartText
    -
    -
    The summary object text start '<'.
    -
    - -

    -summaryObjectEndText

    -
    -String summaryObjectEndText
    -
    -
    The summary object text start '>'.
    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.enum
    - -

    - - - - - -
    -Class org.apache.commons.lang.enum.Enum implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -iName

    -
    -String iName
    -
    -
    Deprecated. 
    The string representation of the Enum.
    - -

    - - - - - -
    -Class org.apache.commons.lang.enum.ValuedEnum implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -iValue

    -
    -int iValue
    -
    -
    Deprecated. 
    The value contained in enum.
    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.enums
    - -

    - - - - - -
    -Class org.apache.commons.lang.enums.Enum implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -iName

    -
    -String iName
    -
    -
    The string representation of the Enum.
    - -

    - - - - - -
    -Class org.apache.commons.lang.enums.ValuedEnum implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -iValue

    -
    -int iValue
    -
    -
    The value contained in enum.
    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.exception
    - -

    - - - - - -
    -Class org.apache.commons.lang.exception.NestableDelegate implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -nestable

    -
    -Throwable nestable
    -
    -
    Holds the reference to the exception or error that we're - wrapping (which must be a Nestable implementation).
    - -

    - - - - - -
    -Class org.apache.commons.lang.exception.NestableError implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -delegate

    -
    -NestableDelegate delegate
    -
    -
    The helper instance which contains much of the code which we - delegate to.
    -
    - -

    -cause

    -
    -Throwable cause
    -
    -
    Holds the reference to the exception or error that caused - this exception to be thrown.
    - -

    - - - - - -
    -Class org.apache.commons.lang.exception.NestableException implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -delegate

    -
    -NestableDelegate delegate
    -
    -
    The helper instance which contains much of the code which we - delegate to.
    -
    - -

    -cause

    -
    -Throwable cause
    -
    -
    Holds the reference to the exception or error that caused - this exception to be thrown.
    - -

    - - - - - -
    -Class org.apache.commons.lang.exception.NestableRuntimeException implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -delegate

    -
    -NestableDelegate delegate
    -
    -
    The helper instance which contains much of the code which we - delegate to.
    -
    - -

    -cause

    -
    -Throwable cause
    -
    -
    Holds the reference to the exception or error that caused - this exception to be thrown.
    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.math
    - -

    - - - - - -
    -Class org.apache.commons.lang.math.DoubleRange implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -min

    -
    -double min
    -
    -
    The minimum number in this range (inclusive).
    -
    - -

    -max

    -
    -double max
    -
    -
    The maximum number in this range (inclusive).
    - -

    - - - - - -
    -Class org.apache.commons.lang.math.FloatRange implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -min

    -
    -float min
    -
    -
    The minimum number in this range (inclusive).
    -
    - -

    -max

    -
    -float max
    -
    -
    The maximum number in this range (inclusive).
    - -

    - - - - - -
    -Class org.apache.commons.lang.math.Fraction implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -numerator

    -
    -int numerator
    -
    -
    The numerator number part of the fraction (the three in three sevenths).
    -
    - -

    -denominator

    -
    -int denominator
    -
    -
    The denominator number part of the fraction (the seven in three sevenths).
    - -

    - - - - - -
    -Class org.apache.commons.lang.math.IntRange implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -min

    -
    -int min
    -
    -
    The minimum number in this range (inclusive).
    -
    - -

    -max

    -
    -int max
    -
    -
    The maximum number in this range (inclusive).
    - -

    - - - - - -
    -Class org.apache.commons.lang.math.JVMRandom implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -constructed

    -
    -boolean constructed
    -
    -
    Ensures that only the constructor can call reseed.
    - -

    - - - - - -
    -Class org.apache.commons.lang.math.LongRange implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -min

    -
    -long min
    -
    -
    The minimum number in this range (inclusive).
    -
    - -

    -max

    -
    -long max
    -
    -
    The maximum number in this range (inclusive).
    - -

    - - - - - -
    -Class org.apache.commons.lang.math.NumberRange implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -min

    -
    -Number min
    -
    -
    The minimum number in this range.
    -
    - -

    -max

    -
    -Number max
    -
    -
    The maximum number in this range.
    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.mutable
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableBoolean implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -boolean value
    -
    -
    The mutable value.
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableByte implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -byte value
    -
    -
    The mutable value.
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableDouble implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -double value
    -
    -
    The mutable value.
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableFloat implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -float value
    -
    -
    The mutable value.
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableInt implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -int value
    -
    -
    The mutable value.
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableLong implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -long value
    -
    -
    The mutable value.
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableObject implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -Object value
    -
    -
    The mutable value.
    - -

    - - - - - -
    -Class org.apache.commons.lang.mutable.MutableShort implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -value

    -
    -short value
    -
    -
    The mutable value.
    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.text
    - -

    - - - - - -
    -Class org.apache.commons.lang.text.CompositeFormat implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -parser

    -
    -Format parser
    -
    -
    The parser to use.
    -
    - -

    -formatter

    -
    -Format formatter
    -
    -
    The formatter to use.
    - -

    -


    - - - - - -
    -Package org.apache.commons.lang.time
    - -

    - - - - - -
    -Class org.apache.commons.lang.time.FastDateFormat implements Serializable
    - -

    - - - - - -
    -Serialization Methods
    - -

    - -

    -readObject

    -
    -private void readObject(ObjectInputStream in)
    -                 throws IOException,
    -                        ClassNotFoundException
    -
    -
    Create the object after serialization. This implementation reinitializes the - transient properties.
    - - - - - -
    -Serialized Fields
    - -

    -mPattern

    -
    -String mPattern
    -
    -
    The pattern.
    -
    - -

    -mTimeZone

    -
    -TimeZone mTimeZone
    -
    -
    The time zone.
    -
    - -

    -mTimeZoneForced

    -
    -boolean mTimeZoneForced
    -
    -
    Whether the time zone overrides any on Calendars.
    -
    - -

    -mLocale

    -
    -Locale mLocale
    -
    -
    The locale.
    -
    - -

    -mLocaleForced

    -
    -boolean mLocaleForced
    -
    -
    Whether the locale overrides the default.
    - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    -Copyright © 2001-2005 - Apache Software Foundation - - diff --git a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/stylesheet.css b/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/stylesheet.css deleted file mode 100644 index 95f57649..00000000 --- a/CASA-auth-token/server-java/Svc/external/jakarta-commons-lang/commons-lang-2.3/docs/api/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: normal; font-family: normal } -.FrameHeadingFont { font-size: normal; font-family: normal } -.FrameItemFont { font-size: normal; font-family: normal } - -/* Example of smaller, sans-serif font in frames */ -/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - diff --git a/CASA-auth-token/server-java/Svc/linux/Makefile.am b/CASA-auth-token/server-java/Svc/linux/Makefile.am index 9e0bf5c7..f8d7902d 100644 --- a/CASA-auth-token/server-java/Svc/linux/Makefile.am +++ b/CASA-auth-token/server-java/Svc/linux/Makefile.am @@ -147,7 +147,7 @@ CLASSES = $(addprefix $(BUILDDIR)/, $(JAVAFILES:%.java=%.class)) XMLSEC_LIBS = $(XMLSEC_JARS_DIR)/xmlsec-1.4.0.jar -LIBS = /usr/share/java/servletapi5.jar:/usr/share/java/xerces-j2.jar:/usr/share/java/log4j.jar:/usr/share/java/jakarta-commons-lang.jar +LIBS = /usr/share/java/servletapi5.jar:/usr/share/java/xerces-j2.jar:/usr/share/java/log4j.jar if LIB64 CASA_JAR = /usr/lib64/miCASA.jar else diff --git a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/CasaIdentityToken.java b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/CasaIdentityToken.java index cfccab8c..401a768e 100644 --- a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/CasaIdentityToken.java +++ b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/CasaIdentityToken.java @@ -46,7 +46,6 @@ import org.xml.sax.helpers.XMLReaderFactory; import org.bandit.util.config.Realm; import org.apache.log4j.Logger; -import org.apache.commons.lang.StringEscapeUtils; /** * CasaIdentityToken Class. @@ -771,7 +770,7 @@ public final class CasaIdentityToken implements IdentityToken StringBuffer sb = new StringBuffer(); sb.append(ProtoDefs.xmlDeclaration); sb.append("\r\n"); sb.append("<"); sb.append(casaIdentTokElementName); sb.append(">"); sb.append("\r\n"); - sb.append("<"); sb.append(idElementName); sb.append(">"); sb.append(StringEscapeUtils.escapeXml(identityId)); sb.append("\r\n"); + sb.append("<"); sb.append(idElementName); sb.append(">"); sb.append(escapeXml(identityId)); sb.append("\r\n"); sb.append("<"); sb.append(sourceNameElementName); sb.append(">"); sb.append(sourceName); sb.append("\r\n"); sb.append("<"); sb.append(sourceUrlElementName); sb.append(">"); sb.append(m_sourceUrl); sb.append("\r\n"); sb.append("<"); sb.append(targetServiceElementName); sb.append(">"); sb.append(m_service); sb.append("\r\n"); @@ -818,7 +817,7 @@ public final class CasaIdentityToken implements IdentityToken else { // Assume the attribute value is of type String - sb.append("<"); sb.append(attr.getID()); sb.append(">"); sb.append(StringEscapeUtils.escapeXml((String) attrValue)); sb.append("\r\n"); + sb.append("<"); sb.append(attr.getID()); sb.append(">"); sb.append(escapeXml((String) attrValue)); sb.append("\r\n"); } } } @@ -1036,4 +1035,43 @@ public final class CasaIdentityToken implements IdentityToken throw new Exception("Not initialized"); } } + + /** + * Escapes Xml string. + * + * @param xml XML String to be escaped. + * @return Escaped XML string. + */ + private String escapeXml(String xml) + { + char[] xmlChars = new char[xml.length()]; + xml.getChars(0, xml.length(), xmlChars, 0); + StringBuffer escapedXml = new StringBuffer(); + for (int i = 0; i < xmlChars.length; i++) + { + switch (xmlChars[i]) + { + case '&': + escapedXml.append("&"); + break; + case '<': + escapedXml.append("<"); + break; + case '>': + escapedXml.append(">"); + break; + case '\'': + escapedXml.append("'"); + break; + case '"': + escapedXml.append("""); + break; + default: + escapedXml.append(xmlChars[i]); + break; + } + } + + return escapedXml.toString(); + } } diff --git a/CASA-auth-token/server-java/Svc/windows/Makefile.am b/CASA-auth-token/server-java/Svc/windows/Makefile.am index 8d1fb7e4..62f49348 100644 --- a/CASA-auth-token/server-java/Svc/windows/Makefile.am +++ b/CASA-auth-token/server-java/Svc/windows/Makefile.am @@ -36,7 +36,6 @@ IDENT_ABSTRACTION_DIR = $(BANDIT_DIR) XMLSEC_JARS_DIR = ../external/xmlsec/xml-security-1_4_0/libs XMLSEC_LICENSE = ../external/xmlsec/xml-security-1_4_0/LICENSE LOG4J_JARS_DIR = ../external/log4j/logging-log4j-1.2.14/dist/lib -COMMONS_LANG_JARS_DIR = ../external/jakarta-commons-lang/commons-lang-2.3 MANIFEST_DIR = ../manifest @@ -119,7 +118,7 @@ AUTH_POLICY_EDITOR = $(AUTH_POLICY_EDITOR_MODULE_NAME).$(MODULE_EXT) CLASSES = $(addprefix $(BUILDDIR)/, $(JAVAFILES:%.java=%.class)) -LIBS = $(TOMCAT_DIR)/servlet-api.jar;$(LOG4J_JARS_DIR)/log4j-1.2.14.jar;$(XMLSEC_JARS_DIR)/xmlsec-1.4.0.jar;$(XMLSEC_JARS_DIR)/xercesImpl.jar;$(CASA32_SDK_DIR)/lib/miCASA.jar;$(COMMONS_LANG_JARS_DIR)/commons-lang-2.3.jar +LIBS = $(TOMCAT_DIR)/servlet-api.jar;$(LOG4J_JARS_DIR)/log4j-1.2.14.jar;$(XMLSEC_JARS_DIR)/xmlsec-1.4.0.jar;$(XMLSEC_JARS_DIR)/xercesImpl.jar;$(CASA32_SDK_DIR)/lib/miCASA.jar CLASSPATH = $(AXIS_LIBS);$(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar;$(IDENT_ABSTRACTION_DIR)/bandit-util.jar;$(IDENT_ABSTRACTION_DIR)/castor-1.0.4.jar;$(LIBS) CUR_DIR := $(shell pwd) @@ -147,7 +146,6 @@ $(BUILDDIR)/$(WEBAPP): $(BUILDDIR) $(CLASSES) cp $(XMLSEC_JARS_DIR)/xercesImpl.jar $(BUILDDIR)/webapp/WEB-INF/lib/ cp $(XMLSEC_JARS_DIR)/xmlsec-1.4.0.jar $(BUILDDIR)/webapp/WEB-INF/lib/ cp $(LOG4J_JARS_DIR)/log4j-1.2.14.jar $(BUILDDIR)/webapp/WEB-INF/lib/ - cp $(COMMONS_LANG_JARS_DIR)/commons-lang-2.3.jar $(BUILDDIR)/webapp/WEB-INF/lib/ cp $(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar $(BUILDDIR)/webapp/WEB-INF/lib/ cp $(IDENT_ABSTRACTION_DIR)/bandit-util.jar $(BUILDDIR)/webapp/WEB-INF/lib/ cp $(IDENT_ABSTRACTION_DIR)/castor-1.0.4.jar $(BUILDDIR)/webapp/WEB-INF/lib/ diff --git a/CASA-auth-token/server-java/configure.in b/CASA-auth-token/server-java/configure.in index 5ae54373..d17b0dbe 100644 --- a/CASA-auth-token/server-java/configure.in +++ b/CASA-auth-token/server-java/configure.in @@ -280,8 +280,6 @@ Svc/external/log4j/Makefile Svc/external/log4j/logging-log4j-1.2.14/Makefile Svc/external/log4j/logging-log4j-1.2.14/dist/Makefile Svc/external/log4j/logging-log4j-1.2.14/dist/lib/Makefile -Svc/external/jakarta-commons-lang/Makefile -Svc/external/jakarta-commons-lang/commons-lang-2.3/Makefile Svc/src/Makefile Svc/src/com/Makefile Svc/src/com/novell/Makefile diff --git a/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in b/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in index fd98b6ed..382db6cb 100644 --- a/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in +++ b/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc.spec.in @@ -18,7 +18,7 @@ Name: @PACKAGE@ URL: http://www.novell.com/products BuildRequires: gcc-c++ glib2-devel identity-abstraction insserv libstdc++ libstdc++-devel mono-devel pkgconfig servletapi5 sysvinit xerces-j2 xml-commons-apis -BuildRequires: java-sdk-1.5.0 update-alternatives log4j jakarta-commons-logging pwdutils CASA-devel curl jakarta-commons-lang +BuildRequires: java-sdk-1.5.0 update-alternatives log4j jakarta-commons-logging pwdutils CASA-devel curl %define prefix /usr License: LGPL Group: Applications/System @@ -30,7 +30,7 @@ Summary: Novell CASA Authentication Token Service Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: jre >= 1.5.0 -Requires: servletapi5 tomcat5 sysvinit insserv identity-abstraction sed log4j xerces-j2 CASA curl jakarta-commons-lang +Requires: servletapi5 tomcat5 sysvinit insserv identity-abstraction sed log4j xerces-j2 CASA curl PreReq: %fillup_prereq %insserv_prereq PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd PreReq: /usr/sbin/groupadd, /usr/sbin/useradd, /usr/sbin/userdel, /usr/bin/getent @@ -56,7 +56,7 @@ services that are CASA authentication enabled. Summary: Novell CASA Authentication Token JAAS Support Components Group: Applications/System Requires: jre >= 1.5.0 -Requires: log4j jakarta-commons-logging xerces-j2 jakarta-commons-lang +Requires: log4j jakarta-commons-logging xerces-j2 %description -n CASA_auth_token_jaas_support CASA_auth_token is an authentication token infrastructure with support for diff --git a/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc_4zen.spec.in b/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc_4zen.spec.in index d6f187ff..cc7bafe4 100644 --- a/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc_4zen.spec.in +++ b/CASA-auth-token/server-java/package/linux/CASA_auth_token_svc_4zen.spec.in @@ -18,7 +18,7 @@ Name: @PACKAGE@ URL: http://www.novell.com/products BuildRequires: gcc-c++ glib2-devel identity-abstraction insserv libstdc++ libstdc++-devel mono-devel pkgconfig servletapi5 sysvinit xerces-j2 jdk novell-zenworks-java-links xml-commons-apis -BuildRequires: java-sdk-1.5.0 update-alternatives log4j jakarta-commons-logging pwdutils CASA-devel jakarta-commons-lang +BuildRequires: java-sdk-1.5.0 update-alternatives log4j jakarta-commons-logging pwdutils CASA-devel %define prefix /usr License: LGPL Group: Applications/System @@ -30,7 +30,7 @@ Summary: Novell CASA Authentication Token Service Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: jre >= 1.5.0 -Requires: novell-zenworks-tomcat sysvinit insserv identity-abstraction sed jdk novell-zenworks-java-links log4j xerces-j2 CASA jakarta-commons-lang +Requires: novell-zenworks-tomcat sysvinit insserv identity-abstraction sed jdk novell-zenworks-java-links log4j xerces-j2 CASA PreReq: %fillup_prereq %insserv_prereq PreReq: /usr/bin/awk, /usr/bin/test, /bin/grep, /bin/cat, /usr/bin/install, /bin/pwd PreReq: /usr/sbin/groupadd, /usr/sbin/useradd, /usr/sbin/userdel, /usr/bin/getent @@ -56,7 +56,7 @@ services that are CASA authentication enabled. Summary: Novell CASA Authentication Token JAAS Support Components Group: Applications/System Requires: jre >= 1.5.0 CASA_auth_token_svc jdk novell-zenworks-java-links log4j -Requires: log4j jakarta-commons-logging xerces-j2 jakarta-commons-lang +Requires: log4j jakarta-commons-logging xerces-j2 %description -n CASA_auth_token_jaas_support CASA_auth_token is an authentication token infrastructure with support for