sqldev/src/main/java/com/salvis/plscope/sqldev/PlscopeResources.java
<filename>sqldev/src/main/java/com/salvis/plscope/sqldev/PlscopeResources.java<gh_stars>0package com.salvis.plscope.sqldev;

import java.awt.Image;

import javax.swing.Icon;

import oracle.dbtools.raptor.utils.MessagesBase;

public class PlscopeResources extends MessagesBase {
	
	private static final ClassLoader CLASS_LOADER = PlscopeResources.class.getClassLoader();
	private static final String CLASS_NAME = PlscopeResources.class.getCanonicalName();
	private static final PlscopeResources INSTANCE = new PlscopeResources();	
    
    private PlscopeResources() {
    	super(CLASS_NAME, CLASS_LOADER);
    }

    public static String getString( String key ) {
        return INSTANCE.getStringImpl(key);
    }
    
    public static String get( String key ) {
        return getString(key);
    }
    
    public static Image getImage( String key ) {
        return INSTANCE.getImageImpl(key);
    }
    
    public static String format(String key, Object ... arguments) {
        return INSTANCE.formatImpl(key, arguments);
    }

    public static Icon getIcon(String key) {
        return INSTANCE.getIconImpl(key);
    }
    
    public static Integer getInteger(String key) {
        return INSTANCE.getIntegerImpl(key);
    }

}
