Don't use FileUtils.getBriarDirectory() in tests.

This commit is contained in:
akwizgran
2011-07-14 20:42:41 +01:00
parent 065b6e496f
commit 62d69b6fb5
7 changed files with 35 additions and 26 deletions

View File

@@ -1,12 +1,16 @@
package net.sf.briar.api.i18n;
import java.awt.Font;
import java.io.File;
import java.util.Locale;
public interface FontManager {
/** Initializes the FontManager for the given locale. */
void initialize(Locale locale);
/**
* Initializes the FontManager for the given locale. Fonts are loaded from
* the given directory if they cannot be loaded from the running jar.
*/
void initialize(Locale locale, File dir);
/** Returns the appropriate font for the given language. */
Font getFontForLanguage(String language);