Methods Summary |
---|
public void | addAudioFileModificationListener(AudioFileModificationListener l)This method adds an {@link AudioFileModificationListener}
if (!this.listeners.contains(l))
{
this.listeners.add(l);
}
|
public void | fileModified(org.jaudiotagger.audio.AudioFile original, java.io.File temporary)(overridden)
for (AudioFileModificationListener listener : this.listeners)
{
AudioFileModificationListener current = listener;
try
{
current.fileModified(original, temporary);
}
catch (ModifyVetoException e)
{
vetoThrown(current, original, e);
throw e;
}
}
|
public void | fileOperationFinished(java.io.File result)(overridden)
for (AudioFileModificationListener listener : this.listeners)
{
AudioFileModificationListener current = listener;
current.fileOperationFinished(result);
}
|
public void | fileWillBeModified(org.jaudiotagger.audio.AudioFile file, boolean delete)(overridden)
for (AudioFileModificationListener listener : this.listeners)
{
AudioFileModificationListener current = listener;
try
{
current.fileWillBeModified(file, delete);
}
catch (ModifyVetoException e)
{
vetoThrown(current, file, e);
throw e;
}
}
|
public void | removeAudioFileModificationListener(AudioFileModificationListener l)This method removes an {@link AudioFileModificationListener}
if (this.listeners.contains(l))
{
this.listeners.remove(l);
}
|
public void | vetoThrown(AudioFileModificationListener cause, org.jaudiotagger.audio.AudioFile original, org.jaudiotagger.audio.exceptions.ModifyVetoException veto)(overridden)
for (AudioFileModificationListener listener : this.listeners)
{
AudioFileModificationListener current = listener;
current.vetoThrown(cause, original, veto);
}
|