public abstract class FontProvider extends Object
Constructor and Description |
---|
FontProvider() |
Modifier and Type | Method and Description |
---|---|
abstract String |
addFont(File file)
Adds a font to the list of available fonts.
|
abstract String |
addFont(File file,
String alias)
Adds a font to the list of available fonts.
|
abstract String |
addFont(InputStream inputStream,
String tempName,
FontType type)
Adds a font to the list of available fonts.
|
abstract List<? extends FontInfo> |
getFontInfo()
Returns a list of information about fonts on the system.
|
abstract String |
toDebugString()
Returns a string containing debugging information.
|
public abstract String addFont(File file)
file
- the font filepublic abstract String addFont(File file, String alias)
file
- the font filealias
- the font aliaspublic abstract String addFont(InputStream inputStream, String tempName, FontType type)
inputStream
- the font file input streamtempName
- the font temp nametype
- the font typepublic abstract String toDebugString()
Copyright © 2024. All rights reserved.