Class COM.tolstoy.jconfig.FileExtension
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.tolstoy.jconfig.FileExtension

java.lang.Object
   |
   +----COM.tolstoy.jconfig.FileExtension

public class FileExtension
extends Object
implements FileCharacteristic
Represents a Windows-style file extension.

Constructor Index

 o FileExtension(String)
The argument 'intExt' should contain the extension alone, complete with a '.' character, e.g., ".txt"

Method Index

 o getString()
Returns the extension, including the '.' character.
 o isMatch(FileCharacteristic)
 o toString()

Constructors

 o FileExtension
  public FileExtension(String str)
The argument 'intExt' should contain the extension alone, complete with a '.' character, e.g., ".txt"

Methods

 o isMatch
  public boolean isMatch(FileCharacteristic fc)
 o getString
  public String getString()
Returns the extension, including the '.' character.
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index