IFontSaver
public interface IFontSaver
Defines an interface for Font save functionality.
Methods
Method | Description |
---|---|
save(OutputStream stream) | Saves the Font into original format. |
save(String fileName) | Saves the Font into original format. |
saveToFormat(OutputStream stream, FontSavingFormats outFormat) | Saves the Font into format specified. |
save(OutputStream stream)
public abstract void save(OutputStream stream)
Saves the Font into original format.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.OutputStream | stream to save font |
save(String fileName)
public abstract void save(String fileName)
Saves the Font into original format.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | file to save font |
saveToFormat(OutputStream stream, FontSavingFormats outFormat)
public abstract void saveToFormat(OutputStream stream, FontSavingFormats outFormat)
Saves the Font into format specified.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.OutputStream | stream to save font |
outFormat | FontSavingFormats | desired format |