com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class StreamSource

    • Constructor Detail

      • StreamSource

        public StreamSource()

        Initializes stream source instance.

    • Method Detail

      • getFontStream

        public abstract InputStream getFontStream()

        Returns Font stream.

        Returns:
        Font stream.
      • mustCloseAfterUse

        public boolean mustCloseAfterUse()

        The inheritors may prevent stream from closing. Returns true if the stream source wants the stream to be closed after use. Otherwise returns false.

        Returns:
        True if the stream source wants the stream to be closed after use, otherwise false.
      • getOffset

        public long getOffset()

        Gets offset inside the source.

        Returns:
        Offset inside the source.
      • setOffset

        public void setOffset(long value)

        Sets offset inside the source.

        Parameters:
        value - Offset inside the source.
      • deepClone

        public abstract Object deepClone()

        Clones the stream source object.

        Returns:
        Copy of the stream source object.