com.levigo.util.swing.messaging
Interface MessageResource

All Known Implementing Classes:
DefaultMessageResource

public interface MessageResource

The interface for all Message resources. The class that is interested in returning formatted String resources implements that interface.

Author:
Carolin Koehler

Method Summary
 Enumeration getKeys()
          Returns all keys that were found in this resource.
 String getString(String key, Object[] parameters)
          Gets the String value for the specified key.
 

Method Detail

getString

String getString(String key,
                 Object[] parameters)
Gets the String value for the specified key.

Parameters:
key - identifies the value
parameters - to fill in possible placeholders
Returns:
if it was found, the value of the key, formatted, filled up with given placeholders, "" otherwise

getKeys

Enumeration getKeys()
Returns all keys that were found in this resource.

Returns:
keys that were found in this resource


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.