private static class ServerUtils.VersionFilter extends Object implements FileFilter
Modifier and Type | Field and Description |
---|---|
private Pattern |
pattern
Compiled file name pattern.
|
Constructor and Description |
---|
ServerUtils.VersionFilter(String namePattern)
Creates an instance of GlassFish servers file name pattern filter.
|
private final Pattern pattern
public ServerUtils.VersionFilter(String namePattern)
namePattern
- GlassFish servers file name pattern.public boolean accept(File file)
accept
in interface FileFilter
Copyright © 2013. All Rights Reserved.