-
Deprecated ClassesClassDescriptionUse
XXHash32.UseBoundedInputStream.UnusedUseStandardCharsets.UseCharsets.UseCheckedInputStream.UseChecksumInputStream.UseCountingInputStream.UseCountingOutputStream.UseChecksumInputStream.No longer needed.No longer used.
-
Deprecated FieldsFieldDescriptionUnused.use
GeneralPurposeBit.UFT8_NAMES_FLAGinsteadreplaced byStandardCharsetsin Java 7replaced byStandardCharsetsin Java 7replaced byStandardCharsetsin Java 7replaced byStandardCharsetsin Java 7replaced byStandardCharsetsin Java 7replaced byStandardCharsetsin Java 7
-
Deprecated MethodsMethodDescriptionthis method may yield wrong results for large archives, use
ArchiveInputStream.getBytesRead()instead.this method may yield wrong results for large archives, use #getBytesWritten instead1.10 useArchiveStreamFactory(String)to specify the encodingThis method doesn't properly work for multi-byte encodings. And creates corrupt archives. UseCpioArchiveEntry.getHeaderPadCount(Charset)orCpioArchiveEntry.getHeaderPadCount(long)in any case.this method leaks resourcesthis method leaks resourcesthis method leaks resourcesthis method leaks resourcesthis method leaks resourcessince 1.5, not currently implementedsince 1.5, do not use; always returns nulluse getCrcValue instead.UseFileTimes.toNtfsTime(Date)instead.UseFileTimes.ntfsTimeToDate(long)instead.use setCrcValue instead.use #getLongGroupId instead as group ids can be bigger thanInteger.MAX_VALUEuse #getLongUserId instead as user ids can be bigger thanInteger.MAX_VALUEuse #parseFromPAX01SparseHeaders insteaduse the four-arg version insteadUseZipArchiveInputStream.setExtraFieldSupport(java.util.function.Function<org.apache.commons.compress.archivers.zip.ZipShort, org.apache.commons.compress.archivers.zip.ZipExtraField>)instead to not leak instances between archives and applications.this method may yield wrong results for large archives, use #getBytesRead instead1.10 use theCompressorStreamFactory(boolean)constructor insteadUnusedUnusedNo longer used, no replacement.No longer used.
-
Deprecated ConstructorsConstructorDescriptionNo replacement.recordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is usedrecordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is used.No longer used.
SevenZFile.Builder.