Modifier and Type | Field and Description |
---|---|
static int |
NAMECONFLICT_ERROR |
static int |
NAMECONFLICT_MAKEUNIQUE |
static int |
NAMECONFLICT_OVERWRITE |
static int |
NAMECONFLICT_SKIP |
static int |
NAMECONFLICT_UNDEFINED |
Constructor and Description |
---|
FileUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
fromNameConflictBitMask(int bitmask) |
static int |
toNameConflict(String nameConflict) |
static int |
toNameConflict(String nameConflict,
int allowedValuesMask) |
static int |
toNameConflict(String nameConflict,
int allowedValuesMask,
int defaultValue) |
public static final int NAMECONFLICT_UNDEFINED
public static final int NAMECONFLICT_ERROR
public static final int NAMECONFLICT_SKIP
public static final int NAMECONFLICT_OVERWRITE
public static final int NAMECONFLICT_MAKEUNIQUE
public FileUtil()
public static int toNameConflict(String nameConflict) throws ApplicationException
ApplicationException
public static int toNameConflict(String nameConflict, int allowedValuesMask) throws ApplicationException
nameConflict
- allowedValuesMask
- ApplicationException
public static int toNameConflict(String nameConflict, int allowedValuesMask, int defaultValue) throws ApplicationException
nameConflict
- allowedValuesMask
- defaultValue
- ApplicationException
public static String fromNameConflictBitMask(int bitmask)
Copyright © 2015 Lucee