net.sourceforge.fluxion.pussycat.util
Class jarFilter

java.lang.Object
  extended by net.sourceforge.fluxion.pussycat.util.jarFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class jarFilter
extends java.lang.Object
implements java.io.FilenameFilter


Constructor Summary
jarFilter()
           
 
Method Summary
 boolean accept(java.io.File f, java.lang.String name)
           
 java.lang.String getDescription()
           
 java.lang.String getExtension(java.lang.String filestr)
          Gets the extension of a file, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

jarFilter

public jarFilter()
Method Detail

accept

public boolean accept(java.io.File f,
                      java.lang.String name)
Specified by:
accept in interface java.io.FilenameFilter

getDescription

public java.lang.String getDescription()

getExtension

public java.lang.String getExtension(java.lang.String filestr)
Gets the extension of a file, e.g. .txt, .xml, .java, etc

Parameters:
f - Get the extension of this file
Returns:
the file extension


Copyright © 2010. All Rights Reserved.