public class JsDependencyFilter
Tests a file name whether it is a Javascript file that should be included into the bundle.
By default the filter matches all files with a .js extension, except files ending in
.meta.js, .min.js, .bundle.js
| Constructor and Description |
|---|
JsDependencyFilter(java.lang.String pattern,
java.util.List<java.lang.String> excludeSuffixes)
Tests a file name whether it is a Javascript file that should be included into the bundle.
By default the filter matches all files with a
.js extension, except files ending in
.meta.js, .min.js, .bundle.js |
JsDependencyFilter()
Tests a file name whether it is a Javascript file that should be included into the bundle.
By default the filter matches all files with a
.js extension, except files ending in
.meta.js, .min.js, .bundle.js |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(java.lang.String path)
Tests whether the given path is a file that should be included in the bundle.
|
boolean |
test(java.nio.file.Path path)
Tests whether the given path should be included in the bundle.
|
public JsDependencyFilter(java.lang.String pattern,
java.util.List<java.lang.String> excludeSuffixes)
Tests a file name whether it is a Javascript file that should be included into the bundle.
By default the filter matches all files with a .js extension, except files ending in
.meta.js, .min.js, .bundle.js
excludeSuffixes - zero or more file suffixes that should be excludedpattern - The pattern for files that should be included (see java.nio.file.FileSystem.getPathMatcher).public JsDependencyFilter()
Tests a file name whether it is a Javascript file that should be included into the bundle.
By default the filter matches all files with a .js extension, except files ending in
.meta.js, .min.js, .bundle.js