Class AbstractResourcesDSCComment

    • Field Detail

      • RESOURCE_TYPES

        protected static final java.util.Set RESOURCE_TYPES
        Defines the known resource types (font, procset, file, pattern etc.).
    • Constructor Detail

      • AbstractResourcesDSCComment

        public AbstractResourcesDSCComment()
        Creates a new instance.
      • AbstractResourcesDSCComment

        public AbstractResourcesDSCComment​(java.util.Collection resources)
        Creates a new instance.
        Parameters:
        resources - a Collection of PSResource instances
    • Method Detail

      • hasValues

        public boolean hasValues()
        Indicates whether this DSC comment has values.
        Returns:
        true if the DSC comment has values
      • addResource

        public void addResource​(PSResource res)
        Adds a new resource.
        Parameters:
        res - the resource
      • addResources

        public void addResources​(java.util.Collection resources)
        Adds a collection of resources.
        Parameters:
        resources - a Collection of PSResource instances.
      • getResources

        public java.util.Set getResources()
        Returns the set of resources associated with this DSC comment.
        Returns:
        the set of resources
      • parseValue

        public void parseValue​(java.lang.String value)
        Parses the value of the DSC comment.
        Parameters:
        value - the value