org.apache.ant.compress.util
Class EntryHelper

java.lang.Object
  extended by org.apache.ant.compress.util.EntryHelper

public class EntryHelper
extends java.lang.Object

Helper methods that gloss over API differences between the ArchiveEntry implementations of Apache Commons Compress 1.3.


Field Summary
static int UNKNOWN_ID
           
 
Method Summary
static int getGroupId(org.apache.commons.compress.archivers.ArchiveEntry entry)
          Extracts the group id an entry.
static int getMode(org.apache.commons.compress.archivers.ArchiveEntry entry)
          Extracts the permission bits from an entry.
static int getUserId(org.apache.commons.compress.archivers.ArchiveEntry entry)
          Extracts the user id an entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN_ID

public static int UNKNOWN_ID
Method Detail

getMode

public static int getMode(org.apache.commons.compress.archivers.ArchiveEntry entry)
Extracts the permission bits from an entry.


getUserId

public static int getUserId(org.apache.commons.compress.archivers.ArchiveEntry entry)
Extracts the user id an entry.


getGroupId

public static int getGroupId(org.apache.commons.compress.archivers.ArchiveEntry entry)
Extracts the group id an entry.