mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Don't use FileUtils.getBriarDirectory() in tests.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user