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 Object implements org.gradle.api.internal.file.archive.compression.CompressedReadableResource
- See Also:
 AbstractArchiver
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedCommonsCompressArchiver(File file) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FilegetBackingFile()StringgetBaseName()StringgetDisplayName()protected abstract StringgetSchemePrefix()URIgetURI()CompressorInputStreamread()protected abstract CompressorInputStreamread(InputStream in) 
 - 
 
- 
- 
Constructor Detail
- 
CommonsCompressArchiver
protected CommonsCompressArchiver(File file)
 
 - 
 
- 
Method Detail
- 
getBackingFile
public File getBackingFile()
- Specified by:
 getBackingFilein interfaceorg.gradle.api.resources.internal.ReadableResourceInternal
 
- 
read
public CompressorInputStream read() throws ResourceException
- Specified by:
 readin interfaceReadableResource- Throws:
 ResourceException
 
- 
read
protected abstract CompressorInputStream read(InputStream in) throws IOException
- Throws:
 IOException
 
- 
getBaseName
public String getBaseName()
- Specified by:
 getBaseNamein interfaceResource
 
- 
getDisplayName
public String getDisplayName()
- Specified by:
 getDisplayNamein interfaceDescribable- Specified by:
 getDisplayNamein interfaceResource- Specified by:
 getDisplayNamein interfaceorg.gradle.internal.resource.Resource
 
- 
getSchemePrefix
protected abstract String getSchemePrefix()
 
 - 
 
 -