Class CommonsCompressArchiver

  • All Implemented Interfaces:
    Describable, org.gradle.api.internal.file.archive.compression.CompressedReadableResource, org.gradle.api.resources.internal.ReadableResourceInternal, ReadableResource, Resource, org.gradle.internal.resource.Resource
    Direct Known Subclasses:
    LzmaArchiver, XzArchiver

    public abstract class CommonsCompressArchiver
    extends java.lang.Object
    implements org.gradle.api.internal.file.archive.compression.CompressedReadableResource
    See Also:
    AbstractArchiver
    • Constructor Detail

      • CommonsCompressArchiver

        protected CommonsCompressArchiver​(java.io.File file)
    • Method Detail

      • getBackingFile

        public java.io.File getBackingFile()
        Specified by:
        getBackingFile in interface org.gradle.api.resources.internal.ReadableResourceInternal
      • read

        protected abstract CompressorInputStream read​(java.io.InputStream in)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getBaseName

        public java.lang.String getBaseName()
        Specified by:
        getBaseName in interface Resource
      • getDisplayName

        public java.lang.String getDisplayName()
        Specified by:
        getDisplayName in interface Describable
        Specified by:
        getDisplayName in interface Resource
        Specified by:
        getDisplayName in interface org.gradle.internal.resource.Resource
      • getURI

        public java.net.URI getURI()
        Specified by:
        getURI in interface Resource
      • getSchemePrefix

        protected abstract java.lang.String getSchemePrefix()