Class CoffeePickArchiveEntries


  • public final class CoffeePickArchiveEntries
    extends java.lang.Object
    Functions for dealing with archive entries.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<java.util.Set<java.nio.file.attribute.PosixFilePermission>> posixFilePermissionsFor​(org.apache.commons.compress.archivers.ArchiveEntry entry)
      Try to extract POSIX mode information from the given entry.
      static java.util.OptionalLong posixModeFor​(org.apache.commons.compress.archivers.ArchiveEntry entry)
      Try to extract POSIX mode information from the given entry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • posixFilePermissionsFor

        public static java.util.Optional<java.util.Set<java.nio.file.attribute.PosixFilePermission>> posixFilePermissionsFor​(org.apache.commons.compress.archivers.ArchiveEntry entry)
        Try to extract POSIX mode information from the given entry.
        Parameters:
        entry - The entry
        Returns:
        POSIX mode information if any is present
      • posixModeFor

        public static java.util.OptionalLong posixModeFor​(org.apache.commons.compress.archivers.ArchiveEntry entry)
        Try to extract POSIX mode information from the given entry.
        Parameters:
        entry - The entry
        Returns:
        POSIX mode information if any is present