// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France // // ============================================================================ package org.talend.dataprofiler.core.ui.imex; import java.util.MissingResourceException; import java.util.ResourceBundle; /** * DOC sgandon class global comment. Detailled comment * <br/> * * $Id: talend.epf 1 2006-09-29 17:06:40Z nrousseau $ * */ public final class Messages { private static final String BUNDLE_NAME = "org.talend.dataprofiler.core.ui.imex.messages"; //$NON-NLS-1$ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME); private Messages() { } public static String getString(String key) { try { return RESOURCE_BUNDLE.getString(key); } catch (MissingResourceException e) { return '!' + key + '!';//$NON-NLS-1$ //$NON-NLS-2$ } } }