IFontSaver

public interface IFontSaver

Defines an interface for Font save functionality.

Methods

MethodDescription
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:

ParameterTypeDescription
streamjava.io.OutputStreamstream to save font

save(String fileName)

public abstract void save(String fileName)

Saves the Font into original format.

Parameters:

ParameterTypeDescription
fileNamejava.lang.Stringfile to save font

saveToFormat(OutputStream stream, FontSavingFormats outFormat)

public abstract void saveToFormat(OutputStream stream, FontSavingFormats outFormat)

Saves the Font into format specified.

Parameters:

ParameterTypeDescription
streamjava.io.OutputStreamstream to save font
outFormatFontSavingFormatsdesired format