public final class PlexusIoResourceAttributeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static PlexusIoResourceAttributes |
getFileAttributes(File file) |
static PlexusIoResourceAttributes |
getFileAttributes(File file,
org.codehaus.plexus.logging.Logger logger) |
static PlexusIoResourceAttributes |
getFileAttributes(File file,
org.codehaus.plexus.logging.Logger logger,
int logLevel) |
static Map<String,PlexusIoResourceAttributes> |
getFileAttributesByPath(File dir) |
static Map<String,PlexusIoResourceAttributes> |
getFileAttributesByPath(File dir,
org.codehaus.plexus.logging.Logger logger) |
static Map<String,PlexusIoResourceAttributes> |
getFileAttributesByPath(File dir,
org.codehaus.plexus.logging.Logger logger,
int logLevel) |
static Map<String,PlexusIoResourceAttributes> |
getFileAttributesByPath(File dir,
org.codehaus.plexus.logging.Logger logger,
int logLevel,
boolean recursive,
boolean includeNumericUserId) |
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 PlexusIoResourceAttributes getFileAttributes(File file, org.codehaus.plexus.logging.Logger logger) throws IOException
IOException
public static PlexusIoResourceAttributes getFileAttributes(File file, org.codehaus.plexus.logging.Logger logger, int logLevel) throws IOException
IOException
public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(File dir) throws IOException
IOException
public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(File dir, org.codehaus.plexus.logging.Logger logger) throws IOException
IOException
public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(File dir, org.codehaus.plexus.logging.Logger logger, int logLevel) throws IOException
IOException
public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(File dir, org.codehaus.plexus.logging.Logger logger, int logLevel, boolean recursive, boolean includeNumericUserId) throws IOException
IOException
Copyright © 2001-2014 Codehaus. All Rights Reserved.