Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.thermidor.util.file
Class Backup.BackupFilenameFilter  view Backup.BackupFilenameFilter download Backup.BackupFilenameFilter.java

java.lang.Object
  extended bycom.thermidor.util.file.Backup.BackupFilenameFilter
All Implemented Interfaces:
java.io.FilenameFilter
Enclosing class:
Backup

public static class Backup.BackupFilenameFilter
extends java.lang.Object
implements java.io.FilenameFilter


Field Summary
private  java.lang.String _fileName
           
private  gnu.regexp.RE _regexp
           
 
Constructor Summary
Backup.BackupFilenameFilter(java.lang.String fileName)
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          This method determines whether or not a given file should be included in a directory listing.
 int backupNumber(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_regexp

private gnu.regexp.RE _regexp

_fileName

private java.lang.String _fileName
Constructor Detail

Backup.BackupFilenameFilter

public Backup.BackupFilenameFilter(java.lang.String fileName)
                            throws java.io.IOException
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Description copied from interface: java.io.FilenameFilter
This method determines whether or not a given file should be included in a directory listing.

Specified by:
accept in interface java.io.FilenameFilter

backupNumber

public int backupNumber(java.lang.String name)