Class CoffeePickArchiveEntries
- java.lang.Object
-
- com.io7m.coffeepick.client.vanilla.internal.CoffeePickArchiveEntries
-
public final class CoffeePickArchiveEntries extends java.lang.ObjectFunctions 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.OptionalLongposixModeFor(org.apache.commons.compress.archivers.ArchiveEntry entry)Try to extract POSIX mode information from the given entry.
-
-
-
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
-
-