StreamRegistryEntry - These work with a markable InputStream . This is the preferred form of registry entry as it generally avoids opening a potentially expensive connection multiple times, instead it opens the stream once and relies on mark and reset to allow entries to check the stream. There exists quite a number of classes to assist in implementing a RegistryEntry . It is strongly recommended that you review these classes and make use of them where appropriate. They will likely save you time and improve the integration with Batik.
Magic numbers are a well known sequence of bytes at a well known offset in the file.
This is extremely useful for single resolution file formats. This is used by all the current Image readers. Several parts of Batik use a util. ParsedURL instead of the JDK's java.net.URL class. ParsedURL offers a few advantages over the JDK's URL class.