You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by th...@apache.org on 2008/08/24 01:44:36 UTC
svn commit: r688432 [8/12] - in /labs/droids/trunk/docs: ./ api/
api/org/apache/droids/ api/org/apache/droids/api/
api/org/apache/droids/api/class-use/ api/org/apache/droids/class-use/
api/org/apache/droids/delay/ api/org/apache/droids/delay/class-use/...
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/Loggable.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/Loggable.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/Loggable.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/Loggable.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:56 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
<TITLE>
Loggable (Droids initial API)
</TITLE>
@@ -53,7 +53,7 @@
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
- <A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../../org/apache/droids/helper/MimeUtil.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/droids/helper/Loggable.html" target="_top"><B>FRAMES</B></A>
<A HREF="Loggable.html" target="_top"><B>NO FRAMES</B></A>
@@ -93,7 +93,7 @@
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.droids.helper.Loggable</B>
</PRE>
<DL>
-<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper">StAX</A></DD>
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/droids/parse/html/HtmlParser.html" title="class in org.apache.droids.parse.html">HtmlParser</A>, <A HREF="../../../../org/apache/droids/protocol/HttpBase.html" title="class in org.apache.droids.protocol">HttpBase</A>, <A HREF="../../../../org/apache/droids/net/RegexURLFilter.html" title="class in org.apache.droids.net">RegexURLFilter</A>, <A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper">StAX</A></DD>
</DL>
<HR>
<DL>
@@ -106,6 +106,8 @@
<P>
<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
<DT><B>Author:</B></DT>
<DD>thorsten</DD>
</DL>
@@ -139,6 +141,8 @@
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/Loggable.html#Loggable()">Loggable</A></B>()</CODE>
<BR>
@@ -199,7 +203,7 @@
<A NAME="Loggable()"><!-- --></A><H3>
Loggable</H3>
<PRE>
-public <B>Loggable</B>()</PRE>
+protected <B>Loggable</B>()</PRE>
<DL>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
@@ -234,7 +238,7 @@
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
- <A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
+ <A HREF="../../../../org/apache/droids/helper/MimeUtil.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/droids/helper/Loggable.html" target="_top"><B>FRAMES</B></A>
<A HREF="Loggable.html" target="_top"><B>NO FRAMES</B></A>
@@ -263,6 +267,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
Added: labs/droids/trunk/docs/api/org/apache/droids/helper/MimeUtil.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/MimeUtil.html?rev=688432&view=auto
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/MimeUtil.html (added)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/MimeUtil.html Sat Aug 23 16:44:31 2008
@@ -0,0 +1,422 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
+<TITLE>
+MimeUtil (Droids initial API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.droids.helper.MimeUtil class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="MimeUtil (Droids initial API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= 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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MimeUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/droids/helper/MimeUtil.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="MimeUtil.html" target="_top"><B>NO FRAMES</B></A>
+ <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.droids.helper</FONT>
+<BR>
+Class MimeUtil</H2>
+<PRE>
+<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.droids.helper.MimeUtil</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public final class <B>MimeUtil</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>NUTCH-608
+
+ <p>
+ This is a facade class to insulate Nutch from its underlying Mime Type
+ substrate library, <a href="http://incubator.apache.org/tika/">Apache Tika</a>.
+ Any mime handling code should be placed in this utility class, and hidden
+ from the Nutch classes that rely on it.
+ </p></DD>
+<DT><B>Author:</B></DT>
+ <DD>mattmann</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ======== 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/droids/helper/MimeUtil.html#MimeUtil()">MimeUtil</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+
+<!-- ========== 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> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/MimeUtil.html#autoResolveContentType(java.lang.String, java.lang.String, byte[])">autoResolveContentType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName,
+ <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> url,
+ byte[] data)</CODE>
+
+<BR>
+ A facade interface to trying all the possible mime type resolution
+ strategies available within Tika.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/MimeUtil.html#cleanMimeType(java.lang.String)">cleanMimeType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> origType)</CODE>
+
+<BR>
+ Cleans a <CODE>MimeType</CODE> name by removing out the actual <CODE>MimeType</CODE>,
+ from a string of the form:</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.apache.tika.mime.MimeType</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/MimeUtil.html#forName(java.lang.String)">forName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
+
+<BR>
+ A facade interface to Tika's underlying <CODE>MimeTypes.forName(String)</CODE>
+ method.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.apache.tika.mime.MimeType</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/MimeUtil.html#getMimeType(java.io.File)">getMimeType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A> f)</CODE>
+
+<BR>
+ Facade interface to Tika's underlying <CODE>MimeTypes.getMimeType(File)</CODE>
+ method.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.apache.tika.mime.MimeType</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/MimeUtil.html#getMimeType(java.lang.String)">getMimeType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> url)</CODE>
+
+<BR>
+ Facade interface to Tika's underlying <CODE>MimeTypes.getMimeType(String)</CODE>
+ method.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/MimeUtil.html#isMimeMagic()">isMimeMagic</A></B>()</CODE>
+
+<BR>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/MimeUtil.html#setMimeMagic(boolean)">setMimeMagic</A></B>(boolean mimeMagic)</CODE>
+
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <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://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://
java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ========= 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="MimeUtil()"><!-- --></A><H3>
+MimeUtil</H3>
+<PRE>
+public <B>MimeUtil</B>()</PRE>
+<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="cleanMimeType(java.lang.String)"><!-- --></A><H3>
+cleanMimeType</H3>
+<PRE>
+public static <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>cleanMimeType</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> origType)</PRE>
+<DL>
+<DD>Cleans a <CODE>MimeType</CODE> name by removing out the actual <CODE>MimeType</CODE>,
+ from a string of the form:
+
+ <pre>
+ <primary type>/<sub type> ; < optional params
+ </pre>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>origType</CODE> - The original mime type string to be cleaned.
+<DT><B>Returns:</B><DD>The primary type, and subtype, concatenated, e.g., the actual mime
+ type.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="autoResolveContentType(java.lang.String, java.lang.String, byte[])"><!-- --></A><H3>
+autoResolveContentType</H3>
+<PRE>
+public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>autoResolveContentType</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> typeName,
+ <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> url,
+ byte[] data)</PRE>
+<DL>
+<DD>A facade interface to trying all the possible mime type resolution
+ strategies available within Tika. First, the mime type provided in
+ <code>typeName</code> is cleaned, with <A HREF="../../../../org/apache/droids/helper/MimeUtil.html#cleanMimeType(java.lang.String)"><CODE>cleanMimeType(String)</CODE></A>.
+ Then the cleaned mime type is looked up in the underlying Tika
+ <CODE>MimeTypes</CODE> registry, by its cleaned name. If the <CODE>MimeType</CODE> is
+ found, then that mime type is used, otherwise <CODE>URL</CODE> resolution is
+ used to try and determine the mime type. If that means is unsuccessful, and
+ if <code>mime.type.magic</code> is enabled in <CODE>NutchConfiguration</CODE>,
+ then mime type magic resolution is used to try and obtain a
+ better-than-the-default approximation of the <CODE>MimeType</CODE>.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>typeName</CODE> - The original mime type, returned from a <CODE>ProtocolOutput</CODE>.<DD><CODE>url</CODE> - The given <CODE>URL</CODE>, that Nutch was trying to crawl.<DD><CODE>data</CODE> - The byte data, returned from the crawl, if any.
+<DT><B>Returns:</B><DD>The correctly, automatically guessed <CODE>MimeType</CODE> name.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getMimeType(java.lang.String)"><!-- --></A><H3>
+getMimeType</H3>
+<PRE>
+public org.apache.tika.mime.MimeType <B>getMimeType</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> url)</PRE>
+<DL>
+<DD>Facade interface to Tika's underlying <CODE>MimeTypes.getMimeType(String)</CODE>
+ method.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>url</CODE> - A string representation of the document <CODE>URL</CODE> to sense the
+ <CODE>MimeType</CODE> for.
+<DT><B>Returns:</B><DD>An appropriate <CODE>MimeType</CODE>, identified from the given
+ Document url in string form.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="forName(java.lang.String)"><!-- --></A><H3>
+forName</H3>
+<PRE>
+public org.apache.tika.mime.MimeType <B>forName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE>
+<DL>
+<DD>A facade interface to Tika's underlying <CODE>MimeTypes.forName(String)</CODE>
+ method.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of a valid <CODE>MimeType</CODE> in the Tika mime registry.
+<DT><B>Returns:</B><DD>The object representation of the <CODE>MimeType</CODE>, if it exists,
+ or null otherwise.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getMimeType(java.io.File)"><!-- --></A><H3>
+getMimeType</H3>
+<PRE>
+public org.apache.tika.mime.MimeType <B>getMimeType</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io">File</A> f)</PRE>
+<DL>
+<DD>Facade interface to Tika's underlying <CODE>MimeTypes.getMimeType(File)</CODE>
+ method.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>f</CODE> - The <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io"><CODE>File</CODE></A> to sense the <CODE>MimeType</CODE> for.
+<DT><B>Returns:</B><DD>The <CODE>MimeType</CODE> of the given <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html" title="class or interface in java.io"><CODE>File</CODE></A>, or null if it
+ cannot be determined.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isMimeMagic()"><!-- --></A><H3>
+isMimeMagic</H3>
+<PRE>
+public boolean <B>isMimeMagic</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setMimeMagic(boolean)"><!-- --></A><H3>
+setMimeMagic</H3>
+<PRE>
+public void <B>setMimeMagic</B>(boolean mimeMagic)</PRE>
+<DL>
+<DD><DL>
+</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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MimeUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/droids/helper/MimeUtil.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="MimeUtil.html" target="_top"><B>NO FRAMES</B></A>
+ <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2008 The Apache Software Foundation
+</BODY>
+</HTML>
Propchange: labs/droids/trunk/docs/api/org/apache/droids/helper/MimeUtil.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/StAX.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/StAX.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/StAX.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/StAX.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:56 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
<TITLE>
StAX (Droids initial API)
</TITLE>
@@ -52,8 +52,8 @@
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
- NEXT CLASS</FONT></TD>
+ <A HREF="../../../../org/apache/droids/helper/MimeUtil.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/droids/helper/Streams.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/droids/helper/StAX.html" target="_top"><B>FRAMES</B></A>
<A HREF="StAX.html" target="_top"><B>NO FRAMES</B></A>
@@ -99,6 +99,16 @@
</PRE>
<P>
+Helper class that eases the usage of StAX in your plugins.
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>thorsten</DD>
+</DL>
<HR>
<P>
@@ -151,7 +161,7 @@
<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/StAX.html#getEventFactory()">getEventFactory</A></B>()</CODE>
<BR>
- </TD>
+ Get the ready to used EventFactory</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -159,7 +169,7 @@
<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/StAX.html#getEventParser(java.io.InputStream)">getEventParser</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in)</CODE>
<BR>
- </TD>
+ Get an event Parser based on the incoming stream</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -167,7 +177,7 @@
<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/StAX.html#getParser(java.io.InputStream)">getParser</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in)</CODE>
<BR>
- </TD>
+ Get a stream Parser based on the incoming stream</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -175,7 +185,7 @@
<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/StAX.html#getStreamWriter(java.io.OutputStream)">getStreamWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream)</CODE>
<BR>
- </TD>
+ Get a stream writer based on the incoming stream</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -183,7 +193,7 @@
<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/StAX.html#getWriter(java.io.OutputStream)">getWriter</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream)</CODE>
<BR>
- </TD>
+ Get an event writer based on the incoming stream</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
@@ -233,8 +243,11 @@
public javax.xml.stream.XMLEventWriter <B>getWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream)
throws javax.xml.stream.XMLStreamException</PRE>
<DL>
+<DD>Get an event writer based on the incoming stream
+<P>
<DD><DL>
-
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - the stream we want to write to
+<DT><B>Returns:</B><DD>ready to use event writer
<DT><B>Throws:</B>
<DD><CODE>javax.xml.stream.XMLStreamException</CODE></DL>
</DD>
@@ -247,8 +260,11 @@
public javax.xml.stream.XMLStreamWriter <B>getStreamWriter</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> stream)
throws javax.xml.stream.XMLStreamException</PRE>
<DL>
+<DD>Get a stream writer based on the incoming stream
+<P>
<DD><DL>
-
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - the stream we want to write to
+<DT><B>Returns:</B><DD>ready to use stream writer
<DT><B>Throws:</B>
<DD><CODE>javax.xml.stream.XMLStreamException</CODE></DL>
</DD>
@@ -261,8 +277,11 @@
public javax.xml.stream.XMLEventReader <B>getEventParser</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in)
throws javax.xml.stream.XMLStreamException</PRE>
<DL>
+<DD>Get an event Parser based on the incoming stream
+<P>
<DD><DL>
-
+<DT><B>Parameters:</B><DD><CODE>in</CODE> - the stream we want to read from
+<DT><B>Returns:</B><DD>ready to use event parser
<DT><B>Throws:</B>
<DD><CODE>javax.xml.stream.XMLStreamException</CODE></DL>
</DD>
@@ -275,8 +294,11 @@
public javax.xml.stream.XMLStreamReader <B>getParser</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in)
throws javax.xml.stream.XMLStreamException</PRE>
<DL>
+<DD>Get a stream Parser based on the incoming stream
+<P>
<DD><DL>
-
+<DT><B>Parameters:</B><DD><CODE>in</CODE> - the stream we want to read from
+<DT><B>Returns:</B><DD>ready to use stream parser
<DT><B>Throws:</B>
<DD><CODE>javax.xml.stream.XMLStreamException</CODE></DL>
</DD>
@@ -288,8 +310,11 @@
<PRE>
public javax.xml.stream.XMLEventFactory <B>getEventFactory</B>()</PRE>
<DL>
+<DD>Get the ready to used EventFactory
+<P>
<DD><DL>
-</DL>
+
+<DT><B>Returns:</B><DD>ready to used EventFactory</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
@@ -323,8 +348,8 @@
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
- NEXT CLASS</FONT></TD>
+ <A HREF="../../../../org/apache/droids/helper/MimeUtil.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/droids/helper/Streams.html" title="class in org.apache.droids.helper"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/droids/helper/StAX.html" target="_top"><B>FRAMES</B></A>
<A HREF="StAX.html" target="_top"><B>NO FRAMES</B></A>
@@ -353,6 +378,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
Added: labs/droids/trunk/docs/api/org/apache/droids/helper/Streams.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/Streams.html?rev=688432&view=auto
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/Streams.html (added)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/Streams.html Sat Aug 23 16:44:31 2008
@@ -0,0 +1,266 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
+<TITLE>
+Streams (Droids initial API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.droids.helper.Streams class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Streams (Droids initial API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= 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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Streams.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
+ NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/droids/helper/Streams.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Streams.html" target="_top"><B>NO FRAMES</B></A>
+ <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <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.droids.helper</FONT>
+<BR>
+Class Streams</H2>
+<PRE>
+<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.droids.helper.Streams</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Streams</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
+</PRE>
+
+<P>
+Helper class for the low level treatment of bytes and streams. Principal
+ usage is to receive a copy of an input stream.
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>thorsten</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ========== 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>static byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/Streams.html#streamCopy(java.io.InputStream)">streamCopy</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in)</CODE>
+
+<BR>
+ Reads all bytes from the given input stream and returns the result in an
+ array.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static byte[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/droids/helper/Streams.html#streamCopy(java.io.InputStream, int)">streamCopy</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in,
+ int size)</CODE>
+
+<BR>
+ Reads the specified number of bytes from the given input stream and returns
+ the result in an array.</TD>
+</TR>
+</TABLE>
+ <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://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://
java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<!-- ============ 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="streamCopy(java.io.InputStream)"><!-- --></A><H3>
+streamCopy</H3>
+<PRE>
+public static byte[] <B>streamCopy</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in)
+ throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD>Reads all bytes from the given input stream and returns the result in an
+ array.
+ <p>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input stream to read the bytes from
+<DT><B>Returns:</B><DD>the byte content of the input stream
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - in case of errors in the underlying java.io methods used</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="streamCopy(java.io.InputStream, int)"><!-- --></A><H3>
+streamCopy</H3>
+<PRE>
+public static byte[] <B>streamCopy</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in,
+ int size)
+ throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD>Reads the specified number of bytes from the given input stream and returns
+ the result in an array.
+ <p>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input stream to read the bytes from<DD><CODE>size</CODE> - the number of bytes to read
+<DT><B>Returns:</B><DD>the byte content read from the input stream
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - in case of errors in the underlying java.io methods used</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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Streams.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper"><B>PREV CLASS</B></A>
+ NEXT CLASS</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/droids/helper/Streams.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Streams.html" target="_top"><B>NO FRAMES</B></A>
+ <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2008 The Apache Software Foundation
+</BODY>
+</HTML>
Propchange: labs/droids/trunk/docs/api/org/apache/droids/helper/Streams.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Loggable.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Loggable.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Loggable.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Loggable.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:57 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:48 CEST 2008 -->
<TITLE>
Uses of Class org.apache.droids.helper.Loggable (Droids initial API)
</TITLE>
@@ -87,7 +87,23 @@
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.apache.droids.helper"><B>org.apache.droids.helper</B></A></TD>
-<TD> </TD>
+<TD>This package contains various helper. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.apache.droids.net"><B>org.apache.droids.net</B></A></TD>
+<TD>This package contains various helper for the work with protocols and network communication. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.apache.droids.parse.html"><B>org.apache.droids.parse.html</B></A></TD>
+<TD>This package contains various parser. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.apache.droids.protocol"><B>org.apache.droids.protocol</B></A></TD>
+<TD>This package contains various class around the support of protocol specific classes. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="#org.apache.droids.protocol.http"><B>org.apache.droids.protocol.http</B></A></TD>
+<TD>This package contains various http protocol implementations. </TD>
</TR>
</TABLE>
@@ -112,11 +128,112 @@
<TD><CODE><B><A HREF="../../../../../org/apache/droids/helper/StAX.html" title="class in org.apache.droids.helper">StAX</A></B></CODE>
<BR>
+ Helper class that eases the usage of StAX in your plugins.</TD>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.apache.droids.net"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Uses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/net/package-summary.html">org.apache.droids.net</A></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/net/package-summary.html">org.apache.droids.net</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> class</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/droids/net/RegexURLFilter.html" title="class in org.apache.droids.net">RegexURLFilter</A></B></CODE>
+
+<BR>
+ Regular expression implementation of an UrlFilter.</TD>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.apache.droids.parse.html"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Uses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/parse/html/package-summary.html">org.apache.droids.parse.html</A></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/parse/html/package-summary.html">org.apache.droids.parse.html</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> class</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/droids/parse/html/HtmlParser.html" title="class in org.apache.droids.parse.html">HtmlParser</A></B></CODE>
+
+<BR>
</TD>
</TR>
</TABLE>
<P>
+<A NAME="org.apache.droids.protocol"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Uses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/protocol/package-summary.html">org.apache.droids.protocol</A></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/protocol/package-summary.html">org.apache.droids.protocol</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> class</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/droids/protocol/HttpBase.html" title="class in org.apache.droids.protocol">HttpBase</A></B></CODE>
+
+<BR>
+ Helper class that provides basic methods like returning the agent string and
+ content type.</TD>
+</TR>
+</TABLE>
+
+<P>
+<A NAME="org.apache.droids.protocol.http"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+Uses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/protocol/http/package-summary.html">org.apache.droids.protocol.http</A></FONT></TH>
+</TR>
+</TABLE>
+
+<P>
+
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../../org/apache/droids/helper/Loggable.html" title="class in org.apache.droids.helper">Loggable</A> in <A HREF="../../../../../org/apache/droids/protocol/http/package-summary.html">org.apache.droids.protocol.http</A></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> class</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/droids/protocol/http/Http.html" title="class in org.apache.droids.protocol.http">Http</A></B></CODE>
+
+<BR>
+ Simple implementation for http protocol.</TD>
+</TR>
+</TABLE>
+
+<P>
<HR>
@@ -171,6 +288,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
Added: labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/MimeUtil.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/MimeUtil.html?rev=688432&view=auto
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/MimeUtil.html (added)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/MimeUtil.html Sat Aug 23 16:44:31 2008
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:48 CEST 2008 -->
+<TITLE>
+Uses of Class org.apache.droids.helper.MimeUtil (Droids initial API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Uses of Class org.apache.droids.helper.MimeUtil (Droids initial API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= 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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/droids/helper/MimeUtil.html" title="class in org.apache.droids.helper"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/droids/helper//class-useMimeUtil.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="MimeUtil.html" target="_top"><B>NO FRAMES</B></A>
+ <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>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.apache.droids.helper.MimeUtil</B></H2>
+</CENTER>
+No usage of org.apache.droids.helper.MimeUtil
+<P>
+<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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/droids/helper/MimeUtil.html" title="class in org.apache.droids.helper"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/droids/helper//class-useMimeUtil.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="MimeUtil.html" target="_top"><B>NO FRAMES</B></A>
+ <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>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2008 The Apache Software Foundation
+</BODY>
+</HTML>
Propchange: labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/MimeUtil.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/StAX.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/StAX.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/StAX.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/StAX.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:57 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:48 CEST 2008 -->
<TITLE>
Uses of Class org.apache.droids.helper.StAX (Droids initial API)
</TITLE>
@@ -135,6 +135,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
Added: labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Streams.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Streams.html?rev=688432&view=auto
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Streams.html (added)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Streams.html Sat Aug 23 16:44:31 2008
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:48 CEST 2008 -->
+<TITLE>
+Uses of Class org.apache.droids.helper.Streams (Droids initial API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Uses of Class org.apache.droids.helper.Streams (Droids initial API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= 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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/droids/helper/Streams.html" title="class in org.apache.droids.helper"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/droids/helper//class-useStreams.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Streams.html" target="_top"><B>NO FRAMES</B></A>
+ <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>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<CENTER>
+<H2>
+<B>Uses of Class<br>org.apache.droids.helper.Streams</B></H2>
+</CENTER>
+No usage of org.apache.droids.helper.Streams
+<P>
+<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> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/droids/helper/Streams.html" title="class in org.apache.droids.helper"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ PREV
+ NEXT</FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../../index.html?org/apache/droids/helper//class-useStreams.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="Streams.html" target="_top"><B>NO FRAMES</B></A>
+ <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>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 2008 The Apache Software Foundation
+</BODY>
+</HTML>
Propchange: labs/droids/trunk/docs/api/org/apache/droids/helper/class-use/Streams.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/factories/DroidFactory.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/factories/DroidFactory.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/factories/DroidFactory.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/factories/DroidFactory.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:56 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
<TITLE>
DroidFactory (Droids initial API)
</TITLE>
@@ -99,6 +99,16 @@
</PRE>
<P>
+Factory that will lookup a droid by its name and returns it.
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>thorsten</DD>
+</DL>
<HR>
<P>
@@ -151,7 +161,7 @@
<TD><CODE><B><A HREF="../../../../../org/apache/droids/helper/factories/DroidFactory.html#getDroid(java.lang.String)">getDroid</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
<BR>
- </TD>
+ Lookup a droid by its name and return it.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.droids.helper.factories.GenericFactory"><!-- --></A>
@@ -160,7 +170,7 @@
<TH ALIGN="left"><B>Methods inherited from class org.apache.droids.helper.factories.<A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html" title="class in org.apache.droids.helper.factories">GenericFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#getMap()">getMap</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#resolve(java.lang.String)">resolve</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.LinkedHashMap)">setMap</A></CODE></TD>
+<TD><CODE><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#getMap()">getMap</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#resolve(java.lang.String)">resolve</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.Map)">setMap</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
@@ -207,8 +217,11 @@
<PRE>
public <A HREF="../../../../../org/apache/droids/api/Droid.html" title="interface in org.apache.droids.api">Droid</A> <B>getDroid</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE>
<DL>
+<DD>Lookup a droid by its name and return it.
+<P>
<DD><DL>
-</DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - the droid we want to use
+<DT><B>Returns:</B><DD>the droid registered for the given name</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
@@ -272,6 +285,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/factories/GenericFactory.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/factories/GenericFactory.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/factories/GenericFactory.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/factories/GenericFactory.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:56 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
<TITLE>
GenericFactory (Droids initial API)
</TITLE>
@@ -101,6 +101,17 @@
</PRE>
<P>
+Basically all factories till now extend this generic factory. The core is a
+ simple Map.
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>thorsten</DD>
+</DL>
<HR>
<P>
@@ -148,11 +159,11 @@
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/LinkedHashMap.html" title="class or interface in java.util">LinkedHashMap</A><<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
+<CODE> <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#getMap()">getMap</A></B>()</CODE>
<BR>
- </TD>
+ Get the register which contains all components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -160,16 +171,15 @@
<TD><CODE><B><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#resolve(java.lang.String)">resolve</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</CODE>
<BR>
- Will lookup which component is linked to the name
- and will return it.</TD>
+ Will lookup which component is linked to the name and will return it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.LinkedHashMap)">setMap</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/LinkedHashMap.html" title="class or interface in java.util">LinkedHashMap</A><<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> map)</CODE>
+<TD><CODE><B><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.Map)">setMap</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> map)</CODE>
<BR>
- </TD>
+ Set the register which contains all components.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
@@ -233,21 +243,26 @@
<A NAME="getMap()"><!-- --></A><H3>
getMap</H3>
<PRE>
-public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/LinkedHashMap.html" title="class or interface in java.util">LinkedHashMap</A><<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> <B>getMap</B>()</PRE>
+public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getMap</B>()</PRE>
<DL>
+<DD>Get the register which contains all components.
+<P>
<DD><DL>
-</DL>
+
+<DT><B>Returns:</B><DD>the register which contains all components</DL>
</DD>
</DL>
<HR>
-<A NAME="setMap(java.util.LinkedHashMap)"><!-- --></A><H3>
+<A NAME="setMap(java.util.Map)"><!-- --></A><H3>
setMap</H3>
<PRE>
-public void <B>setMap</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/LinkedHashMap.html" title="class or interface in java.util">LinkedHashMap</A><<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> map)</PRE>
+public void <B>setMap</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> map)</PRE>
<DL>
+<DD>Set the register which contains all components.
+<P>
<DD><DL>
-</DL>
+<DT><B>Parameters:</B><DD><CODE>map</CODE> - the register which contains all components.</DL>
</DD>
</DL>
<HR>
@@ -257,8 +272,7 @@
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>resolve</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE>
<DL>
-<DD>Will lookup which component is linked to the name
- and will return it.
+<DD>Will lookup which component is linked to the name and will return it.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - -the name of the component you need.
@@ -326,6 +340,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/factories/HandlerFactory.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/factories/HandlerFactory.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/factories/HandlerFactory.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/factories/HandlerFactory.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:56 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
<TITLE>
HandlerFactory (Droids initial API)
</TITLE>
@@ -99,6 +99,16 @@
</PRE>
<P>
+Factory that will traverse all registered handler and execute them.
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>thorsten</DD>
+</DL>
<HR>
<P>
@@ -153,7 +163,7 @@
<A HREF="../../../../../org/apache/droids/api/Parse.html" title="interface in org.apache.droids.api">Parse</A> parse)</CODE>
<BR>
- </TD>
+ Will traverse all registered handler and execute them.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.droids.helper.factories.GenericFactory"><!-- --></A>
@@ -162,7 +172,7 @@
<TH ALIGN="left"><B>Methods inherited from class org.apache.droids.helper.factories.<A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html" title="class in org.apache.droids.helper.factories">GenericFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#getMap()">getMap</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#resolve(java.lang.String)">resolve</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.LinkedHashMap)">setMap</A></CODE></TD>
+<TD><CODE><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#getMap()">getMap</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#resolve(java.lang.String)">resolve</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.Map)">setMap</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
@@ -211,8 +221,12 @@
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> url,
<A HREF="../../../../../org/apache/droids/api/Parse.html" title="interface in org.apache.droids.api">Parse</A> parse)</PRE>
<DL>
+<DD>Will traverse all registered handler and execute them. If we encounter a
+ problem we directly return false and leave.
+<P>
<DD><DL>
-</DL>
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - the underlying stream<DD><CODE>url</CODE> - the underlying url<DD><CODE>parse</CODE> - the underlying parse object
+<DT><B>Returns:</B><DD>false if we found a problem, true if all went well</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
@@ -276,6 +290,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
Modified: labs/droids/trunk/docs/api/org/apache/droids/helper/factories/ParserFactory.html
URL: http://svn.apache.org/viewvc/labs/droids/trunk/docs/api/org/apache/droids/helper/factories/ParserFactory.html?rev=688432&r1=688431&r2=688432&view=diff
==============================================================================
--- labs/droids/trunk/docs/api/org/apache/droids/helper/factories/ParserFactory.html (original)
+++ labs/droids/trunk/docs/api/org/apache/droids/helper/factories/ParserFactory.html Sat Aug 23 16:44:31 2008
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_12) on Tue Mar 18 01:10:56 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_12) on Sun Aug 24 01:37:47 CEST 2008 -->
<TITLE>
ParserFactory (Droids initial API)
</TITLE>
@@ -99,6 +99,16 @@
</PRE>
<P>
+Factory that will lookup a parser by its identifier and return it.
+<P>
+
+<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>1.0</DD>
+<DT><B>Author:</B></DT>
+ <DD>thorsten</DD>
+</DL>
<HR>
<P>
@@ -151,7 +161,7 @@
<TD><CODE><B><A HREF="../../../../../org/apache/droids/helper/factories/ParserFactory.html#getParser(java.lang.String)">getParser</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> contentType)</CODE>
<BR>
- </TD>
+ Lookup a parser by its identifier (content type) and return it.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.droids.helper.factories.GenericFactory"><!-- --></A>
@@ -160,7 +170,7 @@
<TH ALIGN="left"><B>Methods inherited from class org.apache.droids.helper.factories.<A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html" title="class in org.apache.droids.helper.factories">GenericFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#getMap()">getMap</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#resolve(java.lang.String)">resolve</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.LinkedHashMap)">setMap</A></CODE></TD>
+<TD><CODE><A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#getMap()">getMap</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#resolve(java.lang.String)">resolve</A>, <A HREF="../../../../../org/apache/droids/helper/factories/GenericFactory.html#setMap(java.util.Map)">setMap</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
@@ -208,8 +218,11 @@
public <A HREF="../../../../../org/apache/droids/api/Parser.html" title="interface in org.apache.droids.api">Parser</A> <B>getParser</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> contentType)
throws <A HREF="../../../../../org/apache/droids/exception/DroidsException.html" title="class in org.apache.droids.exception">DroidsException</A></PRE>
<DL>
+<DD>Lookup a parser by its identifier (content type) and return it.
+<P>
<DD><DL>
-
+<DT><B>Parameters:</B><DD><CODE>contentType</CODE> - for which content type we need a parser
+<DT><B>Returns:</B><DD>null if we do not find a registered Parser otherwise the Parser
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/droids/exception/DroidsException.html" title="class in org.apache.droids.exception">DroidsException</A></CODE></DL>
</DD>
@@ -275,6 +288,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2007 The Apache Software Foundation
+Copyright © 2008 The Apache Software Foundation
</BODY>
</HTML>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org