| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| AudioFileModificationAdapter |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Entagged Audio Tag library | |
| 3 | * Copyright (c) 2003-2005 Christian Laireiter <liree@web.de> | |
| 4 | * | |
| 5 | * This library is free software; you can redistribute it and/or | |
| 6 | * modify it under the terms of the GNU Lesser General Public | |
| 7 | * License as published by the Free Software Foundation; either | |
| 8 | * version 2.1 of the License, or (at your option) any later version. | |
| 9 | * | |
| 10 | * This library is distributed in the hope that it will be useful, | |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | * Lesser General Public License for more details. | |
| 14 | * | |
| 15 | * You should have received a copy of the GNU Lesser General Public | |
| 16 | * License along with this library; if not, write to the Free Software | |
| 17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
| 18 | */ | |
| 19 | package org.jaudiotagger.audio.generic; | |
| 20 | ||
| 21 | import org.jaudiotagger.audio.AudioFile; | |
| 22 | import org.jaudiotagger.audio.exceptions.ModifyVetoException; | |
| 23 | ||
| 24 | import java.io.File; | |
| 25 | ||
| 26 | /** | |
| 27 | * Adapter for | |
| 28 | * {@link org.jaudiotagger.audio.generic.AudioFileModificationListener}. | |
| 29 | * | |
| 30 | * @author Christian Laireiter | |
| 31 | */ | |
| 32 | 0 | public class AudioFileModificationAdapter implements AudioFileModificationListener |
| 33 | { | |
| 34 | ||
| 35 | /** | |
| 36 | * (overridden) | |
| 37 | * | |
| 38 | * @see org.jaudiotagger.audio.generic.AudioFileModificationListener#fileModified(org.jaudiotagger.audio.AudioFile, | |
| 39 | *File) | |
| 40 | */ | |
| 41 | public void fileModified(AudioFile original, File temporary) throws ModifyVetoException | |
| 42 | { | |
| 43 | // Nothing to do | |
| 44 | 0 | } |
| 45 | ||
| 46 | /** | |
| 47 | * (overridden) | |
| 48 | * | |
| 49 | * @see org.jaudiotagger.audio.generic.AudioFileModificationListener#fileOperationFinished(File) | |
| 50 | */ | |
| 51 | public void fileOperationFinished(File result) | |
| 52 | { | |
| 53 | // Nothing to do | |
| 54 | 0 | } |
| 55 | ||
| 56 | /** | |
| 57 | * (overridden) | |
| 58 | * | |
| 59 | * @see org.jaudiotagger.audio.generic.AudioFileModificationListener#fileWillBeModified(org.jaudiotagger.audio.AudioFile, | |
| 60 | *boolean) | |
| 61 | */ | |
| 62 | public void fileWillBeModified(AudioFile file, boolean delete) throws ModifyVetoException | |
| 63 | { | |
| 64 | // Nothing to do | |
| 65 | 0 | } |
| 66 | ||
| 67 | /** | |
| 68 | * (overridden) | |
| 69 | * | |
| 70 | * @see org.jaudiotagger.audio.generic.AudioFileModificationListener#vetoThrown(org.jaudiotagger.audio.generic.AudioFileModificationListener, | |
| 71 | *org.jaudiotagger.audio.AudioFile, | |
| 72 | *org.jaudiotagger.audio.exceptions.ModifyVetoException) | |
| 73 | */ | |
| 74 | public void vetoThrown(AudioFileModificationListener cause, AudioFile original, ModifyVetoException veto) | |
| 75 | { | |
| 76 | // Nothing to do | |
| 77 | 0 | } |
| 78 | ||
| 79 | } |