javazoom.jlgui.player.amp.tag
Class TagInfoFactory

java.lang.Object
  extended byjavazoom.jlgui.player.amp.tag.TagInfoFactory

public class TagInfoFactory
extends java.lang.Object

This class is a factory for TagInfo and TagInfoDialog. It allows to any plug custom TagIngfo parser matching to TagInfo interface.


Method Summary
static TagInfoFactory getInstance()
           
 TagInfo getTagInfo(java.io.File location)
          Get TagInfo for given file.
 TagInfo getTagInfo(java.lang.String location)
          Return tag info from a given String.
 TagInfo getTagInfo(java.net.URL location)
          Return tag info from a given URL.
 TagInfoDialog getTagInfoDialog(TagInfo taginfo)
          Return disalog (graphical) to display tag info.
 java.lang.Class getTagInfoImpl(java.lang.String classname)
          Load and check class implementation from classname.
 TagInfo getTagInfoImplInstance(java.lang.Class aClass)
          Return new instance of given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TagInfoFactory getInstance()

getTagInfo

public TagInfo getTagInfo(java.net.URL location)
Return tag info from a given URL.

Parameters:
location -
Returns:

getTagInfo

public TagInfo getTagInfo(java.lang.String location)
Return tag info from a given String.

Parameters:
location -
Returns:

getTagInfo

public TagInfo getTagInfo(java.io.File location)
Get TagInfo for given file.

Parameters:
location -
Returns:

getTagInfoDialog

public TagInfoDialog getTagInfoDialog(TagInfo taginfo)
Return disalog (graphical) to display tag info.

Parameters:
taginfo -
Returns:

getTagInfoImpl

public java.lang.Class getTagInfoImpl(java.lang.String classname)
Load and check class implementation from classname.

Parameters:
classname -
Returns:

getTagInfoImplInstance

public TagInfo getTagInfoImplInstance(java.lang.Class aClass)
Return new instance of given class.

Parameters:
aClass -
Returns:


JavaZOOM 1999-2004