Class PlexusIoResourceAttributeUtils
- java.lang.Object
-
- org.codehaus.plexus.components.io.attributes.PlexusIoResourceAttributeUtils
-
public final class PlexusIoResourceAttributeUtils extends Object
-
-
Method Summary
-
-
-
Method Detail
-
mergeAttributes
public static PlexusIoResourceAttributes mergeAttributes(PlexusIoResourceAttributes override, PlexusIoResourceAttributes base, PlexusIoResourceAttributes def)
-
isGroupExecutableInOctal
public static boolean isGroupExecutableInOctal(int mode)
-
isGroupReadableInOctal
public static boolean isGroupReadableInOctal(int mode)
-
isGroupWritableInOctal
public static boolean isGroupWritableInOctal(int mode)
-
isOwnerExecutableInOctal
public static boolean isOwnerExecutableInOctal(int mode)
-
isOwnerReadableInOctal
public static boolean isOwnerReadableInOctal(int mode)
-
isOwnerWritableInOctal
public static boolean isOwnerWritableInOctal(int mode)
-
isWorldExecutableInOctal
public static boolean isWorldExecutableInOctal(int mode)
-
isWorldReadableInOctal
public static boolean isWorldReadableInOctal(int mode)
-
isWorldWritableInOctal
public static boolean isWorldWritableInOctal(int mode)
-
isOctalModeEnabled
public static boolean isOctalModeEnabled(int mode, int targetMode)
-
getFileAttributes
public static PlexusIoResourceAttributes getFileAttributes(File file) throws IOException
- Throws:
IOException
-
getFileAttributes
public static PlexusIoResourceAttributes getFileAttributes(File file, boolean followLinks) throws IOException
- Throws:
IOException
-
getFileAttributesByPath
public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(File dir) throws IOException
- Throws:
IOException
-
getFileAttributesByPath
@Nonnull public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(@Nonnull File dir, boolean recursive) throws IOException
- Throws:
IOException
-
getFileAttributesByPath
@Nonnull public static Map<String,PlexusIoResourceAttributes> getFileAttributesByPath(@Nonnull File dir, boolean recursive, boolean followLinks) throws IOException
- Throws:
IOException
-
-