It is not possible to find out how tracks in a type 2 file should be processed in the general case, and the only difference between files of type 0 and 1 is the number of tracks allowed. Therefore, it Sequencedoes not remember the file type.
If you really want to know the type of file, you must read it directly from the file using MidiSystem.getMidiFileFormat .