org.codehaus.plexus.archiver.util
Class ArchiveEntryUtils
java.lang.Object
org.codehaus.plexus.archiver.util.ArchiveEntryUtils
public final class ArchiveEntryUtils
- extends Object
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jvmFilePermAvailable
public static boolean jvmFilePermAvailable
chmod
public static void chmod(File file,
int mode,
org.codehaus.plexus.logging.Logger logger,
boolean useJvmChmod)
throws ArchiverException
- Parameters:
file
- mode
- logger
- useJvmChmod
- will use jvm file permissions not available for group level
- Throws:
ArchiverException
- Since:
- 1.1
chmod
public static void chmod(File file,
int mode,
org.codehaus.plexus.logging.Logger logger)
throws ArchiverException
- jvm chmod will be used only if System property
useJvmChmod
set to true
- Parameters:
file
- mode
- logger
-
- Throws:
ArchiverException
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.