Database
nio.txt
Associated article: Java NIO & the iTunes Database
Tags: Database JVM Languages
Published source code accompanying the article by Dmitriy Rogatkin in which he uses the Java NIO package, part of J2SE 1.4, to unravel the the iTunesDB format, which is at the heart of the database used in Apple's iPod MP3 player. Also see NIO.ZIP.
Java NIO & the iTunes Database
by Dmitriy Rogatkin
Listing One
public Object get(int index) {
if (index >= START_OBJ_INDEX && index <= END_OBJ_IDX)
return objValues[index - START_OBJ_INDEX];
if (index >= START_...


