1 23 24 28 29 package com.sun.enterprise.util; 30 31 import java.util.ResourceBundle ; 32 import java.text.MessageFormat ; 33 34 64 public class LocalStrings 65 { 66 private LocalStrings() 67 { 68 } 69 70 75 76 public static String get(String indexString) 77 { 78 return new LocalStringsImpl().get(indexString); 79 } 80 81 88 public static String get(String indexString, Object ... objects) 89 { 90 return new LocalStringsImpl().get(indexString, objects); 91 } 92 93 98 public String getString(String indexString, String defaultValue) 99 { 100 return new LocalStringsImpl().get(indexString, defaultValue); 101 } 102 103 109 110 public static int getInt(String indexString, int defaultValue) 111 { 112 return new LocalStringsImpl().getInt(indexString, defaultValue); 113 } 114 115 121 public boolean getBoolean(String indexString, boolean defaultValue) 122 { 123 return new LocalStringsImpl().getBoolean(indexString, defaultValue); 124 } 125 } 126 | Popular Tags |