org.qtunes.db.spi
Class FilenameMatcher

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

public class FilenameMatcher
extends Object
implements Matcher

A Matcher that matches tracks based on their Filename


Constructor Summary
FilenameMatcher()
           
 
Method Summary
 Object getKey(FieldMap map)
          Get the key that can be used to uniquely identify a track with the specified fields
 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 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 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