|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.farng.mp3.filename.AbstractFilenameComposite
The file name is parsed into a composite with this class as the base composite class.
Constructor Summary | |
protected |
AbstractFilenameComposite()
Creates a new AbstractFilenameComposite object. |
protected |
AbstractFilenameComposite(AbstractFilenameComposite copyObject)
Creates a new AbstractFilenameComposite object. |
Method Summary | |
abstract java.lang.String |
composeFilename()
Reconstruct the filename that is represented by this composite. |
abstract ID3v2_4 |
createId3Tag()
|
java.lang.String |
getOriginalToken()
Get the original string that this composite represents. |
abstract java.util.Iterator |
iterator()
Returns an iterator through each FilenameToken in this composite in the correct order for the file
name. |
abstract void |
matchAgainstKeyword(java.lang.Class id3v2FrameBodyClass)
Match all elements of this composite against the keywords for this class type found in TagOptionSingleton . |
abstract void |
matchAgainstTag(AbstractMP3Tag matchTag)
Match all elements of this composite against the given tag. |
abstract void |
setFrame(AbstractID3v2Frame frame)
|
void |
setOriginalToken(java.lang.String originalToken)
Sets the original string that this composite represents. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractFilenameComposite()
protected AbstractFilenameComposite(AbstractFilenameComposite copyObject)
Method Detail |
public abstract void setFrame(AbstractID3v2Frame frame)
public abstract java.lang.String composeFilename()
public abstract java.util.Iterator iterator()
FilenameToken
in this composite in the correct order for the file
name.
FilenameToken
in this compositepublic abstract void matchAgainstKeyword(java.lang.Class id3v2FrameBodyClass)
TagOptionSingleton
. If the FilenameToken
matches the keyword, the token's class is
set.
id3v2FrameBodyClass
- Class of keywords to match against.public abstract void matchAgainstTag(AbstractMP3Tag matchTag)
matchTag
matches any
element of this tag's composite, then this tag's composite leaf node's class is set.
matchTag
- Tag to match againstpublic void setOriginalToken(java.lang.String originalToken)
originalToken
- the original string that this composite represents.public java.lang.String getOriginalToken()
public abstract ID3v2_4 createId3Tag()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |