You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2017/05/09 19:15:23 UTC
[22/51] [partial] jspwiki-site git commit: Automatic Site Publish by
Buildbot
http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/edae175e/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.html
----------------------------------------------------------------------
diff --git a/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.html b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.html
new file mode 100755
index 0000000..09aa198
--- /dev/null
+++ b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.html
@@ -0,0 +1,875 @@
+<!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.6.0_19) on Fri May 23 21:23:16 CEST 2014 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+AttachmentManager (Apache JSPWiki Main War 2.10.1 API)
+</TITLE>
+
+<META NAME="date" CONTENT="2014-05-23">
+
+<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="AttachmentManager (Apache JSPWiki Main War 2.10.1 API)";
+ }
+}
+</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> </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/AttachmentManager.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/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/wiki/attachment/AttachmentServlet.html" title="class in org.apache.wiki.attachment"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/wiki/attachment/AttachmentManager.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="AttachmentManager.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <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.wiki.attachment</FONT>
+<BR>
+Class AttachmentManager</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 "><B>org.apache.wiki.attachment.AttachmentManager</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.59"><B>AttachmentManager</B></A><DT>extends <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></DL>
+</PRE>
+<map id="APIVIZ" name="APIVIZ">
+<area shape="rect" id="node1" href="AttachmentManager.html" title="AttachmentManager" alt="" coords="5,6,144,34"/>
+</map>
+<div id="apivizContainer" style="text-align: center;"><img src="AttachmentManager.png" usemap="#APIVIZ" border="0"></div>
+
+<P>
+Provides facilities for handling attachments. All attachment
+ handling goes through this class.
+ <p>
+ The AttachmentManager provides a facade towards the current WikiAttachmentProvider
+ that is in use. It is created by the WikiEngine as a singleton object, and
+ can be requested through the WikiEngine.
+<P>
+
+<P>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>1.9.28</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== 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 <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#CACHE_NAME">CACHE_NAME</A></B></CODE>
+
+<BR>
+ Name of the page cache.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#DEFAULT_CACHECAPACITY">DEFAULT_CACHECAPACITY</A></B></CODE>
+
+<BR>
+ The capacity of the cache, if you want something else, tweak ehcache.xml.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#PROP_ALLOWEDEXTENSIONS">PROP_ALLOWEDEXTENSIONS</A></B></CODE>
+
+<BR>
+ A space-separated list of attachment types which can be uploaded</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#PROP_FORDBIDDENEXTENSIONS">PROP_FORDBIDDENEXTENSIONS</A></B></CODE>
+
+<BR>
+ A space-separated list of attachment types which cannot be uploaded</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#PROP_MAXSIZE">PROP_MAXSIZE</A></B></CODE>
+
+<BR>
+ The maximum size of attachments that can be uploaded.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#PROP_PROVIDER">PROP_PROVIDER</A></B></CODE>
+
+<BR>
+ The property name for defining the attachment provider class name.</TD>
+</TR>
+</TABLE>
+
+<!-- ======== 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/wiki/attachment/AttachmentManager.html#AttachmentManager(org.apache.wiki.WikiEngine, java.util.Properties)">AttachmentManager</A></B>(<A HREF="../../../../org/apache/wiki/WikiEngine.html" title="class in org.apache.wiki">WikiEngine</A> engine,
+ <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> props)</CODE>
+
+<BR>
+ Creates a new AttachmentManager.</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> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#attachmentsEnabled()">attachmentsEnabled</A></B>()</CODE>
+
+<BR>
+ Returns true, if attachments are enabled and running.</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/wiki/attachment/AttachmentManager.html#deleteAttachment(org.apache.wiki.attachment.Attachment)">deleteAttachment</A></B>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)</CODE>
+
+<BR>
+ Deletes all versions of the given attachment.</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/wiki/attachment/AttachmentManager.html#deleteVersion(org.apache.wiki.attachment.Attachment)">deleteVersion</A></B>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)</CODE>
+
+<BR>
+ Deletes the given attachment version.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAllAttachments()">getAllAttachments</A></B>()</CODE>
+
+<BR>
+ Returns a collection of Attachments, containing each and every attachment
+ that is in this Wiki.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAttachmentInfo(java.lang.String)">getAttachmentInfo</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> name)</CODE>
+
+<BR>
+ Gets info on a particular attachment, latest version.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAttachmentInfo(java.lang.String, int)">getAttachmentInfo</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> name,
+ int version)</CODE>
+
+<BR>
+ Gets info on a particular attachment with the given version.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAttachmentInfo(org.apache.wiki.WikiContext, java.lang.String)">getAttachmentInfo</A></B>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> context,
+ <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> attachmentname)</CODE>
+
+<BR>
+ Figures out the full attachment name from the context and
+ attachment name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAttachmentInfo(org.apache.wiki.WikiContext, java.lang.String, int)">getAttachmentInfo</A></B>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> context,
+ <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> attachmentname,
+ int version)</CODE>
+
+<BR>
+ Figures out the full attachment name from the context and
+ attachment name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAttachmentStream(org.apache.wiki.attachment.Attachment)">getAttachmentStream</A></B>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)</CODE>
+
+<BR>
+ Finds a (real) attachment from the repository as a stream.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAttachmentStream(org.apache.wiki.WikiContext, org.apache.wiki.attachment.Attachment)">getAttachmentStream</A></B>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> ctx,
+ <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)</CODE>
+
+<BR>
+ Returns an attachment stream using the particular WikiContext.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/wiki/providers/WikiAttachmentProvider.html" title="interface in org.apache.wiki.providers">WikiAttachmentProvider</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getCurrentProvider()">getCurrentProvider</A></B>()</CODE>
+
+<BR>
+ Returns the current attachment provider.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../org/apache/wiki/attachment/DynamicAttachment.html" title="class in org.apache.wiki.attachment">DynamicAttachment</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getDynamicAttachment(java.lang.String)">getDynamicAttachment</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> name)</CODE>
+
+<BR>
+ Finds a DynamicAttachment.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getVersionHistory(java.lang.String)">getVersionHistory</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> attachmentName)</CODE>
+
+<BR>
+ Returns a list of versions of the attachment.</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/wiki/attachment/AttachmentManager.html#hasAttachments(org.apache.wiki.WikiPage)">hasAttachments</A></B>(<A HREF="../../../../org/apache/wiki/WikiPage.html" title="class in org.apache.wiki">WikiPage</A> wikipage)</CODE>
+
+<BR>
+ Returns true, if the page has any attachments at all.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#listAttachments(org.apache.wiki.WikiPage)">listAttachments</A></B>(<A HREF="../../../../org/apache/wiki/WikiPage.html" title="class in org.apache.wiki">WikiPage</A> wikipage)</CODE>
+
+<BR>
+ Returns the list of attachments associated with a given wiki page.</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/wiki/attachment/AttachmentManager.html#storeAttachment(org.apache.wiki.attachment.Attachment, java.io.File)">storeAttachment</A></B>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att,
+ <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> source)</CODE>
+
+<BR>
+ Stores an attachment that lives in the given file.</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/wiki/attachment/AttachmentManager.html#storeAttachment(org.apache.wiki.attachment.Attachment, java.io.InputStream)">storeAttachment</A></B>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att,
+ <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> in)</CODE>
+
+<BR>
+ Stores an attachment directly from a stream.</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/wiki/attachment/AttachmentManager.html#storeDynamicAttachment(org.apache.wiki.WikiContext, org.apache.wiki.attachment.DynamicAttachment)">storeDynamicAttachment</A></B>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> ctx,
+ <A HREF="../../../../org/apache/wiki/attachment/DynamicAttachment.html" title="class in org.apache.wiki.attachment">DynamicAttachment</A> att)</CODE>
+
+<BR>
+ Stores a dynamic attachment.</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://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>
+
+<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="PROP_PROVIDER"><!-- --></A><H3>
+PROP_PROVIDER</H3>
+<PRE>
+public static final <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.64"><B>PROP_PROVIDER</B></A></PRE>
+<DL>
+<DD>The property name for defining the attachment provider class name.
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.wiki.attachment.AttachmentManager.PROP_PROVIDER">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="PROP_MAXSIZE"><!-- --></A><H3>
+PROP_MAXSIZE</H3>
+<PRE>
+public static final <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.69"><B>PROP_MAXSIZE</B></A></PRE>
+<DL>
+<DD>The maximum size of attachments that can be uploaded.
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.wiki.attachment.AttachmentManager.PROP_MAXSIZE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="PROP_ALLOWEDEXTENSIONS"><!-- --></A><H3>
+PROP_ALLOWEDEXTENSIONS</H3>
+<PRE>
+public static final <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.74"><B>PROP_ALLOWEDEXTENSIONS</B></A></PRE>
+<DL>
+<DD>A space-separated list of attachment types which can be uploaded
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.wiki.attachment.AttachmentManager.PROP_ALLOWEDEXTENSIONS">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="PROP_FORDBIDDENEXTENSIONS"><!-- --></A><H3>
+PROP_FORDBIDDENEXTENSIONS</H3>
+<PRE>
+public static final <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.79"><B>PROP_FORDBIDDENEXTENSIONS</B></A></PRE>
+<DL>
+<DD>A space-separated list of attachment types which cannot be uploaded
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.wiki.attachment.AttachmentManager.PROP_FORDBIDDENEXTENSIONS">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="CACHE_NAME"><!-- --></A><H3>
+CACHE_NAME</H3>
+<PRE>
+public static final <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.88"><B>CACHE_NAME</B></A></PRE>
+<DL>
+<DD>Name of the page cache.
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.wiki.attachment.AttachmentManager.CACHE_NAME">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DEFAULT_CACHECAPACITY"><!-- --></A><H3>
+DEFAULT_CACHECAPACITY</H3>
+<PRE>
+public static final int <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.91"><B>DEFAULT_CACHECAPACITY</B></A></PRE>
+<DL>
+<DD>The capacity of the cache, if you want something else, tweak ehcache.xml.
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.wiki.attachment.AttachmentManager.DEFAULT_CACHECAPACITY">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="AttachmentManager(org.apache.wiki.WikiEngine, java.util.Properties)"><!-- --></A><H3>
+AttachmentManager</H3>
+<PRE>
+public <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.107"><B>AttachmentManager</B></A>(<A HREF="../../../../org/apache/wiki/WikiEngine.html" title="class in org.apache.wiki">WikiEngine</A> engine,
+ <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</A> props)</PRE>
+<DL>
+<DD>Creates a new AttachmentManager. Note that creation will never fail,
+ but it's quite likely that attachments do not function.
+ <p>
+ <b>DO NOT CREATE</b> an AttachmentManager on your own, unless you really
+ know what you're doing. Just use WikiEngine.getAttachmentManager() if
+ you're making a module for JSPWiki.
+<P>
+<DL>
+<DT><B>Parameters:</B><DD><CODE>engine</CODE> - The wikiengine that owns this attachment manager.<DD><CODE>props</CODE> - A list of properties from which the AttachmentManager will seek
+ its configuration. Typically this is the "jspwiki.properties".</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="attachmentsEnabled()"><!-- --></A><H3>
+attachmentsEnabled</H3>
+<PRE>
+public boolean <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.184"><B>attachmentsEnabled</B></A>()</PRE>
+<DL>
+<DD>Returns true, if attachments are enabled and running.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A boolean value indicating whether attachment functionality is enabled.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttachmentInfo(java.lang.String)"><!-- --></A><H3>
+getAttachmentInfo</H3>
+<PRE>
+public <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.196"><B>getAttachmentInfo</B></A>(<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> name)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Gets info on a particular attachment, latest version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - A full attachment name.
+<DT><B>Returns:</B><DD>Attachment, or null, if no such attachment exists.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something goes wrong.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttachmentInfo(java.lang.String, int)"><!-- --></A><H3>
+getAttachmentInfo</H3>
+<PRE>
+public <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.211"><B>getAttachmentInfo</B></A>(<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> name,
+ int version)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Gets info on a particular attachment with the given version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - A full attachment name.<DD><CODE>version</CODE> - A version number.
+<DT><B>Returns:</B><DD>Attachment, or null, if no such attachment or version exists.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something goes wrong.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttachmentInfo(org.apache.wiki.WikiContext, java.lang.String)"><!-- --></A><H3>
+getAttachmentInfo</H3>
+<PRE>
+public <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.232"><B>getAttachmentInfo</B></A>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> context,
+ <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> attachmentname)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Figures out the full attachment name from the context and
+ attachment name.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>context</CODE> - The current WikiContext<DD><CODE>attachmentname</CODE> - The file name of the attachment.
+<DT><B>Returns:</B><DD>Attachment, or null, if no such attachment exists.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something goes wrong.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttachmentInfo(org.apache.wiki.WikiContext, java.lang.String, int)"><!-- --></A><H3>
+getAttachmentInfo</H3>
+<PRE>
+public <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.250"><B>getAttachmentInfo</B></A>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> context,
+ <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> attachmentname,
+ int version)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Figures out the full attachment name from the context and
+ attachment name.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>context</CODE> - The current WikiContext<DD><CODE>attachmentname</CODE> - The file name of the attachment.<DD><CODE>version</CODE> - A particular version.
+<DT><B>Returns:</B><DD>Attachment, or null, if no such attachment or version exists.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something goes wrong.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="listAttachments(org.apache.wiki.WikiPage)"><!-- --></A><H3>
+listAttachments</H3>
+<PRE>
+public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.335"><B>listAttachments</B></A>(<A HREF="../../../../org/apache/wiki/WikiPage.html" title="class in org.apache.wiki">WikiPage</A> wikipage)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Returns the list of attachments associated with a given wiki page.
+ If there are no attachments, returns an empty Collection.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>wikipage</CODE> - The wiki page from which you are seeking attachments for.
+<DT><B>Returns:</B><DD>a valid collection of attachments.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If there was something wrong in the backend.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="hasAttachments(org.apache.wiki.WikiPage)"><!-- --></A><H3>
+hasAttachments</H3>
+<PRE>
+public boolean <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.364"><B>hasAttachments</B></A>(<A HREF="../../../../org/apache/wiki/WikiPage.html" title="class in org.apache.wiki">WikiPage</A> wikipage)</PRE>
+<DL>
+<DD>Returns true, if the page has any attachments at all. This is
+ a convinience method.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>wikipage</CODE> - The wiki page from which you are seeking attachments for.
+<DT><B>Returns:</B><DD>True, if the page has attachments, else false.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttachmentStream(org.apache.wiki.attachment.Attachment)"><!-- --></A><H3>
+getAttachmentStream</H3>
+<PRE>
+public <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.384"><B>getAttachmentStream</B></A>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)
+ throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Finds a (real) attachment from the repository as a stream.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>att</CODE> - Attachment
+<DT><B>Returns:</B><DD>An InputStream to read from. May return null, if
+ attachments are disabled.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - If the stream cannot be opened
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If the backend fails due to some other reason.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttachmentStream(org.apache.wiki.WikiContext, org.apache.wiki.attachment.Attachment)"><!-- --></A><H3>
+getAttachmentStream</H3>
+<PRE>
+public <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.403"><B>getAttachmentStream</B></A>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> ctx,
+ <A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A>,
+ <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD>Returns an attachment stream using the particular WikiContext. This method
+ should be used instead of getAttachmentStream(Attachment), since it also allows
+ the DynamicAttachments to function.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>ctx</CODE> - The Wiki Context<DD><CODE>att</CODE> - The Attachment to find
+<DT><B>Returns:</B><DD>An InputStream. May return null, if attachments are disabled. You must
+ take care of closing it.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If the backend fails due to some reason
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - If the stream cannot be opened</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="storeDynamicAttachment(org.apache.wiki.WikiContext, org.apache.wiki.attachment.DynamicAttachment)"><!-- --></A><H3>
+storeDynamicAttachment</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.428"><B>storeDynamicAttachment</B></A>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> ctx,
+ <A HREF="../../../../org/apache/wiki/attachment/DynamicAttachment.html" title="class in org.apache.wiki.attachment">DynamicAttachment</A> att)</PRE>
+<DL>
+<DD>Stores a dynamic attachment. Unlike storeAttachment(), this just stores
+ the attachment in the memory.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>ctx</CODE> - A WikiContext<DD><CODE>att</CODE> - An attachment to store</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDynamicAttachment(java.lang.String)"><!-- --></A><H3>
+getDynamicAttachment</H3>
+<PRE>
+public <A HREF="../../../../org/apache/wiki/attachment/DynamicAttachment.html" title="class in org.apache.wiki.attachment">DynamicAttachment</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.442"><B>getDynamicAttachment</B></A>(<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> name)</PRE>
+<DL>
+<DD>Finds a DynamicAttachment. Normally, you should just use getAttachmentInfo(),
+ since that will find also DynamicAttachments.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attachment to look for
+<DT><B>Returns:</B><DD>An Attachment, or null.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/wiki/attachment/AttachmentManager.html#getAttachmentInfo(java.lang.String)"><CODE>getAttachmentInfo(String)</CODE></A></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="storeAttachment(org.apache.wiki.attachment.Attachment, java.io.File)"><!-- --></A><H3>
+storeAttachment</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.467"><B>storeAttachment</B></A>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att,
+ <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> source)
+ throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Stores an attachment that lives in the given file.
+ If the attachment did not exist previously, this method
+ will create it. If it did exist, it stores a new version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>att</CODE> - Attachment to store this under.<DD><CODE>source</CODE> - A file to read from.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - If writing the attachment failed.
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something else went wrong.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="storeAttachment(org.apache.wiki.attachment.Attachment, java.io.InputStream)"><!-- --></A><H3>
+storeAttachment</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.495"><B>storeAttachment</B></A>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att,
+ <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> in)
+ throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Stores an attachment directly from a stream.
+ If the attachment did not exist previously, this method
+ will create it. If it did exist, it stores a new version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>att</CODE> - Attachment to store this under.<DD><CODE>in</CODE> - InputStream from which the attachment contents will be read.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - If writing the attachment failed.
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something else went wrong.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getVersionHistory(java.lang.String)"><!-- --></A><H3>
+getVersionHistory</H3>
+<PRE>
+public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.534"><B>getVersionHistory</B></A>(<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> attachmentName)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Returns a list of versions of the attachment.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>attachmentName</CODE> - A fully qualified name of the attachment.
+<DT><B>Returns:</B><DD>A list of Attachments. May return null, if attachments are
+ disabled.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If the provider fails for some reason.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllAttachments()"><!-- --></A><H3>
+getAllAttachments</H3>
+<PRE>
+public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.560"><B>getAllAttachments</B></A>()
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Returns a collection of Attachments, containing each and every attachment
+ that is in this Wiki.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A collection of attachments. If attachments are disabled, will
+ return an empty collection.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something went wrong with the backend</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getCurrentProvider()"><!-- --></A><H3>
+getCurrentProvider</H3>
+<PRE>
+public <A HREF="../../../../org/apache/wiki/providers/WikiAttachmentProvider.html" title="interface in org.apache.wiki.providers">WikiAttachmentProvider</A> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.576"><B>getCurrentProvider</B></A>()</PRE>
+<DL>
+<DD>Returns the current attachment provider.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The current provider. May be null, if attachments are disabled.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="deleteVersion(org.apache.wiki.attachment.Attachment)"><!-- --></A><H3>
+deleteVersion</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.587"><B>deleteVersion</B></A>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Deletes the given attachment version.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>att</CODE> - The attachment to delete
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If something goes wrong with the backend.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="deleteAttachment(org.apache.wiki.attachment.Attachment)"><!-- --></A><H3>
+deleteAttachment</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentManager.html#line.601"><B>deleteAttachment</B></A>(<A HREF="../../../../org/apache/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment">Attachment</A> att)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD>Deletes all versions of the given attachment.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>att</CODE> - The Attachment to delete.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - if something goes wrong with the backend.</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/AttachmentManager.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/wiki/attachment/Attachment.html" title="class in org.apache.wiki.attachment"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/wiki/attachment/AttachmentServlet.html" title="class in org.apache.wiki.attachment"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/wiki/attachment/AttachmentManager.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="AttachmentManager.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <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 © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.
+</BODY>
+</HTML>
http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/edae175e/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.png
----------------------------------------------------------------------
diff --git a/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.png b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.png
new file mode 100755
index 0000000..85f103d
Binary files /dev/null and b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentManager.png differ
http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/edae175e/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.html
----------------------------------------------------------------------
diff --git a/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.html b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.html
new file mode 100755
index 0000000..a6266b4
--- /dev/null
+++ b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.html
@@ -0,0 +1,505 @@
+<!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.6.0_19) on Fri May 23 21:23:16 CEST 2014 -->
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<TITLE>
+AttachmentServlet (Apache JSPWiki Main War 2.10.1 API)
+</TITLE>
+
+<META NAME="date" CONTENT="2014-05-23">
+
+<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="AttachmentServlet (Apache JSPWiki Main War 2.10.1 API)";
+ }
+}
+</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> </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/AttachmentServlet.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/wiki/attachment/AttachmentManager.html" title="class in org.apache.wiki.attachment"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/wiki/attachment/DynamicAttachment.html" title="class in org.apache.wiki.attachment"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/wiki/attachment/AttachmentServlet.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="AttachmentServlet.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <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.wiki.attachment</FONT>
+<BR>
+Class AttachmentServlet</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 ">javax.servlet.GenericServlet
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">javax.servlet.http.HttpServlet
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.wiki.attachment.AttachmentServlet</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, javax.servlet.Servlet, javax.servlet.ServletConfig</DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.75"><B>AttachmentServlet</B></A><DT>extends javax.servlet.http.HttpServlet</DL>
+</PRE>
+<map id="APIVIZ" name="APIVIZ">
+<area shape="rect" id="node1" title="HttpServlet (javax.servlet.http)" alt="" coords="7,5,132,51"/>
+<area shape="rect" id="node2" href="AttachmentServlet.html" title="AttachmentServlet" alt="" coords="5,90,133,118"/>
+</map>
+<div id="apivizContainer" style="text-align: center;"><img src="AttachmentServlet.png" usemap="#APIVIZ" border="0"></div>
+
+<P>
+This is the chief JSPWiki attachment management servlet. It is used for
+ both uploading new content and downloading old content. It can handle
+ most common cases, e.g. check for modifications and return 304's as necessary.
+ <p>
+ Authentication is done using JSPWiki's normal AAA framework.
+ <p>
+ This servlet is also capable of managing dynamically created attachments.
+<P>
+
+<P>
+<DL>
+<DT><B>Since:</B></DT>
+ <DD>1.9.45.</DD>
+<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.wiki.attachment.AttachmentServlet">Serialized Form</A></DL>
+<HR>
+
+<P>
+<!-- =========== 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>protected static long</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentServlet.html#DEFAULT_EXPIRY">DEFAULT_EXPIRY</A></B></CODE>
+
+<BR>
+ Default expiry period is 1 day</TD>
+</TR>
+</TABLE>
+
+<!-- ======== 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/wiki/attachment/AttachmentServlet.html#AttachmentServlet()">AttachmentServlet</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> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentServlet.html#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doGet</A></B>(javax.servlet.http.HttpServletRequest req,
+ javax.servlet.http.HttpServletResponse res)</CODE>
+
+<BR>
+ Serves a GET with two parameters: 'wikiname' specifying the wikiname
+ of the attachment, 'version' specifying the version indicator.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentServlet.html#doOptions(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doOptions</A></B>(javax.servlet.http.HttpServletRequest req,
+ javax.servlet.http.HttpServletResponse res)</CODE>
+
+<BR>
+ Implements the OPTIONS method.</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/wiki/attachment/AttachmentServlet.html#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)">doPost</A></B>(javax.servlet.http.HttpServletRequest req,
+ javax.servlet.http.HttpServletResponse res)</CODE>
+
+<BR>
+ Grabs mime/multipart data and stores it into the temporary area.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentServlet.html#executeUpload(org.apache.wiki.WikiContext, java.io.InputStream, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)">executeUpload</A></B>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> context,
+ <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> data,
+ <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> filename,
+ <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> errorPage,
+ <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> parentPage,
+ <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> changenote,
+ long contentLength)</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/wiki/attachment/AttachmentServlet.html#init(javax.servlet.ServletConfig)">init</A></B>(javax.servlet.ServletConfig config)</CODE>
+
+<BR>
+ Initializes the servlet from WikiEngine properties.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected <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></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/wiki/attachment/AttachmentServlet.html#upload(javax.servlet.http.HttpServletRequest)">upload</A></B>(javax.servlet.http.HttpServletRequest req)</CODE>
+
+<BR>
+ Uploads a specific mime multipart input set, intercepts exceptions.</TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.servlet.http.HttpServlet"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.servlet.http.HttpServlet</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>doDelete, doHead, doPut, doTrace, getLastModified, service, service</CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_javax.servlet.GenericServlet"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class javax.servlet.GenericServlet</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log</CODE></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://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>
+
+<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="DEFAULT_EXPIRY"><!-- --></A><H3>
+DEFAULT_EXPIRY</H3>
+<PRE>
+protected static final long <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.88"><B>DEFAULT_EXPIRY</B></A></PRE>
+<DL>
+<DD>Default expiry period is 1 day
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.wiki.attachment.AttachmentServlet.DEFAULT_EXPIRY">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="AttachmentServlet()"><!-- --></A><H3>
+AttachmentServlet</H3>
+<PRE>
+public <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.75"><B>AttachmentServlet</B></A>()</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="init(javax.servlet.ServletConfig)"><!-- --></A><H3>
+init</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.113"><B>init</B></A>(javax.servlet.ServletConfig config)
+ throws javax.servlet.ServletException</PRE>
+<DL>
+<DD>Initializes the servlet from WikiEngine properties.
+<P>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE>init</CODE> in interface <CODE>javax.servlet.Servlet</CODE><DT><B>Overrides:</B><DD><CODE>init</CODE> in class <CODE>javax.servlet.GenericServlet</CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>javax.servlet.ServletException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="doOptions(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
+doOptions</H3>
+<PRE>
+protected void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.185"><B>doOptions</B></A>(javax.servlet.http.HttpServletRequest req,
+ javax.servlet.http.HttpServletResponse res)</PRE>
+<DL>
+<DD>Implements the OPTIONS method.
+<P>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE>doOptions</CODE> in class <CODE>javax.servlet.http.HttpServlet</CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>req</CODE> - The servlet request<DD><CODE>res</CODE> - The servlet response</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
+doGet</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.198"><B>doGet</B></A>(javax.servlet.http.HttpServletRequest req,
+ javax.servlet.http.HttpServletResponse res)
+ throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ javax.servlet.ServletException</PRE>
+<DL>
+<DD>Serves a GET with two parameters: 'wikiname' specifying the wikiname
+ of the attachment, 'version' specifying the version indicator.
+<P>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE>doGet</CODE> in class <CODE>javax.servlet.http.HttpServlet</CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
+<DD><CODE>javax.servlet.ServletException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>
+doPost</H3>
+<PRE>
+public void <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.411"><B>doPost</B></A>(javax.servlet.http.HttpServletRequest req,
+ javax.servlet.http.HttpServletResponse res)
+ throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ javax.servlet.ServletException</PRE>
+<DL>
+<DD>Grabs mime/multipart data and stores it into the temporary area.
+ Uses other parameters to determine which name to store as.
+
+ <p>The input to this servlet is generated by an HTML FORM with
+ two parts. The first, named 'page', is the WikiName identifier
+ for the parent file. The second, named 'content', is the binary
+ content of the file.
+<P>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE>doPost</CODE> in class <CODE>javax.servlet.http.HttpServlet</CODE></DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
+<DD><CODE>javax.servlet.ServletException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="upload(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
+upload</H3>
+<PRE>
+protected <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> <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.460"><B>upload</B></A>(javax.servlet.http.HttpServletRequest req)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/RedirectException.html" title="class in org.apache.wiki.api.exceptions">RedirectException</A>,
+ <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
+<DL>
+<DD>Uploads a specific mime multipart input set, intercepts exceptions.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>req</CODE> - The servlet request
+<DT><B>Returns:</B><DD>The page to which we should go next.
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/RedirectException.html" title="class in org.apache.wiki.api.exceptions">RedirectException</A></CODE> - If there's an error and a redirection is needed
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - If upload fails
+<DD><CODE>org.apache.commons.fileupload.FileUploadException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="executeUpload(org.apache.wiki.WikiContext, java.io.InputStream, java.lang.String, java.lang.String, java.lang.String, java.lang.String, long)"><!-- --></A><H3>
+executeUpload</H3>
+<PRE>
+protected boolean <A HREF="../../../../src-html/org/apache/wiki/attachment/AttachmentServlet.html#line.610"><B>executeUpload</B></A>(<A HREF="../../../../org/apache/wiki/WikiContext.html" title="class in org.apache.wiki">WikiContext</A> context,
+ <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> data,
+ <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> filename,
+ <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> errorPage,
+ <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> parentPage,
+ <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> changenote,
+ long contentLength)
+ throws <A HREF="../../../../org/apache/wiki/api/exceptions/RedirectException.html" title="class in org.apache.wiki.api.exceptions">RedirectException</A>,
+ <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
+ <A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></PRE>
+<DL>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>context</CODE> - the wiki context<DD><CODE>data</CODE> - the input stream data<DD><CODE>filename</CODE> - the name of the file to upload<DD><CODE>errorPage</CODE> - the place to which you want to get a redirection<DD><CODE>parentPage</CODE> - the page to which the file should be attached<DD><CODE>changenote</CODE> - The change note<DD><CODE>contentLength</CODE> - The content length
+<DT><B>Returns:</B><DD><code>true</code> if upload results in the creation of a new page;
+ <code>false</code> otherwise
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/RedirectException.html" title="class in org.apache.wiki.api.exceptions">RedirectException</A></CODE> - If the content needs to be redirected
+<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - If there is a problem in the upload.
+<DD><CODE><A HREF="../../../../org/apache/wiki/api/exceptions/ProviderException.html" title="class in org.apache.wiki.api.exceptions">ProviderException</A></CODE> - If there is a problem in the backend.</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/AttachmentServlet.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/wiki/attachment/AttachmentManager.html" title="class in org.apache.wiki.attachment"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/wiki/attachment/DynamicAttachment.html" title="class in org.apache.wiki.attachment"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../../index.html?org/apache/wiki/attachment/AttachmentServlet.html" target="_top"><B>FRAMES</B></A>
+ <A HREF="AttachmentServlet.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: <A HREF="#field_detail">FIELD</A> | <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 © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.
+</BODY>
+</HTML>
http://git-wip-us.apache.org/repos/asf/jspwiki-site/blob/edae175e/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.png
----------------------------------------------------------------------
diff --git a/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.png b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.png
new file mode 100755
index 0000000..02da69b
Binary files /dev/null and b/content/apidocs/2.10.1/org/apache/wiki/attachment/AttachmentServlet.png differ