org.codehaus.plexus.archiver.util
Class ArchiveEntryUtils

java.lang.Object
  extended by org.codehaus.plexus.archiver.util.ArchiveEntryUtils

public final class ArchiveEntryUtils
extends java.lang.Object


Field Summary
static boolean jvmFilePermAvailable
           
 
Method Summary
static void chmod(java.io.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(java.io.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
 

Field Detail

jvmFilePermAvailable

public static boolean jvmFilePermAvailable
Method Detail

chmod

public static void chmod(java.io.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(java.io.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 © 2001-2010 Codehaus. All Rights Reserved.