Class CompressedResource

    • Constructor Detail

      • CompressedResource

        protected CompressedResource()
        no arg constructor
      • CompressedResource

        protected CompressedResource​(ResourceCollection other)
        Constructor with another resource to wrap.
        Parameters:
        other - the resource to wrap.
    • Method Detail

      • toString

        public java.lang.String toString()
        Get the string representation of this Resource.
        Overrides:
        toString in class Resource
        Returns:
        this Resource formatted as a String.
        Since:
        Ant 1.7
      • getCompressionName

        protected abstract java.lang.String getCompressionName()
        Get the name of the compression method used.
        Returns:
        the name of the compression method.