www.dextsolution.com
DEXTUPLOAD
NJ
menu toggleReference > devpia > dextuploadnj > FilterAction

devpia.dextuploadnj
Enum FilterAction

Minimum version supported
1.0.0
Minimum support environment
JRE 1.6
Description

Defines methods of handling filtered files.

Enum constant Description
Flushing When filtered, change to an empty file.
Error When filtered, raise an exception.

The method for setting FilterAction is as follows.

# When set direcly to an Environment object
Environment env = new Environment();
env.setFilterAction(FilterAction.Flushing);

# When set as a property of an Environment bean
<property name="filterAction" value="Flushing"/>

In the large file upload environment, it is always processed as FilterAction.Error.