Class ArchiverFactoryImpl
- java.lang.Object
-
- org.siouan.frontendgradleplugin.core.archivers.ArchiverFactoryImpl
-
- All Implemented Interfaces:
ArchiverFactory
public class ArchiverFactoryImpl extends java.lang.Object implements ArchiverFactory
Factory that builds/provides archivers using an internal map based on filename extensions.- Since:
- 1.1.3
-
-
Constructor Summary
Constructors Constructor Description ArchiverFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Archiver>get(java.lang.String extension)Gets an archiver capable to process the given file extension.
-
-
-
Method Detail
-
get
public java.util.Optional<Archiver> get(java.lang.String extension)
Description copied from interface:ArchiverFactoryGets an archiver capable to process the given file extension.- Specified by:
getin interfaceArchiverFactory- Parameters:
extension- File extension.- Returns:
- Archiver, or
nullif this type of archive is not supported.
-
-