com.huguesjohnson.jail.jailBreak.fileFilter
Class BackPropagationNetworkFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--com.huguesjohnson.jail.jailBreak.fileFilter.BackPropagationNetworkFilter

public class BackPropagationNetworkFilter
extends javax.swing.filechooser.FileFilter

filter for saving/loading BackPropagation networks


Constructor Summary
BackPropagationNetworkFilter()
          default constructor
 
Method Summary
 boolean accept(java.io.File file)
          tests if a file fits the filter
 java.lang.String getDescription()
          getDescription returns the description of files accepted by the filter
 java.lang.String toString()
          returns a string representation of the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackPropagationNetworkFilter

public BackPropagationNetworkFilter()
default constructor

Method Detail

accept

public boolean accept(java.io.File file)
tests if a file fits the filter

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
file - file to check
Returns:
true if the file fits the filter, false if it does not

getDescription

public java.lang.String getDescription()
getDescription returns the description of files accepted by the filter

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
description of files accepted by the filter

toString

public java.lang.String toString()
returns a string representation of the object

Overrides:
toString in class java.lang.Object
Returns:
string representation of the object