![]() |
SudokuFX
|
Utility class providing helper methods for common audio-related operations. More...
Collaboration diagram for fr.softsf.sudokufx.common.util.AudioUtils:Public Member Functions | |
| boolean | isValidAudio (File file) |
| Determines if the given file has a supported audio extension. | |
Utility class providing helper methods for common audio-related operations.
Includes support for:
All methods throw IllegalArgumentException when passed null arguments.
This class is intended to be used statically.
| boolean fr.softsf.sudokufx.common.util.AudioUtils.isValidAudio | ( | File | file | ) |
Determines if the given file has a supported audio extension.
Accepted audio formats: MP3, WAV, AAC, M4A, AIF, AIFF (case-insensitive).
| file | the file to check; must not be null |
true if the file has a valid audio extension; false otherwise | IllegalArgumentException | if file is null |