com.groupdocs.viewer.results

Class Resource



  • public class Resource
    extends Object

    Represents HTML resource such as font, style, image or graphics.

    • Constructor Detail

      • Resource

        public Resource(String fileName,
                boolean nested)

        Creates new instance of Resource class.

        Parameters:
        fileName - Resource file name.
        nested - Indicates whether resource resides inside another resource, e.g. font resource that resides in CSS or SVG resource.
        Throws:
        IllegalArgumentException - Thrown when fileName is null or empty.
    • Method Detail

      • getFileName

        public final String getFileName()
      • isNested

        public final boolean isNested()
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Object
        Returns:
        A string that represents the current object.