public final class ArchiveEntryUtils extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
jvmFilePermAvailable |
Modifier and Type | Method and Description |
---|---|
static void |
chmod(File file,
int mode,
org.codehaus.plexus.logging.Logger logger)
jvm chmod will be used only if System property
useJvmChmod set to true |
static void |
chmod(File file,
int mode,
org.codehaus.plexus.logging.Logger logger,
boolean useJvmChmod) |
public static void chmod(File file, int mode, org.codehaus.plexus.logging.Logger logger, boolean useJvmChmod) throws ArchiverException
file
- mode
- logger
- useJvmChmod
- will use jvm file permissions not available for group levelArchiverException
public static void chmod(File file, int mode, org.codehaus.plexus.logging.Logger logger) throws ArchiverException
useJvmChmod
set to truefile
- mode
- logger
- ArchiverException
Copyright © 2001-2016 Codehaus. All Rights Reserved.