1*455610afSAndroid Build Coastguard WorkerLicensed to the Apache Software Foundation (ASF) under one or more 2*455610afSAndroid Build Coastguard Workercontributor license agreements. See the NOTICE file distributed with 3*455610afSAndroid Build Coastguard Workerthis work for additional information regarding copyright ownership. 4*455610afSAndroid Build Coastguard WorkerThe ASF licenses this file to You under the Apache License, Version 2.0 5*455610afSAndroid Build Coastguard Worker(the "License"); you may not use this file except in compliance with 6*455610afSAndroid Build Coastguard Workerthe License. You may obtain a copy of the License at 7*455610afSAndroid Build Coastguard Worker 8*455610afSAndroid Build Coastguard Workerhttp://www.apache.org/licenses/LICENSE-2.0 9*455610afSAndroid Build Coastguard Worker 10*455610afSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software 11*455610afSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS, 12*455610afSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*455610afSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and 14*455610afSAndroid Build Coastguard Workerlimitations under the License. 15*455610afSAndroid Build Coastguard Worker 16*455610afSAndroid Build Coastguard Worker============================================================================= 17*455610afSAndroid Build Coastguard Worker 18*455610afSAndroid Build Coastguard Worker Commons Lang Package 19*455610afSAndroid Build Coastguard Worker Version 1.0 20*455610afSAndroid Build Coastguard Worker Release Notes 21*455610afSAndroid Build Coastguard Worker 22*455610afSAndroid Build Coastguard Worker 23*455610afSAndroid Build Coastguard WorkerINTRODUCTION: 24*455610afSAndroid Build Coastguard Worker 25*455610afSAndroid Build Coastguard WorkerThis document contains the release notes for this version of the Commons 26*455610afSAndroid Build Coastguard WorkerLang package. Commons Lang is a set of utility functions and reusable 27*455610afSAndroid Build Coastguard Workercomponents that should be a help in any Java environment. 28*455610afSAndroid Build Coastguard Worker 29*455610afSAndroid Build Coastguard WorkerNEW FEATURES: 30*455610afSAndroid Build Coastguard Worker 31*455610afSAndroid Build Coastguard WorkerSince the release of the b1 package the following have been added: 32*455610afSAndroid Build Coastguard Worker 33*455610afSAndroid Build Coastguard Workerlang. 34*455610afSAndroid Build Coastguard Worker SystemUtils: 35*455610afSAndroid Build Coastguard Worker Brings together many system specific variables under one easy component. 36*455610afSAndroid Build Coastguard Worker 37*455610afSAndroid Build Coastguard Workerexception. 38*455610afSAndroid Build Coastguard Worker ExceptionUtils: 39*455610afSAndroid Build Coastguard Worker Provides helpful static functions for dealing with Exceptions. 40*455610afSAndroid Build Coastguard Worker NestableError : 41*455610afSAndroid Build Coastguard Worker Adds nesting ability to Errors. 42*455610afSAndroid Build Coastguard Worker 43*455610afSAndroid Build Coastguard Workerenum sub-package: 44*455610afSAndroid Build Coastguard Worker A solid version of the typical Java translation of a C enum. 45*455610afSAndroid Build Coastguard Worker 46*455610afSAndroid Build Coastguard Workerbuilder sub-package: 47*455610afSAndroid Build Coastguard Worker A series of helpers for handling standard Object methods such as equals, 48*455610afSAndroid Build Coastguard Worker toString, compareTo and hashCode in a professional manner. 49*455610afSAndroid Build Coastguard Worker 50*455610afSAndroid Build Coastguard Worker 51*455610afSAndroid Build Coastguard WorkerBUG FIXES: 52*455610afSAndroid Build Coastguard Worker 53*455610afSAndroid Build Coastguard WorkerStringUtils.stripStart and stripEnd were improved to match their Javadoc. 54*455610afSAndroid Build Coastguard WorkerStringUtils.convertUnicodeToNative and convertNativeToUnicode both removed. 55*455610afSAndroid Build Coastguard Worker Both methods did not work properly. 56*455610afSAndroid Build Coastguard Worker 57*455610afSAndroid Build Coastguard Worker 58*455610afSAndroid Build Coastguard WorkerDEPRECATIONS: 59*455610afSAndroid Build Coastguard Worker 60*455610afSAndroid Build Coastguard WorkerMuch of the exception subpackage was reworked between 1.0-b1 and 1.0. Apart 61*455610afSAndroid Build Coastguard Workerfrom this the API should have a high level of backward compatibility. 62*455610afSAndroid Build Coastguard Worker 63*455610afSAndroid Build Coastguard Worker 64*455610afSAndroid Build Coastguard WorkerCHANGES: [In 'diff' format] 65*455610afSAndroid Build Coastguard Worker 66*455610afSAndroid Build Coastguard WorkerJar changes 67*455610afSAndroid Build Coastguard Worker=========== 68*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.exception.ExceptionUtils 69*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.exception.NestableError 70*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.ObjectUtils$Null 71*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.ObjectUtils$1 72*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.enum.Enum$Entry 73*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.enum.Enum$1 74*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.enum.Enum 75*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.enum.EnumUtils 76*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.enum.ValuedEnum 77*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.CompareToBuilder 78*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.EqualsBuilder 79*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.HashCodeBuilder 80*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.StandardToStringStyle 81*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.ToStringStyle$DefaultToStringStyle 82*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.ToStringStyle$NoFieldNameToStringStyle 83*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.ToStringStyle$SimpleToStringStyle 84*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.ToStringStyle$MultiLineToStringStyle 85*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.ToStringStyle$1 86*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.ToStringStyle 87*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.builder.ToStringBuilder 88*455610afSAndroid Build Coastguard Worker> org.apache.commons.lang.SystemUtils 89*455610afSAndroid Build Coastguard Worker 90*455610afSAndroid Build Coastguard Worker 91*455610afSAndroid Build Coastguard WorkerClass changes 92*455610afSAndroid Build Coastguard Worker============= 93*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.exception.Nestable 94*455610afSAndroid Build Coastguard Worker-------------------- 95*455610afSAndroid Build Coastguard Worker< public abstract int getLength(); 96*455610afSAndroid Build Coastguard Worker> public abstract int getThrowableCount(); 97*455610afSAndroid Build Coastguard Worker< public abstract int indexOfThrowable(int, java.lang.Class); 98*455610afSAndroid Build Coastguard Worker--- 99*455610afSAndroid Build Coastguard Worker> public abstract int indexOfThrowable(java.lang.Class, int); 100*455610afSAndroid Build Coastguard Worker> public abstract void printStackTrace(java.io.PrintStream); 101*455610afSAndroid Build Coastguard Worker 102*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.exception.NestableDelegate 103*455610afSAndroid Build Coastguard Worker-------------------- 104*455610afSAndroid Build Coastguard Worker< int getLength(); 105*455610afSAndroid Build Coastguard Worker< java.lang.String getMessage(java.lang.String); 106*455610afSAndroid Build Coastguard Worker> java.lang.String getMessage(java.lang.String); 107*455610afSAndroid Build Coastguard Worker> java.lang.String getMessages()[]; 108*455610afSAndroid Build Coastguard Worker> int getThrowableCount(); 109*455610afSAndroid Build Coastguard Worker< java.lang.String getMessages()[]; 110*455610afSAndroid Build Coastguard Worker< int indexOfThrowable(int, java.lang.Class); 111*455610afSAndroid Build Coastguard Worker--- 112*455610afSAndroid Build Coastguard Worker> int indexOfThrowable(java.lang.Class, int); 113*455610afSAndroid Build Coastguard Worker 114*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.exception.NestableException 115*455610afSAndroid Build Coastguard Worker-------------------- 116*455610afSAndroid Build Coastguard Worker< public int getLength(); 117*455610afSAndroid Build Coastguard Worker> public java.lang.String getMessage(int); 118*455610afSAndroid Build Coastguard Worker> public int getThrowableCount(); 119*455610afSAndroid Build Coastguard Worker< public java.lang.String getMessage(int); 120*455610afSAndroid Build Coastguard Worker< public int indexOfThrowable(int, java.lang.Class); 121*455610afSAndroid Build Coastguard Worker--- 122*455610afSAndroid Build Coastguard Worker> public int indexOfThrowable(java.lang.Class, int); 123*455610afSAndroid Build Coastguard Worker 124*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.exception.NestableRuntimeException 125*455610afSAndroid Build Coastguard Worker-------------------- 126*455610afSAndroid Build Coastguard Worker< public int getLength(); 127*455610afSAndroid Build Coastguard Worker> public java.lang.String getMessage(int); 128*455610afSAndroid Build Coastguard Worker> public int getThrowableCount(); 129*455610afSAndroid Build Coastguard Worker< public java.lang.String getMessage(int); 130*455610afSAndroid Build Coastguard Worker< public int indexOfThrowable(int, java.lang.Class); 131*455610afSAndroid Build Coastguard Worker--- 132*455610afSAndroid Build Coastguard Worker> public int indexOfThrowable(java.lang.Class, int); 133*455610afSAndroid Build Coastguard Worker 134*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.NumberUtils 135*455610afSAndroid Build Coastguard Worker-------------------- 136*455610afSAndroid Build Coastguard Worker> public static long minimum(long, long, long); 137*455610afSAndroid Build Coastguard Worker> public static long maximum(long, long, long); 138*455610afSAndroid Build Coastguard Worker> public static int compare(double, double); 139*455610afSAndroid Build Coastguard Worker> public static int compare(float, float); 140*455610afSAndroid Build Coastguard Worker 141*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.ObjectUtils 142*455610afSAndroid Build Coastguard Worker-------------------- 143*455610afSAndroid Build Coastguard Worker> public static final org.apache.commons.lang.ObjectUtils.Null NULL; 144*455610afSAndroid Build Coastguard Worker> public org.apache.commons.lang.ObjectUtils(); 145*455610afSAndroid Build Coastguard Worker> public static java.lang.String identityToString(java.lang.Object); 146*455610afSAndroid Build Coastguard Worker> static {}; 147*455610afSAndroid Build Coastguard Worker> public static class org.apache.commons.lang.ObjectUtils. Null extends java.lang.Object implements java.io.Serializable 148*455610afSAndroid Build Coastguard Worker 149*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.RandomStringUtils 150*455610afSAndroid Build Coastguard Worker-------------------- 151*455610afSAndroid Build Coastguard Worker> public org.apache.commons.lang.RandomStringUtils(); 152*455610afSAndroid Build Coastguard Worker 153*455610afSAndroid Build Coastguard Workerorg.apache.commons.lang.StringUtils 154*455610afSAndroid Build Coastguard Worker-------------------- 155*455610afSAndroid Build Coastguard Worker> public org.apache.commons.lang.StringUtils(); 156*455610afSAndroid Build Coastguard Worker< public static java.lang.String stackTrace(java.lang.Throwable); 157*455610afSAndroid Build Coastguard Worker< public static java.lang.String convertUnicodeToNative(java.lang.String, java.lang.String) throws java.io.IOException; 158*455610afSAndroid Build Coastguard Worker< public static java.lang.String convertNativeToUnicode(java.lang.String, java.lang.String) throws java.io.IOException; 159*455610afSAndroid Build Coastguard Worker--- 160*455610afSAndroid Build Coastguard Worker> public static boolean containsOnly(java.lang.String, char[]); 161*455610afSAndroid Build Coastguard Worker 162