Main Page
Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues |
All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----com.jconfig.FileExtension
Summary |
public class FileExtension extends java.lang.Object implements com.jconfig.FileCharacteristic, java.lang.Cloneable { // Constructors 1 public FileExtension(String); // Methods 3 public String getString(); public boolean isMatch(FileCharacteristic); public String toString(); }
Represents a Windows-style file extension.
Cross Reference |
Constructors |
· FileExtension | Summary | Top |
public FileExtension(String str)
The argument 'str' should contain the extension alone, complete with a '.' character, e.g., ".txt"
Methods |
· isMatch | Summary | Top |
public boolean isMatch(FileCharacteristic fc)
If 'fc' is a FileExtension object, and it has the same string value (e.g., ".txt") as this object, return true. Otherwise, returns false. If either this object or 'fc' are ".", returns false. Wildcards are not fully supported.
- Implements:
- isMatch in interface FileCharacteristic
· getString | Summary | Top |
public String getString()
Returns the extension, including the '.' character.
· toString | Summary | Top |
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7