org.foray.render.awt.viewer
Interface Translator

All Known Implementing Classes:
SecureResourceBundle

public interface Translator

Interface for classes that can translate words from one natural language to another, for purposes of creating a multi-lingual user interface.


Method Summary
 boolean contains(String key)
          Indicates whether a given key exists.
 String getString(String key)
          Returns the value for a given key.
 

Method Detail

getString

String getString(String key)
Returns the value for a given key.

Parameters:
key - The key which is sought.
Returns:
The value for key.

contains

boolean contains(String key)
Indicates whether a given key exists.

Parameters:
key - The key which is sought.
Returns:
True iff this key exists.


Copyright © 2017. All rights reserved.