public final class PlexusIoResourceAttributeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static PlexusIoResourceAttributes |
getFileAttributes(File file) |
static Map<String,PlexusIoResourceAttributes> |
getFileAttributesByPath(File dir) |
static Map<String,PlexusIoResourceAttributes> |
getFileAttributesByPath(File dir,
boolean recursive) |
static boolean |
isGroupExecutableInOctal(int mode) |
static boolean |
isGroupReadableInOctal(int mode) |
static boolean |
isGroupWritableInOctal(int mode) |
static boolean |
isOctalModeEnabled(int mode,
int targetMode) |
static boolean |
isOwnerExecutableInOctal(int mode) |
static boolean |
isOwnerReadableInOctal(int mode) |
static boolean |
isOwnerWritableInOctal(int mode) |
static boolean |
isWorldExecutableInOctal(int mode) |
static boolean |
isWorldReadableInOctal(int mode) |
static boolean |
isWorldWritableInOctal(int mode) |
static PlexusIoResourceAttributes |
mergeAttributes(PlexusIoResourceAttributes override,
PlexusIoResourceAttributes base,
PlexusIoResourceAttributes def) |
public static PlexusIoResourceAttributes mergeAttributes(PlexusIoResourceAttributes override, PlexusIoResourceAttributes base, PlexusIoResourceAttributes def)
public static boolean isGroupExecutableInOctal(int mode)
public static boolean isGroupReadableInOctal(int mode)
public static boolean isGroupWritableInOctal(int mode)
public static boolean isOwnerExecutableInOctal(int mode)
public static boolean isOwnerReadableInOctal(int mode)
public static boolean isOwnerWritableInOctal(int mode)
public static boolean isWorldExecutableInOctal(int mode)
public static boolean isWorldReadableInOctal(int mode)
public static boolean isWorldWritableInOctal(int mode)
public static boolean isOctalModeEnabled(int mode, int targetMode)
public static PlexusIoResourceAttributes getFileAttributes(File file) throws IOException
IOException
public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(File dir) throws IOException
IOException
@Nonnull public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(@Nonnull File dir, boolean recursive) throws IOException
IOException
Copyright © 2001–2017 Codehaus Plexus. All rights reserved.