Java tutorial
//package com.java2s; /* * Copyright 2007-2012 The Europeana Foundation * * Licenced under the EUPL, Version 1.1 (the "Licence") and subsequent versions as approved * by the European Commission; * You may not use this work except in compliance with the Licence. * * You may obtain a copy of the Licence at: * http://joinup.ec.europa.eu/software/page/eupl * * Unless required by applicable law or agreed to in writing, software distributed under * the Licence is distributed on an "AS IS" basis, without warranties or conditions of * any kind, either express or implied. * See the Licence for the specific language governing permissions and limitations under * the Licence. */ public class Main { /** * Generates a Repox Table Name from the collection identifier * * @param menmonic * @return the Repox tablename */ public static String generateRepoxTableName(String menmonic) { StringBuilder sb = new StringBuilder(); sb.append("repox_"); sb.append(menmonic); sb.append("_record"); return sb.toString(); } }