com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class ResourceSavingArgs

  • Direct Known Subclasses:
    CssSavingArgs, FontSavingArgs, ImageSavingArgs


    public class ResourceSavingArgs
    extends Object

    This class represents set of data that related to external resource file's saving that occurs during conversion to HTML format.

    • Constructor Detail

      • ResourceSavingArgs

        public ResourceSavingArgs()
    • Method Detail

      • closeStreamIfRequired

        public final void closeStreamIfRequired()

        Close stream if KeepStreamOpen is false, else flush it.

      • getFileName

        public final String getFileName()

        Gets the supposed file name that goes from converter to code of custom method. Can be use in custom code to decide how to process or where save that file.

        Returns:
        the supposed file name that goes from converter to code of custom method.
      • setFileName

        public final void setFileName(String value)

        Sets the supposed file name that goes from converter to code of custom method. Can be use in custom code to decide how to process or where save that file.

        Parameters:
        value - the supposed file name that goes from converter to code of custom method.
      • getKeepStreamOpen

        public final boolean getKeepStreamOpen()

        Gets a value indicating whether the stream will be kept open after resource saving finishes.

        Returns:
        a value indicating whether the stream will be kept open after resource saving finishes.
      • setKeepStreamOpen

        public final void setKeepStreamOpen(boolean value)

        Sets a value indicating whether the stream will be kept open after resource saving finishes.

        Parameters:
        value - a value indicating whether the stream will be kept open after resource saving finishes.
      • getStream

        public final OutputStream getStream()

        Gets the binary content of saved file.

        Returns:
        the binary content of saved file.
      • setStream

        public final void setStream(OutputStream value)

        Sets the binary content of saved file.

        Parameters:
        value - the binary content of saved file.
      • getUri

        public final String getUri()

        Gets the resource URI.

        Returns:
        the resource URI.
      • setUri

        public final void setUri(String value)

        Sets the resource URI.

        Parameters:
        value - the resource URI.