com.huguesjohnson.jail.jailBreak.fileFilter
Class NeuralNetworkTrainingFileFilter

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

public class NeuralNetworkTrainingFileFilter
extends javax.swing.filechooser.FileFilter

filter for saving/loading neural network training files


Constructor Summary
NeuralNetworkTrainingFileFilter()
          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

NeuralNetworkTrainingFileFilter

public NeuralNetworkTrainingFileFilter()
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