Checks file encodings to see if they match the given encoding.
Adapted from org.apache.maven.plugins.enforcer.RequireEncoding
Type | Name and description |
---|---|
Property<Boolean> |
acceptAsciiSubset |
Property<String> |
encoding |
ListProperty<String> |
excludes |
Property<Boolean> |
failFast |
ListProperty<String> |
includes |
Property<Boolean> |
useDefaultExcludes |
Constructor and description |
---|
RequireEncoding
(ObjectFactory objects) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
doExecute(EnforcerContext context) |
Methods inherited from class | Name |
---|---|
class AbstractFilteringEnforcerRule |
doValidate, execute, setPhases |
class AbstractEnforcerRule |
doExecute, doValidate, execute, fail, fail, fail, illegalArgumentException, illegalArgumentException, resolveClassName, setEnforcerLevel, validate |
Groovy Documentation