Fan.Sys.Zip.Zip C# (CSharp) Méthode

Zip() private méthode

private Zip ( File f ) : System.Collections
f File
Résultat System.Collections
        private Zip(File f)
        {
            try
              {
            // only support local files
            if (!(f is LocalFile))
              throw IOErr.make("Only local files supported: " + f).val;

            // open the file
            this.m_file = (LocalFile)f;
            this.m_zipFile = new ZipFile(m_file.m_file.FullName);
              }
              catch (System.Exception e)
              {
            // NOTE: use ctor instead of make() to force type == IOErr
            throw new IOErr(e).val;
              }
        }

Same methods

Zip::Zip ( InStream ins ) : System.Collections
Zip::Zip ( OutStream outs ) : System.Collections