コード例 #1
0
        public GZipArchiver(ArchiverSettings settings)
        {
            _settings = settings;

            if (settings.Mode == ArchiverMode.Decompress)
            {
                _factory = new DecompressFactory(settings);
            }
            else
            {
                _factory = new CompressFactory(settings);
            }
        }
コード例 #2
0
 public CompressFactory(ArchiverSettings settings)
 {
     _settings = settings;
 }