com.groupdocs.editor.htmlcss.resources

Interface IHtmlResource

    • Method Detail

      • getByteContent

        InputStream getByteContent()

        Content of the HTML resource in a form of a byte stream

      • getFilenameWithExtension

        String getFilenameWithExtension()

        Correct filename of the specified resource with appropriate file extension

        Returns:
      • getName

        String getName()

        Name of the HTML resource

        Returns:
      • getTextContent

        String getTextContent()

        Content of the HTML resource in a form of a base64-encoded text string for binary resources or a simple text for textual resources

      • getType

        IResourceType getType()

        Type of the HTML resource

        Returns:
      • save

        void save(String fullPathToFile)

        Saves a current resource to the specified file

        Parameters:
        fullPathToFile - Full path to the file, which will be created or rewritten with the content of a current resource