[ArchiveTools] Add to factory

This commit is contained in:
Matt Nadareski
2017-11-02 10:18:01 -07:00
parent 94a4855f57
commit dc45c80b4d

View File

@@ -108,12 +108,18 @@ namespace SabreTools.Library.Tools
return new GZipArchive(); return new GZipArchive();
case OutputFormat.TorrentLRZip: case OutputFormat.TorrentLRZip:
return new LRZipArchive(); return new LRZipArchive();
case OutputFormat.TorrentLZ4:
return new LZ4Archive();
case OutputFormat.TorrentRar: case OutputFormat.TorrentRar:
return new RarArchive(); return new RarArchive();
case OutputFormat.TorrentXZ: case OutputFormat.TorrentXZ:
return new XZArchive(); return new XZArchive();
case OutputFormat.TorrentZip: case OutputFormat.TorrentZip:
return new TorrentZipArchive(); return new TorrentZipArchive();
case OutputFormat.TorrentZPAQ:
return new ZPAQArchive();
case OutputFormat.TorrentZstd:
return new ZstdArchive();
default: default:
return null; return null;
} }