Class CommonsCompressArchiver
- java.lang.Object
-
- io.freefair.gradle.plugins.compress.internal.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 Summary
Constructors Modifier Constructor Description protected
CommonsCompressArchiver(java.io.File file)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.io.File
getBackingFile()
java.lang.String
getBaseName()
java.lang.String
getDisplayName()
protected abstract java.lang.String
getSchemePrefix()
java.net.URI
getURI()
CompressorInputStream
read()
protected abstract CompressorInputStream
read(java.io.InputStream in)
-
-
-
Method Detail
-
getBackingFile
public java.io.File getBackingFile()
- Specified by:
getBackingFile
in interfaceorg.gradle.api.resources.internal.ReadableResourceInternal
-
read
public CompressorInputStream read() throws ResourceException
- Specified by:
read
in interfaceReadableResource
- Throws:
ResourceException
-
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 interfaceResource
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfaceDescribable
- Specified by:
getDisplayName
in interfaceResource
- Specified by:
getDisplayName
in interfaceorg.gradle.internal.resource.Resource
-
getSchemePrefix
protected abstract java.lang.String getSchemePrefix()
-
-