@ Override public AudioFileFormat getAudioFileFormat ( InputStream inputStream ) throws UnsupportedAudioFileException , IOException { LOG . log ( Level . FINE , "getAudioFileFormat(InputStream inputStream)" ) ; try { if ( ! inputStream . markSupported ( ) ) { inputStream = new BufferedInputStream ( inputStream ) ; } inputStream . mark ( MARK_LIMIT ) ; return getAudioFileFormat ( inputStream , AudioSystem . NOT_SPECIFIED , AudioSystem . NOT_SPECIFIED ) ; } finally { inputStream . reset ( ) ; } }
Return the AudioFileFormat from the given InputStream .