@@ -0,0 +1,1116 @@
+/**%0A * Copyright %C2%A9 2011-2012 EMBL - European Bioinformatics Institute%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22); %0A * you may not use this file except in compliance with the License.  %0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage uk.ac.ebi.generic.util;%0A%0Apublic class Tools %7B%0A%09// check a string contains only numbers%0A%09public static boolean isNumeric(String input) %7B%0A%09%09try %7B%0A%09%09%09Integer.parseInt(input);%0A%09%09%09return true;%0A%09%09%7D%0A%09%09catch (NumberFormatException e) %7B%0A%09%09%09// string is not numeric%0A%09%09%09return false;%0A%09%09%7D%0A%09%7D %0A%09public static String superscriptify(String input) %7B%0A%09%09return input.replace(%22%3C%22, %22%3Csup%22)%0A%09%09%09%09.replace(%22%3E%22, %22/sup%3E%22)%0A%09%09%09%09.replace(%22%3Csup%22, %22%3Csup%3E%22)%0A%09%09%09%09.replace(%22/sup%3E%22, %22%3C/sup%3E%22);%09%09%0A%09%7D%0A%09%0A%09%0A%7D%0A

Change the licence information dataTable modification code