home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / VCAFE.3.0A / Main.bin / DefaultDirectoryFilenameFilter.java < prev    next >
Text File  |  1998-09-15  |  351b  |  19 lines

  1. package com.symantec.itools.io;
  2.  
  3.  
  4. import java.io.File;
  5.  
  6.  
  7. public class DefaultDirectoryFilenameFilter
  8.     implements DirectoryFilenameFilter
  9. {
  10.     public boolean accept(File dir, String str)
  11.     {
  12.         File file;
  13.  
  14.         file = new File(FileSystem.getCanonicalPath(dir, true) + str);
  15.  
  16.         return (file.isDirectory());
  17.     }
  18. }
  19.