@Test public void testClearCache() { final Font font = Font.create(FONT_PATH); Font.clearCache(); assertThat(font, is(not(Font.create(FONT_PATH)))); }
public static void clearCache() { cache.clear(); }
Font { public static void clearCache() { cache.clear(); } }
Font { public static void clearCache() { cache.clear(); } Font(@NonNull final String filePath); }
Font { public static void clearCache() { cache.clear(); } Font(@NonNull final String filePath); static void setLogLevel(final int level); static void setBasePath(@Nullable final String basePath); @Nullable static Font create(
			@NonNull final Context context,
			@Nullable final AttributeSet attrs,
			@AttrRes final int defStyleAttr,
			@StyleRes final int defStyleRes
	); @Nullable static Font create(@NonNull final Context context, @StyleRes final int style); @NonNull static Font create(@NonNull final String filePath); static void clearCache(); @NonNull String getFilePath(); @NonNull Typeface getTypeface(@NonNull final Context context); }
Font { public static void clearCache() { cache.clear(); } Font(@NonNull final String filePath); static void setLogLevel(final int level); static void setBasePath(@Nullable final String basePath); @Nullable static Font create(
			@NonNull final Context context,
			@Nullable final AttributeSet attrs,
			@AttrRes final int defStyleAttr,
			@StyleRes final int defStyleRes
	); @Nullable static Font create(@NonNull final Context context, @StyleRes final int style); @NonNull static Font create(@NonNull final String filePath); static void clearCache(); @NonNull String getFilePath(); @NonNull Typeface getTypeface(@NonNull final Context context); static final String TTF_SUFFIX; static final String FONT_DIR; }