|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.farng.mp3.filename.AbstractFilenameComposite
org.farng.mp3.filename.FilenameDelimiter
This class is a composite subclass which represents a delimiter within a filename. Delimiters are usually punctuation such as " - "
| Constructor Summary | |
FilenameDelimiter()
Creates a new FilenameDelimiter object. |
|
FilenameDelimiter(FilenameDelimiter copyObject)
Creates a new FilenameDelimiter object. |
|
| Method Summary | |
java.lang.String |
composeFilename()
Create the filename that this composite represents |
ID3v2_4 |
createId3Tag()
|
AbstractFilenameComposite |
getAfterComposite()
Returns the composite that comes after the delimiter. |
AbstractFilenameComposite |
getBeforeComposite()
Returns the composite that comes before the delimiter |
java.lang.String |
getDelimiter()
Returns the delimiter that splits the two halfs of this composite |
java.util.Iterator |
iterator()
Returns an iterator through each FilenameToken in this composite in the correct order for the file
name. |
void |
matchAgainstKeyword(java.lang.Class id3v2FrameBodyClass)
Match all elements of this composite against the keywords for this class type found in TagOptionSingleton. |
void |
matchAgainstTag(AbstractMP3Tag matchTag)
Match all elements of this composite against the given tag. |
void |
setAfterComposite(AbstractFilenameComposite afterComposite)
Sets the composite that comes after the delimiter. |
void |
setBeforeComposite(AbstractFilenameComposite beforeComposite)
Sets the composite that comes before the delimiter |
void |
setDelimiter(java.lang.String delimiter)
Sets the delimiter that splits the two halves of this composite |
void |
setFrame(AbstractID3v2Frame frame)
|
| Methods inherited from class org.farng.mp3.filename.AbstractFilenameComposite |
getOriginalToken, setOriginalToken |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilenameDelimiter()
public FilenameDelimiter(FilenameDelimiter copyObject)
| Method Detail |
public void setAfterComposite(AbstractFilenameComposite afterComposite)
afterComposite - The composite that comes after the delimiter.public AbstractFilenameComposite getAfterComposite()
public void setBeforeComposite(AbstractFilenameComposite beforeComposite)
beforeComposite - the composite that comes before the delimiterpublic AbstractFilenameComposite getBeforeComposite()
public void setDelimiter(java.lang.String delimiter)
delimiter - delimiter that splits the two halves of this compositepublic java.lang.String getDelimiter()
public void setFrame(AbstractID3v2Frame frame)
setFrame in class AbstractFilenameCompositepublic java.lang.String composeFilename()
composeFilename in class AbstractFilenameCompositepublic ID3v2_4 createId3Tag()
createId3Tag in class AbstractFilenameCompositepublic java.util.Iterator iterator()
FilenameToken in this composite in the correct order for the file
name.
iterator in class AbstractFilenameCompositeFilenameToken in this compositepublic void matchAgainstKeyword(java.lang.Class id3v2FrameBodyClass)
TagOptionSingleton. If the FilenameToken matches the keyword, the token's class is
set.
matchAgainstKeyword in class AbstractFilenameCompositeid3v2FrameBodyClass - Class of keywords to match against.public void matchAgainstTag(AbstractMP3Tag matchTag)
matchTag matches any
element of this tag's composite, then this tag's composite leaf node's class is set.
matchAgainstTag in class AbstractFilenameCompositematchTag - Tag to match against
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||