com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class FileSystemStreamSource



  • public class FileSystemStreamSource
    extends StreamSource

    Represents a stream source based on file system.

    • Constructor Detail

      • FileSystemStreamSource

        public FileSystemStreamSource(String fileName)

        Initializes new FileSystemStreamSource object.

        Parameters:
        fileName - File name.
    • Method Detail

      • getFileName

        public String getFileName()

        Gets file name.

        Returns:
        File name.
      • setFileName

        public void setFileName(String value)

        Sets file name.

        Parameters:
        value - File name.
      • getFontStream

        public InputStream getFontStream()

        Returns Font file stream. Don't forget to close the stream after use.

        Specified by:
        getFontStream in class StreamSource
        Returns:
        Font file stream.
      • deepClone

        public Object deepClone()

        Clones the FileSystemStreamSource object.

        Specified by:
        deepClone in class StreamSource
        Returns:
        Copy of FileSystemStreamSource object.