/** * Return the localized string matching the given key. The given * <code>subs</code> objects will be substituted * into the found string according to the rules of the * {@link MessageFormat} class. * * @see #get(String) */ public Message get(String key, Object[] subs) { return new Message(_pkg, getBundle(), key, subs, false); }
public PropertyLine readPropertyLine() throws IOException { String l = readLine(); if (l == null) return null; PropertyLine pl = new PropertyLine(l); return pl; } }
private static String getMessage(int iv) { switch (iv) { case IV_DUPLICATE_OID: return _loc.get("dup-oid").getMessage(); case IV_UNIQUE: return _loc.get("unique").getMessage(); default: return _loc.get("ref-integrity").getMessage(); } }
private static String getMessage(int iv) { switch (iv) { case IV_DUPLICATE_OID: return _loc.get("dup-oid").getMessage(); case IV_UNIQUE: return _loc.get("unique").getMessage(); default: return _loc.get("ref-integrity").getMessage(); } }
/** * Return the localized string matching the given key. The given * <code>subs</code> objects will be substituted * into the found string according to the rules of the * {@link MessageFormat} class. * * @see #getFatal(String) */ public Message getFatal(String key, Object[] subs) { return new Message(_pkg, getBundle(), key, subs, true); }
public PropertyLine readPropertyLine() throws IOException { String l = readLine(); if (l == null) return null; PropertyLine pl = new PropertyLine(l); return pl; } }
public DuplicateKeyException(String key, Object firstVal, String secondVal) { super(_loc.get("dup-key", key, firstVal, secondVal).getMessage()); } }
/** * Return the localized string matching the given key. The given * <code>subs</code> objects will be substituted * into the found string according to the rules of the * {@link MessageFormat} class. * * @see #get(String) */ public Message get(String key, Object[] subs) { return new Message(_pkg, getBundle(), key, subs, false); }
public PropertyLine readPropertyLine() throws IOException { String l = readLine(); if (l == null) return null; PropertyLine pl = new PropertyLine(l); return pl; } }
private static String getMessage(int iv) { switch (iv) { case IV_DUPLICATE_OID: return _loc.get("dup-oid").getMessage(); case IV_UNIQUE: return _loc.get("unique").getMessage(); default: return _loc.get("ref-integrity").getMessage(); } }
/** * Return the localized string matching the given key. The given * <code>subs</code> objects will be substituted * into the found string according to the rules of the * {@link MessageFormat} class. * * @see #get(String) */ public Message get(String key, Object[] subs) { return new Message(_pkg, getBundle(), key, subs, false); }
public PropertyLine readPropertyLine() throws IOException { String l = readLine(); if (l == null) return null; PropertyLine pl = new PropertyLine(l); return pl; } }
public DuplicateKeyException(String key, Object firstVal, String secondVal) { super(_loc.get("dup-key", key, firstVal, secondVal).getMessage()); } }
/** * Return the localized string matching the given key. The given * <code>subs</code> objects will be substituted * into the found string according to the rules of the * {@link MessageFormat} class. * * @see #getFatal(String) */ public Message getFatal(String key, Object[] subs) { return new Message(_pkg, getBundle(), key, subs, true); }
/** * Return the localized string matching the given key. The given * <code>subs</code> objects will be substituted * into the found string according to the rules of the * {@link MessageFormat} class. * * @see #getFatal(String) */ public Message getFatal(String key, Object[] subs) { return new Message(_pkg, getBundle(), key, subs, true); }
/** * Return the localized string matching the given key. The given * <code>subs</code> objects will be substituted * into the found string according to the rules of the * {@link MessageFormat} class. * * @see #get(String) */ public Message get(String key, Object[] subs) { return new Message(_pkg, getBundle(), key, subs, false); }