-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
schyzo99
committed
Mar 2, 2009
1 parent
f3c6db5
commit a83977b
Showing
3 changed files
with
62 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
package rofage.toolkits; | ||
|
||
|
||
import javax.swing.filechooser.FileFilter; | ||
import javax.swing.filechooser.FileNameExtensionFilter; | ||
import org.apache.commons.logging.Log; | ||
import org.apache.commons.logging.LogFactory; | ||
|
||
/** | ||
* This toolkit provides useful method to work on File(or related) objects | ||
* @author Pierre Chastagner | ||
*/ | ||
public class FileToolkit { | ||
public abstract class FileToolkit { | ||
private final static Log logger = LogFactory.getLog(FileToolkit.class); | ||
|
||
public FileToolkit () { | ||
// TODO : Create constructor | ||
FileFilter getFileChooserFilter (String description, String extension) { | ||
return new FileNameExtensionFilter(description, extension); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters