# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods

- Deprecated Fields
  Field and Description
  org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.EFS_FLAG use `GeneralPurposeBit.UFT8_NAMES_FLAG` instead

- Deprecated Methods
  Method and Description
  org.apache.commons.compress.archivers.jar.JarArchiveEntry.getCertificates() since 1.5, not currently implemented
  org.apache.commons.compress.compressors.CompressorInputStream.getCount() this method may yield wrong results for large archives, use #getBytesRead instead
  org.apache.commons.compress.archivers.ArchiveOutputStream.getCount() this method may yield wrong results for large archives, use #getBytesWritten instead
  org.apache.commons.compress.archivers.ArchiveInputStream.getCount() this method may yield wrong results for large archives, use #getBytesRead instead
  org.apache.commons.compress.archivers.dump.DumpArchiveInputStream.getCount()
  org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.getCount()
  org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry.getCrc() use getCrcValue instead.
  org.apache.commons.compress.archivers.tar.TarArchiveEntry.getGroupId() use #getLongGroupId instead as group ids can be bigger than `Integer.MAX_VALUE`
  org.apache.commons.compress.archivers.jar.JarArchiveEntry.getManifestAttributes() since 1.5, do not use; always returns null
  org.apache.commons.compress.archivers.tar.TarArchiveEntry.getUserId() use #getLongUserId instead as user ids can be bigger than `Integer.MAX_VALUE`
  org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry.setCrc(int) use setCrcValue instead.
  org.apache.commons.compress.compressors.CompressorStreamFactory.setDecompressConcatenated(boolean) 1.10 use the `CompressorStreamFactory.CompressorStreamFactory(boolean)` constructor instead
  org.apache.commons.compress.archivers.ArchiveStreamFactory.setEntryEncoding(String) 1.10 use `ArchiveStreamFactory.ArchiveStreamFactory(String)` to specify the encoding

Copyright © 2016 The Apache Software Foundation. All rights reserved.