blob: b394bf559b5173b34dfafb7a25640e34c8f0de08 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
MagicNumberRegistryEntry (Apache Batik Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MagicNumberRegistryEntry (Apache Batik Javadoc)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MagicNumberRegistryEntry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/JDKRegistryEntry.MyImgObs.html" title="class in org.apache.batik.ext.awt.image.spi"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MagicNumberRegistryEntry.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.batik.ext.awt.image.spi</FONT>
<BR>
Class MagicNumberRegistryEntry</H2>
<PRE>
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/AbstractRegistryEntry.html" title="class in org.apache.batik.ext.awt.image.spi">org.apache.batik.ext.awt.image.spi.AbstractRegistryEntry</A>
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html" title="interface in org.apache.batik.ext.awt.image.spi">ErrorConstants</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/RegistryEntry.html" title="interface in org.apache.batik.ext.awt.image.spi">RegistryEntry</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html" title="interface in org.apache.batik.ext.awt.image.spi">StreamRegistryEntry</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../../org/apache/batik/ext/awt/image/codec/imageio/AbstractImageIORegistryEntry.html" title="class in org.apache.batik.ext.awt.image.codec.imageio">AbstractImageIORegistryEntry</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/codec/png/PNGRegistryEntry.html" title="class in org.apache.batik.ext.awt.image.codec.png">PNGRegistryEntry</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>MagicNumberRegistryEntry</B><DT>extends <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/AbstractRegistryEntry.html" title="class in org.apache.batik.ext.awt.image.spi">AbstractRegistryEntry</A><DT>implements <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html" title="interface in org.apache.batik.ext.awt.image.spi">StreamRegistryEntry</A></DL>
</PRE>
<P>
This Image tag registry entry is built around the notion of magic
numbers. These are strings of bytes that are at a well known
location in the input stream (often the start).
This base class can handle the compatibility check based on a list
of Magic Numbers that correspond to your format (Some formats have
multiple magic numbers associated with them).
<P>
<P>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inner class that represents one magic number.</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#PRIORITY">PRIORITY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.batik.ext.awt.image.spi.ErrorConstants"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from interface org.apache.batik.ext.awt.image.spi.<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html" title="interface in org.apache.batik.ext.awt.image.spi">ErrorConstants</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html#ERR_STREAM_FORMAT_UNREADABLE">ERR_STREAM_FORMAT_UNREADABLE</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html#ERR_STREAM_UNREADABLE">ERR_STREAM_UNREADABLE</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html#ERR_URL_FORMAT_UNREADABLE">ERR_URL_FORMAT_UNREADABLE</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html#ERR_URL_UNINTERPRETABLE">ERR_URL_UNINTERPRETABLE</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html#ERR_URL_UNREACHABLE">ERR_URL_UNREACHABLE</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/ErrorConstants.html#RESOURCES">RESOURCES</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, float, java.lang.String[], java.lang.String[], int, byte[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
int&nbsp;offset,
byte[]&nbsp;magicNumber)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, simplifies construction of entry when only
one magic number is required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, float, java.lang.String[], java.lang.String[], org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, float, java.lang.String, java.lang.String, int, byte[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
int&nbsp;offset,
byte[]&nbsp;magicNumber)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, simplifies construction of entry when only
one extension and one magic number is required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, float, java.lang.String, java.lang.String, org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, simplifies construction of entry when only
one extension is required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, java.lang.String[], java.lang.String[], int, byte[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
int&nbsp;offset,
byte[]&nbsp;magicNumbers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, simplifies construction of entry when only
one magic number is required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, java.lang.String[], java.lang.String[], org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, java.lang.String[], java.lang.String[], org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[], float)">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers,
float&nbsp;priority)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, allows for overriding the default priority of
magic number entries.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, java.lang.String, java.lang.String, int, byte[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
int&nbsp;offset,
byte[]&nbsp;magicNumber)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, simplifies construction of entry when only
one extension and one magic number is required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#MagicNumberRegistryEntry(java.lang.String, java.lang.String, java.lang.String, org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])">MagicNumberRegistryEntry</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, simplifies construction of entry when only
one extension is required.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#getReadlimit()">getReadlimit</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum read ahead needed for all magic numbers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html#isCompatibleStream(java.io.InputStream)">isCompatibleStream</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if the stream contains an image that can be
handled by this format handler</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.batik.ext.awt.image.spi.AbstractRegistryEntry"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.batik.ext.awt.image.spi.<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/AbstractRegistryEntry.html" title="class in org.apache.batik.ext.awt.image.spi">AbstractRegistryEntry</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/AbstractRegistryEntry.html#getFormatName()">getFormatName</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/AbstractRegistryEntry.html#getMimeTypes()">getMimeTypes</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/AbstractRegistryEntry.html#getPriority()">getPriority</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/AbstractRegistryEntry.html#getStandardExtensions()">getStandardExtensions</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.batik.ext.awt.image.spi.StreamRegistryEntry"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.apache.batik.ext.awt.image.spi.<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html" title="interface in org.apache.batik.ext.awt.image.spi">StreamRegistryEntry</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html#handleStream(java.io.InputStream, org.apache.batik.util.ParsedURL, boolean)">handleStream</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.batik.ext.awt.image.spi.RegistryEntry"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.apache.batik.ext.awt.image.spi.<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/RegistryEntry.html" title="interface in org.apache.batik.ext.awt.image.spi">RegistryEntry</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/RegistryEntry.html#getFormatName()">getFormatName</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/RegistryEntry.html#getMimeTypes()">getMimeTypes</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/RegistryEntry.html#getPriority()">getPriority</A>, <A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/RegistryEntry.html#getStandardExtensions()">getStandardExtensions</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="PRIORITY"><!-- --></A><H3>
PRIORITY</H3>
<PRE>
public static final float <B>PRIORITY</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.PRIORITY">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="MagicNumberRegistryEntry(java.lang.String, float, java.lang.String, java.lang.String, int, byte[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
int&nbsp;offset,
byte[]&nbsp;magicNumber)</PRE>
<DL>
<DD>Constructor, simplifies construction of entry when only
one extension and one magic number is required.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>priority</CODE> - the priority of the RegistryEntry<DD><CODE>ext</CODE> - Standard extension<DD><CODE>mimeType</CODE> - the supported MIME type<DD><CODE>offset</CODE> - Offset of magic number<DD><CODE>magicNumber</CODE> - byte array to match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, java.lang.String, java.lang.String, int, byte[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
int&nbsp;offset,
byte[]&nbsp;magicNumber)</PRE>
<DL>
<DD>Constructor, simplifies construction of entry when only
one extension and one magic number is required.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>ext</CODE> - Standard extension<DD><CODE>mimeType</CODE> - the supported MIME type<DD><CODE>offset</CODE> - Offset of magic number<DD><CODE>magicNumber</CODE> - byte array to match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, float, java.lang.String, java.lang.String, org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</PRE>
<DL>
<DD>Constructor, simplifies construction of entry when only
one extension is required.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>priority</CODE> - the priority of the RegistryEntry<DD><CODE>ext</CODE> - Standard extension<DD><CODE>mimeType</CODE> - the supported MIME type<DD><CODE>magicNumbers</CODE> - Array of magic numbers any of which can match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, java.lang.String, java.lang.String, org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;ext,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mimeType,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</PRE>
<DL>
<DD>Constructor, simplifies construction of entry when only
one extension is required.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>ext</CODE> - Standard extension<DD><CODE>mimeType</CODE> - the supported MIME type<DD><CODE>magicNumbers</CODE> - Array of magic numbers any of which can match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, float, java.lang.String[], java.lang.String[], int, byte[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
int&nbsp;offset,
byte[]&nbsp;magicNumber)</PRE>
<DL>
<DD>Constructor, simplifies construction of entry when only
one magic number is required.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>priority</CODE> - the priority of the RegistryEntry<DD><CODE>exts</CODE> - Standard set of extensions<DD><CODE>mimeTypes</CODE> - array of supported MIME types<DD><CODE>offset</CODE> - Offset of magic number<DD><CODE>magicNumber</CODE> - byte array to match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, java.lang.String[], java.lang.String[], int, byte[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
int&nbsp;offset,
byte[]&nbsp;magicNumbers)</PRE>
<DL>
<DD>Constructor, simplifies construction of entry when only
one magic number is required.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>exts</CODE> - Standard set of extensions<DD><CODE>mimeTypes</CODE> - array of supported MIME types<DD><CODE>offset</CODE> - Offset of magic number<DD><CODE>magicNumbers</CODE> - byte array to match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, float, java.lang.String[], java.lang.String[], org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
float&nbsp;priority,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</PRE>
<DL>
<DD>Constructor
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>priority</CODE> - the priority of the RegistryEntry<DD><CODE>exts</CODE> - Standard set of extensions<DD><CODE>mimeTypes</CODE> - array of supported MIME types<DD><CODE>magicNumbers</CODE> - array of magic numbers any of which can match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, java.lang.String[], java.lang.String[], org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[])"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers)</PRE>
<DL>
<DD>Constructor
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>exts</CODE> - Standard set of extensions<DD><CODE>mimeTypes</CODE> - array of supported MIME types<DD><CODE>magicNumbers</CODE> - array of magic numbers any of which can match.</DL>
</DL>
<HR>
<A NAME="MagicNumberRegistryEntry(java.lang.String, java.lang.String[], java.lang.String[], org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry.MagicNumber[], float)"><!-- --></A><H3>
MagicNumberRegistryEntry</H3>
<PRE>
public <B>MagicNumberRegistryEntry</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;exts,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;mimeTypes,
<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi">MagicNumberRegistryEntry.MagicNumber</A>[]&nbsp;magicNumbers,
float&nbsp;priority)</PRE>
<DL>
<DD>Constructor, allows for overriding the default priority of
magic number entries. This should be needed very rarely since
magic number checks are fairly relyable and hence aren't usually
sensative to order issues.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Format Name<DD><CODE>exts</CODE> - Standard set of extensions<DD><CODE>magicNumbers</CODE> - array of magic numbers any of which can match.<DD><CODE>priority</CODE> - The priority of this entry (1000 is baseline)</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getReadlimit()"><!-- --></A><H3>
getReadlimit</H3>
<PRE>
public int <B>getReadlimit</B>()</PRE>
<DL>
<DD>Returns the maximum read ahead needed for all magic numbers.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html#getReadlimit()">getReadlimit</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html" title="interface in org.apache.batik.ext.awt.image.spi">StreamRegistryEntry</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isCompatibleStream(java.io.InputStream)"><!-- --></A><H3>
isCompatibleStream</H3>
<PRE>
public boolean <B>isCompatibleStream</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)
throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/StreamCorruptedException.html?is-external=true" title="class or interface in java.io">StreamCorruptedException</A></PRE>
<DL>
<DD>Check if the stream contains an image that can be
handled by this format handler
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html#isCompatibleStream(java.io.InputStream)">isCompatibleStream</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/StreamRegistryEntry.html" title="interface in org.apache.batik.ext.awt.image.spi">StreamRegistryEntry</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/StreamCorruptedException.html?is-external=true" title="class or interface in java.io">StreamCorruptedException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MagicNumberRegistryEntry.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/JDKRegistryEntry.MyImgObs.html" title="class in org.apache.batik.ext.awt.image.spi"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.MagicNumber.html" title="class in org.apache.batik.ext.awt.image.spi"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MagicNumberRegistryEntry.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>