<!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.4.2) on Sat Sep 25 10:14:05 EDT 2004 -->
<TITLE>
FileDirContext (Catalina Internal API Documentation)
</TITLE>

<META NAME="keywords" CONTENT="org.apache.naming.resources.FileDirContext class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="FileDirContext (Catalina Internal API Documentation)";
}
</SCRIPT>

</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=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/naming/resources/DirContextURLStreamHandlerFactory.html" title="class in org.apache.naming.resources"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/naming/resources/FileDirContext.FileResource.html" title="class in org.apache.naming.resources"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="FileDirContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.naming.resources</FONT>
<BR>
Class FileDirContext</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">org.apache.naming.resources.BaseDirContext</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.naming.resources.FileDirContext</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>javax.naming.Context, javax.naming.directory.DirContext</DD>
</DL>
<HR>
<DL>
<DT>public class <B>FileDirContext</B><DT>extends <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></DL>

<P>
Filesystem Directory Context implementation helper class.
<P>

<P>
<DL>
<DT><B>Version:</B></DT>
  <DD>$Revision: 1.16 $ $Date: 2004/08/26 21:45:38 $</DD>
<DT><B>Author:</B></DT>
  <DD>Remy Maucherat</DD>
</DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.FileResource.html" title="class in org.apache.naming.resources">FileDirContext.FileResource</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This specialized resource implementation avoids opening the IputStream
 to the file right away (which would put a lock on the file).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.FileResourceAttributes.html" title="class in org.apache.naming.resources">FileDirContext.FileResourceAttributes</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This specialized resource attribute implementation does some lazy 
 reading (to speed up simple checks, like checking the last modified 
 date).</TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#absoluteBase">absoluteBase</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Absolute normalized filename of the base.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#allowLinking">allowLinking</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allow linking.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#base">base</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The document base directory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#BUFFER_SIZE">BUFFER_SIZE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The descriptive information string for this implementation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#caseSensitive">caseSensitive</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case sensitivity.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.naming.resources.BaseDirContext"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.naming.resources.<A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#cached">cached</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#cacheObjectMaxSize">cacheObjectMaxSize</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#cacheTTL">cacheTTL</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#debug">debug</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#docBase">docBase</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#env">env</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#nameParser">nameParser</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#sm">sm</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.naming.directory.DirContext"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from interface javax.naming.directory.DirContext</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.naming.Context"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from interface javax.naming.Context</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#FileDirContext()">FileDirContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a file directory context using the given environment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#FileDirContext(java.util.Hashtable)">FileDirContext</A></B>(java.util.Hashtable&nbsp;env)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a file directory context using the given environment.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#bind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)">bind</A></B>(java.lang.String&nbsp;name,
     java.lang.Object&nbsp;obj,
     javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#createSubcontext(java.lang.String, javax.naming.directory.Attributes)">createSubcontext</A></B>(java.lang.String&nbsp;name,
                 javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and binds a new context, along with associated attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#destroySubcontext(java.lang.String)">destroySubcontext</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Destroys the named context and removes it from the namespace.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#file(java.lang.String)">file</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a File object representing the specified normalized
 context-relative path if it exists and is readable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#getAllowLinking()">getAllowLinking</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is linking allowed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.Attributes</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#getAttributes(java.lang.String, java.lang.String[])">getAttributes</A></B>(java.lang.String&nbsp;name,
              java.lang.String[]&nbsp;attrIds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves selected attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#getNameInNamespace()">getNameInNamespace</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the full name of this context within its own namespace.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#getSchema(java.lang.String)">getSchema</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the schema associated with the named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.directory.DirContext</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#getSchemaClassDefinition(java.lang.String)">getSchemaClassDefinition</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a context containing the schema objects of the named 
 object's class definitions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#isCaseSensitive()">isCaseSensitive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is case sensitive ?</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.Vector</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#list(java.io.File)">list</A></B>(java.io.File&nbsp;file)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List the resources which are members of a collection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#list(java.lang.String)">list</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerates the names bound in the named context, along with the class 
 names of objects bound to them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#listBindings(java.lang.String)">listBindings</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enumerates the names bound in the named context, along with the 
 objects bound to them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#lookup(java.lang.String)">lookup</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#lookupLink(java.lang.String)">lookupLink</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the named object, following links except for the terminal 
 atomic component of the name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#modifyAttributes(java.lang.String, int, javax.naming.directory.Attributes)">modifyAttributes</A></B>(java.lang.String&nbsp;name,
                 int&nbsp;mod_op,
                 javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#modifyAttributes(java.lang.String, javax.naming.directory.ModificationItem[])">modifyAttributes</A></B>(java.lang.String&nbsp;name,
                 javax.naming.directory.ModificationItem[]&nbsp;mods)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object using an an 
 ordered list of modifications.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#normalize(java.lang.String)">normalize</A></B>(java.lang.String&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a context-relative path, beginning with a "/", that represents
 the canonical version of the specified path after ".." and "." elements
 are resolved out.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#rebind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)">rebind</A></B>(java.lang.String&nbsp;name,
       java.lang.Object&nbsp;obj,
       javax.naming.directory.Attributes&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes, 
 overwriting any existing binding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#release()">release</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Release any resources allocated for this directory context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#rename(java.lang.String, java.lang.String)">rename</A></B>(java.lang.String&nbsp;oldName,
       java.lang.String&nbsp;newName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a new name to the object bound to an old name, and unbinds the 
 old name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#search(java.lang.String, javax.naming.directory.Attributes)">search</A></B>(java.lang.String&nbsp;name,
       javax.naming.directory.Attributes&nbsp;matchingAttributes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in a single context for objects that contain a specified set 
 of attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#search(java.lang.String, javax.naming.directory.Attributes, java.lang.String[])">search</A></B>(java.lang.String&nbsp;name,
       javax.naming.directory.Attributes&nbsp;matchingAttributes,
       java.lang.String[]&nbsp;attributesToReturn)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in a single context for objects that contain a specified set 
 of attributes, and retrieves selected attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#search(java.lang.String, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)">search</A></B>(java.lang.String&nbsp;name,
       java.lang.String&nbsp;filterExpr,
       java.lang.Object[]&nbsp;filterArgs,
       javax.naming.directory.SearchControls&nbsp;cons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in the named context or object for entries that satisfy the 
 given search filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;javax.naming.NamingEnumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#search(java.lang.String, java.lang.String, javax.naming.directory.SearchControls)">search</A></B>(java.lang.String&nbsp;name,
       java.lang.String&nbsp;filter,
       javax.naming.directory.SearchControls&nbsp;cons)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches in the named context or object for entries that satisfy the 
 given search filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#setAllowLinking(boolean)">setAllowLinking</A></B>(boolean&nbsp;allowLinking)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set allow linking.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#setCaseSensitive(boolean)">setCaseSensitive</A></B>(boolean&nbsp;caseSensitive)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set case sensitivity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#setDocBase(java.lang.String)">setDocBase</A></B>(java.lang.String&nbsp;docBase)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the document root.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/naming/resources/FileDirContext.html#unbind(java.lang.String)">unbind</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unbinds the named object.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.naming.resources.BaseDirContext"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.naming.resources.<A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#addToEnvironment(java.lang.String, java.lang.Object)">addToEnvironment</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#allocate()">allocate</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(javax.naming.Name, java.lang.Object)">bind</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)">bind</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(java.lang.String, java.lang.Object)">bind</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#close()">close</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#composeName(javax.naming.Name, javax.naming.Name)">composeName</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#composeName(java.lang.String, java.lang.String)">composeName</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(javax.naming.Name)">createSubcontext</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(javax.naming.Name, javax.naming.directory.Attributes)">createSubcontext</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(java.lang.String)">createSubcontext</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#destroySubcontext(javax.naming.Name)">destroySubcontext</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(javax.naming.Name)">getAttributes</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(javax.naming.Name, java.lang.String[])">getAttributes</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(java.lang.String)">getAttributes</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getCacheObjectMaxSize()">getCacheObjectMaxSize</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getCacheTTL()">getCacheTTL</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getDebug()">getDebug</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getDocBase()">getDocBase</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getEnvironment()">getEnvironment</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getNameParser(javax.naming.Name)">getNameParser</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getNameParser(java.lang.String)">getNameParser</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchema(javax.naming.Name)">getSchema</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchemaClassDefinition(javax.naming.Name)">getSchemaClassDefinition</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#isCached()">isCached</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#list(javax.naming.Name)">list</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#listBindings(javax.naming.Name)">listBindings</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookup(javax.naming.Name)">lookup</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookupLink(javax.naming.Name)">lookupLink</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes)">modifyAttributes</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(javax.naming.Name, javax.naming.directory.ModificationItem[])">modifyAttributes</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(javax.naming.Name, java.lang.Object)">rebind</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)">rebind</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(java.lang.String, java.lang.Object)">rebind</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#removeFromEnvironment(java.lang.String)">removeFromEnvironment</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rename(javax.naming.Name, javax.naming.Name)">rename</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, javax.naming.directory.Attributes)">search</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, javax.naming.directory.Attributes, java.lang.String[])">search</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)">search</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls)">search</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setCached(boolean)">setCached</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setCacheObjectMaxSize(int)">setCacheObjectMaxSize</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setCacheTTL(int)">setCacheTTL</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setDebug(int)">setDebug</A>, <A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#unbind(javax.naming.Name)">unbind</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="BUFFER_SIZE"><!-- --></A><H3>
BUFFER_SIZE</H3>
<PRE>
protected static final int <B>BUFFER_SIZE</B></PRE>
<DL>
<DD>The descriptive information string for this implementation.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.naming.resources.FileDirContext.BUFFER_SIZE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="base"><!-- --></A><H3>
base</H3>
<PRE>
protected java.io.File <B>base</B></PRE>
<DL>
<DD>The document base directory.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="absoluteBase"><!-- --></A><H3>
absoluteBase</H3>
<PRE>
protected java.lang.String <B>absoluteBase</B></PRE>
<DL>
<DD>Absolute normalized filename of the base.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="caseSensitive"><!-- --></A><H3>
caseSensitive</H3>
<PRE>
protected boolean <B>caseSensitive</B></PRE>
<DL>
<DD>Case sensitivity.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="allowLinking"><!-- --></A><H3>
allowLinking</H3>
<PRE>
protected boolean <B>allowLinking</B></PRE>
<DL>
<DD>Allow linking.
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="FileDirContext()"><!-- --></A><H3>
FileDirContext</H3>
<PRE>
public <B>FileDirContext</B>()</PRE>
<DL>
<DD>Builds a file directory context using the given environment.
<P>
</DL>
<HR>

<A NAME="FileDirContext(java.util.Hashtable)"><!-- --></A><H3>
FileDirContext</H3>
<PRE>
public <B>FileDirContext</B>(java.util.Hashtable&nbsp;env)</PRE>
<DL>
<DD>Builds a file directory context using the given environment.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="setDocBase(java.lang.String)"><!-- --></A><H3>
setDocBase</H3>
<PRE>
public void <B>setDocBase</B>(java.lang.String&nbsp;docBase)</PRE>
<DL>
<DD>Set the document root.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#setDocBase(java.lang.String)">setDocBase</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>docBase</CODE> - The new document root
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the specified value is not
  supported by this implementation
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if this would create a
  malformed URL</DL>
</DD>
</DL>
<HR>

<A NAME="setCaseSensitive(boolean)"><!-- --></A><H3>
setCaseSensitive</H3>
<PRE>
public void <B>setCaseSensitive</B>(boolean&nbsp;caseSensitive)</PRE>
<DL>
<DD>Set case sensitivity.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isCaseSensitive()"><!-- --></A><H3>
isCaseSensitive</H3>
<PRE>
public boolean <B>isCaseSensitive</B>()</PRE>
<DL>
<DD>Is case sensitive ?
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setAllowLinking(boolean)"><!-- --></A><H3>
setAllowLinking</H3>
<PRE>
public void <B>setAllowLinking</B>(boolean&nbsp;allowLinking)</PRE>
<DL>
<DD>Set allow linking.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getAllowLinking()"><!-- --></A><H3>
getAllowLinking</H3>
<PRE>
public boolean <B>getAllowLinking</B>()</PRE>
<DL>
<DD>Is linking allowed.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="release()"><!-- --></A><H3>
release</H3>
<PRE>
public void <B>release</B>()</PRE>
<DL>
<DD>Release any resources allocated for this directory context.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#release()">release</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lookup(java.lang.String)"><!-- --></A><H3>
lookup</H3>
<PRE>
public java.lang.Object <B>lookup</B>(java.lang.String&nbsp;name)
                        throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the named object.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>lookup</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookup(java.lang.String)">lookup</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to look up
<DT><B>Returns:</B><DD>the object bound to name
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="unbind(java.lang.String)"><!-- --></A><H3>
unbind</H3>
<PRE>
public void <B>unbind</B>(java.lang.String&nbsp;name)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Unbinds the named object. Removes the terminal atomic name in name 
 from the target context--that named by all but the terminal atomic 
 part of name.
 <p>
 This method is idempotent. It succeeds even if the terminal atomic 
 name is not bound in the target context, but throws 
 NameNotFoundException if any of the intermediate contexts do not exist.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>unbind</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#unbind(java.lang.String)">unbind</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameNotFoundException</CODE> - if an intermediate context does not 
 exist
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rename(java.lang.String, java.lang.String)"><!-- --></A><H3>
rename</H3>
<PRE>
public void <B>rename</B>(java.lang.String&nbsp;oldName,
                   java.lang.String&nbsp;newName)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a new name to the object bound to an old name, and unbinds the 
 old name. Both names are relative to this context. Any attributes 
 associated with the old name become associated with the new name. 
 Intermediate contexts of the old name are not changed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rename</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rename(java.lang.String, java.lang.String)">rename</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>oldName</CODE> - the name of the existing binding; may not be empty<DD><CODE>newName</CODE> - the name of the new binding; may not be empty
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NameAlreadyBoundException</CODE> - if newName is already bound
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="list(java.lang.String)"><!-- --></A><H3>
list</H3>
<PRE>
public javax.naming.NamingEnumeration <B>list</B>(java.lang.String&nbsp;name)
                                    throws javax.naming.NamingException</PRE>
<DL>
<DD>Enumerates the names bound in the named context, along with the class 
 names of objects bound to them. The contents of any subcontexts are 
 not included.
 <p>
 If a binding is added to or removed from this context, its effect on 
 an enumeration previously returned is undefined.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>list</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#list(java.lang.String)">list</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to list
<DT><B>Returns:</B><DD>an enumeration of the names and class names of the bindings in 
 this context. Each element of the enumeration is of type NameClassPair.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="listBindings(java.lang.String)"><!-- --></A><H3>
listBindings</H3>
<PRE>
public javax.naming.NamingEnumeration <B>listBindings</B>(java.lang.String&nbsp;name)
                                            throws javax.naming.NamingException</PRE>
<DL>
<DD>Enumerates the names bound in the named context, along with the 
 objects bound to them. The contents of any subcontexts are not 
 included.
 <p>
 If a binding is added to or removed from this context, its effect on 
 an enumeration previously returned is undefined.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>listBindings</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#listBindings(java.lang.String)">listBindings</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to list
<DT><B>Returns:</B><DD>an enumeration of the bindings in this context. 
 Each element of the enumeration is of type Binding.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="destroySubcontext(java.lang.String)"><!-- --></A><H3>
destroySubcontext</H3>
<PRE>
public void <B>destroySubcontext</B>(java.lang.String&nbsp;name)
                       throws javax.naming.NamingException</PRE>
<DL>
<DD>Destroys the named context and removes it from the namespace. Any 
 attributes associated with the name are also removed. Intermediate 
 contexts are not destroyed.
 <p>
 This method is idempotent. It succeeds even if the terminal atomic 
 name is not bound in the target context, but throws 
 NameNotFoundException if any of the intermediate contexts do not exist. 
 
 In a federated naming system, a context from one naming system may be 
 bound to a name in another. One can subsequently look up and perform 
 operations on the foreign context using a composite name. However, an 
 attempt destroy the context using this composite name will fail with 
 NotContextException, because the foreign context is not a "subcontext" 
 of the context in which it is bound. Instead, use unbind() to remove 
 the binding of the foreign context. Destroying the foreign context 
 requires that the destroySubcontext() be performed on a context from 
 the foreign context's "native" naming system.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>destroySubcontext</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#destroySubcontext(java.lang.String)">destroySubcontext</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to be destroyed; may not be empty
<DT><B>Throws:</B>
<DD><CODE>NameNotFoundException</CODE> - if an intermediate context does not 
 exist
<DD><CODE>NotContextException</CODE> - if the name is bound but does not name 
 a context, or does not name a context of the appropriate type
<DD><CODE>javax.naming.NamingException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="lookupLink(java.lang.String)"><!-- --></A><H3>
lookupLink</H3>
<PRE>
public java.lang.Object <B>lookupLink</B>(java.lang.String&nbsp;name)
                            throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the named object, following links except for the terminal 
 atomic component of the name. If the object bound to name is not a 
 link, returns the object itself.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>lookupLink</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#lookupLink(java.lang.String)">lookupLink</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to look up
<DT><B>Returns:</B><DD>the object bound to name, not following the terminal link 
 (if any).
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getNameInNamespace()"><!-- --></A><H3>
getNameInNamespace</H3>
<PRE>
public java.lang.String <B>getNameInNamespace</B>()
                                    throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the full name of this context within its own namespace.
 <p>
 Many naming services have a notion of a "full name" for objects in 
 their respective namespaces. For example, an LDAP entry has a 
 distinguished name, and a DNS record has a fully qualified name. This 
 method allows the client application to retrieve this name. The string 
 returned by this method is not a JNDI composite name and should not be 
 passed directly to context methods. In naming systems for which the 
 notion of full name does not make sense, 
 OperationNotSupportedException is thrown.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getNameInNamespace</CODE> in interface <CODE>javax.naming.Context</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getNameInNamespace()">getNameInNamespace</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>this context's name in its own namespace; never null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.OperationNotSupportedException</CODE> - if the naming system does 
 not have the notion of a full name
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getAttributes(java.lang.String, java.lang.String[])"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public javax.naming.directory.Attributes <B>getAttributes</B>(java.lang.String&nbsp;name,
                                                       java.lang.String[]&nbsp;attrIds)
                                                throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves selected attributes associated with a named object. 
 See the class description regarding attribute models, attribute type 
 names, and operational attributes.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getAttributes(java.lang.String, java.lang.String[])">getAttributes</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object from which to retrieve attributes<DD><CODE>attrIds</CODE> - the identifiers of the attributes to retrieve. null 
 indicates that all attributes should be retrieved; an empty array 
 indicates that none should be retrieved
<DT><B>Returns:</B><DD>the requested attributes; never null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="modifyAttributes(java.lang.String, int, javax.naming.directory.Attributes)"><!-- --></A><H3>
modifyAttributes</H3>
<PRE>
public void <B>modifyAttributes</B>(java.lang.String&nbsp;name,
                             int&nbsp;mod_op,
                             javax.naming.directory.Attributes&nbsp;attrs)
                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Modifies the attributes associated with a named object. The order of 
 the modifications is not specified. Where possible, the modifications 
 are performed atomically.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>modifyAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(java.lang.String, int, javax.naming.directory.Attributes)">modifyAttributes</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose attributes will be updated<DD><CODE>mod_op</CODE> - the modification operation, one of: ADD_ATTRIBUTE, 
 REPLACE_ATTRIBUTE, REMOVE_ATTRIBUTE<DD><CODE>attrs</CODE> - the attributes to be used for the modification; may not 
 be null
<DT><B>Throws:</B>
<DD><CODE>AttributeModificationException</CODE> - if the modification cannot be
 completed successfully
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="modifyAttributes(java.lang.String, javax.naming.directory.ModificationItem[])"><!-- --></A><H3>
modifyAttributes</H3>
<PRE>
public void <B>modifyAttributes</B>(java.lang.String&nbsp;name,
                             javax.naming.directory.ModificationItem[]&nbsp;mods)
                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Modifies the attributes associated with a named object using an an 
 ordered list of modifications. The modifications are performed in the 
 order specified. Each modification specifies a modification operation 
 code and an attribute on which to operate. Where possible, the 
 modifications are performed atomically.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>modifyAttributes</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#modifyAttributes(java.lang.String, javax.naming.directory.ModificationItem[])">modifyAttributes</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose attributes will be updated<DD><CODE>mods</CODE> - an ordered sequence of modifications to be performed; may 
 not be null
<DT><B>Throws:</B>
<DD><CODE>AttributeModificationException</CODE> - if the modification cannot be
 completed successfully
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="bind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)"><!-- --></A><H3>
bind</H3>
<PRE>
public void <B>bind</B>(java.lang.String&nbsp;name,
                 java.lang.Object&nbsp;obj,
                 javax.naming.directory.Attributes&nbsp;attrs)
          throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, along with associated attributes. If attrs 
 is null, the resulting binding will have the attributes associated 
 with obj if obj is a DirContext, and no attributes otherwise. If attrs 
 is non-null, the resulting binding will have attrs as its attributes; 
 any attributes associated with obj are ignored.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>bind</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#bind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)">bind</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null<DD><CODE>attrs</CODE> - the attributes to associate with the binding
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NameAlreadyBoundException</CODE> - if name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if some "mandatory" attributes 
 of the binding are not supplied
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="rebind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)"><!-- --></A><H3>
rebind</H3>
<PRE>
public void <B>rebind</B>(java.lang.String&nbsp;name,
                   java.lang.Object&nbsp;obj,
                   javax.naming.directory.Attributes&nbsp;attrs)
            throws javax.naming.NamingException</PRE>
<DL>
<DD>Binds a name to an object, along with associated attributes, 
 overwriting any existing binding. If attrs is null and obj is a 
 DirContext, the attributes from obj are used. If attrs is null and obj 
 is not a DirContext, any existing attributes associated with the object
 already bound in the directory remain unchanged. If attrs is non-null, 
 any existing attributes associated with the object already bound in 
 the directory are removed and attrs is associated with the named 
 object. If obj is a DirContext and attrs is non-null, the attributes 
 of obj are ignored.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>rebind</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#rebind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)">rebind</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name to bind; may not be empty<DD><CODE>obj</CODE> - the object to bind; possibly null<DD><CODE>attrs</CODE> - the attributes to associate with the binding
<DT><B>Throws:</B>
<DD><CODE>InvalidAttributesException</CODE> - if some "mandatory" attributes 
 of the binding are not supplied
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="createSubcontext(java.lang.String, javax.naming.directory.Attributes)"><!-- --></A><H3>
createSubcontext</H3>
<PRE>
public javax.naming.directory.DirContext <B>createSubcontext</B>(java.lang.String&nbsp;name,
                                                          javax.naming.directory.Attributes&nbsp;attrs)
                                                   throws javax.naming.NamingException</PRE>
<DL>
<DD>Creates and binds a new context, along with associated attributes. 
 This method creates a new subcontext with the given name, binds it in 
 the target context (that named by all but terminal atomic component of 
 the name), and associates the supplied attributes with the newly 
 created object. All intermediate and target contexts must already 
 exist. If attrs is null, this method is equivalent to 
 Context.createSubcontext().
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>createSubcontext</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#createSubcontext(java.lang.String, javax.naming.directory.Attributes)">createSubcontext</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to create; may not be empty<DD><CODE>attrs</CODE> - the attributes to associate with the newly created context
<DT><B>Returns:</B><DD>the newly created context
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NameAlreadyBoundException</CODE> - if the name is already bound
<DD><CODE>InvalidAttributesException</CODE> - if attrs does not contain all 
 the mandatory attributes required for creation
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getSchema(java.lang.String)"><!-- --></A><H3>
getSchema</H3>
<PRE>
public javax.naming.directory.DirContext <B>getSchema</B>(java.lang.String&nbsp;name)
                                            throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves the schema associated with the named object. The schema 
 describes rules regarding the structure of the namespace and the 
 attributes stored within it. The schema specifies what types of 
 objects can be added to the directory and where they can be added; 
 what mandatory and optional attributes an object can have. The range 
 of support for schemas is directory-specific.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getSchema</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchema(java.lang.String)">getSchema</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose schema is to be retrieved
<DT><B>Returns:</B><DD>the schema associated with the context; never null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.OperationNotSupportedException</CODE> - if schema not supported
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="getSchemaClassDefinition(java.lang.String)"><!-- --></A><H3>
getSchemaClassDefinition</H3>
<PRE>
public javax.naming.directory.DirContext <B>getSchemaClassDefinition</B>(java.lang.String&nbsp;name)
                                                           throws javax.naming.NamingException</PRE>
<DL>
<DD>Retrieves a context containing the schema objects of the named 
 object's class definitions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>getSchemaClassDefinition</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#getSchemaClassDefinition(java.lang.String)">getSchemaClassDefinition</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object whose object class definition is to 
 be retrieved
<DT><B>Returns:</B><DD>the DirContext containing the named object's class 
 definitions; never null
<DT><B>Throws:</B>
<DD><CODE>javax.naming.OperationNotSupportedException</CODE> - if schema not supported
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, javax.naming.directory.Attributes, java.lang.String[])"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                             javax.naming.directory.Attributes&nbsp;matchingAttributes,
                                             java.lang.String[]&nbsp;attributesToReturn)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in a single context for objects that contain a specified set 
 of attributes, and retrieves selected attributes. The search is 
 performed using the default SearchControls settings.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, javax.naming.directory.Attributes, java.lang.String[])">search</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to search<DD><CODE>matchingAttributes</CODE> - the attributes to search for. If empty or 
 null, all objects in the target context are returned.<DD><CODE>attributesToReturn</CODE> - the attributes to return. null indicates 
 that all attributes are to be returned; an empty array indicates that 
 none are to be returned.
<DT><B>Returns:</B><DD>a non-null enumeration of SearchResult objects. Each 
 SearchResult contains the attributes identified by attributesToReturn 
 and the name of the corresponding object, named relative to the 
 context named by name.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, javax.naming.directory.Attributes)"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                             javax.naming.directory.Attributes&nbsp;matchingAttributes)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in a single context for objects that contain a specified set 
 of attributes. This method returns all the attributes of such objects. 
 It is equivalent to supplying null as the atributesToReturn parameter 
 to the method search(Name, Attributes, String[]).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, javax.naming.directory.Attributes)">search</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context to search<DD><CODE>matchingAttributes</CODE> - the attributes to search for. If empty or 
 null, all objects in the target context are returned.
<DT><B>Returns:</B><DD>a non-null enumeration of SearchResult objects. Each 
 SearchResult contains the attributes identified by attributesToReturn 
 and the name of the corresponding object, named relative to the 
 context named by name.
<DT><B>Throws:</B>
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, java.lang.String, javax.naming.directory.SearchControls)"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                             java.lang.String&nbsp;filter,
                                             javax.naming.directory.SearchControls&nbsp;cons)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in the named context or object for entries that satisfy the 
 given search filter. Performs the search as specified by the search 
 controls.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, java.lang.String, javax.naming.directory.SearchControls)">search</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context or object to search<DD><CODE>filter</CODE> - the filter expression to use for the search; may not be 
 null<DD><CODE>cons</CODE> - the search controls that control the search. If null, 
 the default search controls are used (equivalent to 
 (new SearchControls())).
<DT><B>Returns:</B><DD>an enumeration of SearchResults of the objects that satisfy 
 the filter; never null
<DT><B>Throws:</B>
<DD><CODE>InvalidSearchFilterException</CODE> - if the search filter specified 
 is not supported or understood by the underlying directory
<DD><CODE>InvalidSearchControlsException</CODE> - if the search controls 
 contain invalid settings
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="search(java.lang.String, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)"><!-- --></A><H3>
search</H3>
<PRE>
public javax.naming.NamingEnumeration <B>search</B>(java.lang.String&nbsp;name,
                                             java.lang.String&nbsp;filterExpr,
                                             java.lang.Object[]&nbsp;filterArgs,
                                             javax.naming.directory.SearchControls&nbsp;cons)
                                      throws javax.naming.NamingException</PRE>
<DL>
<DD>Searches in the named context or object for entries that satisfy the 
 given search filter. Performs the search as specified by the search 
 controls.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>search</CODE> in interface <CODE>javax.naming.directory.DirContext</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html#search(java.lang.String, java.lang.String, java.lang.Object[], javax.naming.directory.SearchControls)">search</A></CODE> in class <CODE><A HREF="../../../../org/apache/naming/resources/BaseDirContext.html" title="class in org.apache.naming.resources">BaseDirContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the context or object to search<DD><CODE>filterExpr</CODE> - the filter expression to use for the search. 
 The expression may contain variables of the form "{i}" where i is a 
 nonnegative integer. May not be null.<DD><CODE>filterArgs</CODE> - the array of arguments to substitute for the 
 variables in filterExpr. The value of filterArgs[i] will replace each 
 occurrence of "{i}". If null, equivalent to an empty array.<DD><CODE>cons</CODE> - the search controls that control the search. If null, the 
 default search controls are used (equivalent to (new SearchControls())).
<DT><B>Returns:</B><DD>an enumeration of SearchResults of the objects that satisy the 
 filter; never null
<DT><B>Throws:</B>
<DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if filterExpr contains {i} 
 expressions where i is outside the bounds of the array filterArgs
<DD><CODE>InvalidSearchControlsException</CODE> - if cons contains invalid 
 settings
<DD><CODE>InvalidSearchFilterException</CODE> - if filterExpr with filterArgs 
 represents an invalid search filter
<DD><CODE>javax.naming.NamingException</CODE> - if a naming exception is encountered</DL>
</DD>
</DL>
<HR>

<A NAME="normalize(java.lang.String)"><!-- --></A><H3>
normalize</H3>
<PRE>
protected java.lang.String <B>normalize</B>(java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Return a context-relative path, beginning with a "/", that represents
 the canonical version of the specified path after ".." and "." elements
 are resolved out.  If the specified path attempts to go outside the
 boundaries of the current context (i.e. too many ".." path elements
 are present), return <code>null</code> instead.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path to be normalized</DL>
</DD>
</DL>
<HR>

<A NAME="file(java.lang.String)"><!-- --></A><H3>
file</H3>
<PRE>
protected java.io.File <B>file</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Return a File object representing the specified normalized
 context-relative path if it exists and is readable.  Otherwise,
 return <code>null</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Normalized context-relative path (with leading '/')</DL>
</DD>
</DL>
<HR>

<A NAME="list(java.io.File)"><!-- --></A><H3>
list</H3>
<PRE>
protected java.util.Vector <B>list</B>(java.io.File&nbsp;file)</PRE>
<DL>
<DD>List the resources which are members of a collection.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>file</CODE> - Collection
<DT><B>Returns:</B><DD>Vector containg NamingEntry objects</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=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/naming/resources/DirContextURLStreamHandlerFactory.html" title="class in org.apache.naming.resources"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/naming/resources/FileDirContext.FileResource.html" title="class in org.apache.naming.resources"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="FileDirContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>

</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright  2000-2002 Apache Software Foundation.  All Rights Reserved.
</BODY>
</HTML>
