27 lines
572 B
Plaintext
Executable File
27 lines
572 B
Plaintext
Executable File
package com.fp.webservices.snap.recursos;
|
|
|
|
import java.util.ResourceBundle;
|
|
|
|
/**
|
|
* Clase utilitaria que maneja el archivo de propiedades del usuario
|
|
* @author dcruz
|
|
*
|
|
*/
|
|
public class MsgSnap {
|
|
|
|
private static final String RESOURCES = "com.fp.webservices.snap.recursos.snap";
|
|
private static ResourceBundle properties = null;
|
|
|
|
static{
|
|
properties = ResourceBundle.getBundle(RESOURCES);
|
|
}
|
|
|
|
public static String getString(String key) {
|
|
return properties.getString(key);
|
|
}
|
|
|
|
public static String getObject(String key) {
|
|
return properties.getString(key);
|
|
}
|
|
}
|