org.qtunes.db.spi.simple
Class FilenameMatcher

java.lang.Object
  extended by org.qtunes.db.spi.simple.FilenameMatcher
All Implemented Interfaces:
Matcher

public class FilenameMatcher
extends java.lang.Object
implements Matcher

A Matcher that matches tracks based on their Filename


Constructor Summary
FilenameMatcher()
           
 
Method Summary
 java.lang.Object getKey(FieldMap map)
          Get the key that can be used to uniquely identify a track with the specified fields
 java.lang.Object getKey(Track track)
          Get the key that can be used to uniquely identify the specified track
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilenameMatcher

public FilenameMatcher()
Method Detail

getKey

public java.lang.Object getKey(FieldMap map)
Description copied from interface: Matcher
Get the key that can be used to uniquely identify a track with the specified fields

Specified by:
getKey in interface Matcher

getKey

public java.lang.Object getKey(Track track)
Description copied from interface: Matcher
Get the key that can be used to uniquely identify the specified track

Specified by:
getKey in interface Matcher