org.codehaus.plexus.archiver
public class ArchiveEntry extends Object
Version: $Revision: 1502 $ $Date: 2008-11-14 01:56:52 +0200 (Fri, 14 Nov 2008) $
Field Summary | |
---|---|
static int | DIRECTORY |
static int | FILE |
static String | ROLE |
Method Summary | |
---|---|
static ArchiveEntry | createDirectoryEntry(String target, PlexusIoResource resource, int permissions) |
static ArchiveEntry | createDirectoryEntry(String target, File file, int permissions) |
static ArchiveEntry | createEntry(String target, File file, int filePerm, int dirPerm) |
static ArchiveEntry | createFileEntry(String target, PlexusIoResource resource, int permissions) |
static ArchiveEntry | createFileEntry(String target, File file, int permissions) |
File | getFile() |
InputStream | getInputStream() |
int | getMode() |
String | getName() |
PlexusIoResource | getResource() |
PlexusIoResourceAttributes | getResourceAttributes() |
int | getType()
TODO: support for SYMLINK?
|
void | setResourceAttributes(PlexusIoResourceAttributes attributes) |
Deprecated: As of 1.0-alpha-10, file entries are no longer backed by files, but by instances of PlexusIoResource. Consequently, you should use getInputStream-
Returns: The original file that will be stored in the archive.
Returns: The resource contents.
Returns: octal user/group/other unix like permissions.
Returns: the filename of this entry in the archive.
Returns: FILE or DIRECTORY