Package org.jaudiotagger.tag

Examples of org.jaudiotagger.tag.TagNotFoundException


    public void read(ByteBuffer byteBuffer) throws TagException {
        byte[] buffer = new byte[5100 + 9 + 11];
        String lyricBuffer;

        if (!seek(byteBuffer)) {
            throw new TagNotFoundException("ID3v1 tag not found");
        }

        byteBuffer.get(buffer);
        lyricBuffer = new String(buffer);
View Full Code Here


        int lyricSize;

        if (seek(byteBuffer)) {
            lyricSize = seekSize(byteBuffer);
        } else {
            throw new TagNotFoundException("Lyrics3v2.00 Tag Not Found");
        }

        // reset file pointer to the beginning of the tag;
        seek(byteBuffer);
        filePointer = byteBuffer.position();
View Full Code Here

            out.close();
            fc.close();
            fis.close();
            return outputFile;
        }
        throw new TagNotFoundException("There is no ID3v2Tag data in this file");
    }
View Full Code Here

TOP

Related Classes of org.jaudiotagger.tag.TagNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.