org.apache.commons.compress.archivers.dump
public static enum DumpArchiveEntry.TYPE extends Enum<DumpArchiveEntry.TYPE>
Enum Constant and Description |
---|
BLKDEV |
CHRDEV |
DIRECTORY |
FIFO |
FILE |
LINK |
SOCKET |
UNKNOWN |
WHITEOUT |
Modifier and Type | Method and Description |
---|---|
static DumpArchiveEntry.TYPE |
find(int code) |
static DumpArchiveEntry.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DumpArchiveEntry.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DumpArchiveEntry.TYPE WHITEOUT
public static final DumpArchiveEntry.TYPE SOCKET
public static final DumpArchiveEntry.TYPE LINK
public static final DumpArchiveEntry.TYPE FILE
public static final DumpArchiveEntry.TYPE BLKDEV
public static final DumpArchiveEntry.TYPE DIRECTORY
public static final DumpArchiveEntry.TYPE CHRDEV
public static final DumpArchiveEntry.TYPE FIFO
public static final DumpArchiveEntry.TYPE UNKNOWN
public static DumpArchiveEntry.TYPE[] values()
for (DumpArchiveEntry.TYPE c : DumpArchiveEntry.TYPE.values()) System.out.println(c);
public static DumpArchiveEntry.TYPE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static DumpArchiveEntry.TYPE find(int code)
Copyright © 2014 The Apache Software Foundation. All rights reserved.