PageRenderTime 260ms CodeModel.GetById 221ms app.highlight 30ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/io/VFS.html

#
HTML | 1477 lines | 1326 code | 140 blank | 11 comment | 0 complexity | 66fffa2d938027991ce955cd01366e01 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
   2<!--NewPage-->
   3<HTML>
   4<HEAD>
   5<!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:02 GMT-08:00 2008 -->
   6<TITLE>
   7VFS (jEdit API)
   8</TITLE>
   9
  10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.io.VFS class">
  11
  12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  13
  14
  15<NOSCRIPT>
  16</NOSCRIPT>
  17
  18</HEAD>
  19
  20<BODY BGCOLOR="white" >
  21
  22
  23<!-- ========= START OF TOP NAVBAR ======= -->
  24<A NAME="navbar_top"><!-- --></A>
  25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  27<TR>
  28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  29<A NAME="navbar_top_firstrow"><!-- --></A>
  30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  31  <TR ALIGN="center" VALIGN="top">
  32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/VFS.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40  </TR>
  41</TABLE>
  42</TD>
  43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44</EM>
  45</TD>
  46</TR>
  47
  48<TR>
  49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/UrlVFS.html" title="class in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>&nbsp;
  51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.DirectoryEntry.html" title="class in org.gjt.sp.jedit.io"><B>NEXT CLASS</B></A></FONT></TD>
  52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/io/VFS.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  54&nbsp;<A HREF="VFS.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  55&nbsp;
  56<NOSCRIPT>
  57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  58</NOSCRIPT>
  59
  60
  61</FONT></TD>
  62</TR>
  63<TR>
  64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  65  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>
  66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67DETAIL:&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>
  68</TR>
  69</TABLE>
  70<A NAME="skip-navbar_top"></A>
  71<!-- ========= END OF TOP NAVBAR ========= -->
  72
  73<HR>
  74<!-- ======== START OF CLASS DATA ======== -->
  75<H2>
  76<FONT SIZE="-1">
  77org.gjt.sp.jedit.io</FONT>
  78<BR>
  79Class VFS</H2>
  80<PRE>
  81java.lang.Object
  82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.io.VFS</B>
  83</PRE>
  84<DL>
  85<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/io/FavoritesVFS.html" title="class in org.gjt.sp.jedit.io">FavoritesVFS</A>, <A HREF="../../../../../org/gjt/sp/jedit/io/FileRootsVFS.html" title="class in org.gjt.sp.jedit.io">FileRootsVFS</A>, <A HREF="../../../../../org/gjt/sp/jedit/io/FileVFS.html" title="class in org.gjt.sp.jedit.io">FileVFS</A>, <A HREF="../../../../../org/gjt/sp/jedit/io/UrlVFS.html" title="class in org.gjt.sp.jedit.io">UrlVFS</A></DD>
  86</DL>
  87<HR>
  88<DL>
  89<DT><PRE>public abstract class <B>VFS</B><DT>extends java.lang.Object</DL>
  90</PRE>
  91
  92<P>
  93A virtual filesystem implementation.<p>
  94
  95 Plugins can provide virtual file systems by defining entries in their
  96 <code>services.xml</code> files like so:
  97
  98 <pre>&lt;SERVICE CLASS="org.gjt.sp.jedit.io.VFS" NAME="<i>name</i>"&gt;
  99    new <i>MyVFS</i>();
 100&lt;/SERVICE&gt;</pre>
 101
 102 URLs of the form <code><i>name</i>:<i>path</i></code> will then be handled
 103 by the VFS named <code><i>name</i></code>.<p>
 104
 105 See <A HREF="../../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A> for details.<p>
 106
 107 <h3>Session objects:</h3>
 108
 109 A session is used to persist things like login information, any network
 110 sockets, etc. File system implementations that do not need this kind of
 111 persistence return a dummy object as a session.<p>
 112
 113 Methods whose names are prefixed with "_" expect to be given a
 114 previously-obtained session object. A session must be obtained from the AWT
 115 thread in one of two ways:
 116
 117 <ul>
 118 <li><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#createVFSSession(java.lang.String, java.awt.Component)"><CODE>createVFSSession(String,Component)</CODE></A></li>
 119 <li><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#showBrowseDialog(java.lang.Object[], java.awt.Component)"><CODE>showBrowseDialog(Object[],Component)</CODE></A></li>
 120 </ul>
 121
 122 When done, the session must be disposed of using
 123 <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_endVFSSession(java.lang.Object, java.awt.Component)"><CODE>_endVFSSession(Object,Component)</CODE></A>.<p>
 124
 125 <h3>Thread safety:</h3>
 126
 127 The following methods cannot be called from an I/O thread:
 128
 129 <ul>
 130 <li><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#createVFSSession(java.lang.String, java.awt.Component)"><CODE>createVFSSession(String,Component)</CODE></A></li>
 131 <li><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#insert(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer, java.lang.String)"><CODE>insert(View,Buffer,String)</CODE></A></li>
 132 <li><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#load(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer, java.lang.String)"><CODE>load(View,Buffer,String)</CODE></A></li>
 133 <li><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#save(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer, java.lang.String)"><CODE>save(View,Buffer,String)</CODE></A></li>
 134 <li><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#showBrowseDialog(java.lang.Object[], java.awt.Component)"><CODE>showBrowseDialog(Object[],Component)</CODE></A></li>
 135 </ul>
 136
 137 All remaining methods are required to be thread-safe in subclasses.
 138
 139 <h3>Implementing a VFS</h3>
 140
 141 You can override as many or as few methods as you want. Make sure
 142 <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getCapabilities()"><CODE>getCapabilities()</CODE></A> returns a value reflecting the functionality
 143 implemented by your VFS.
 144<P>
 145
 146<P>
 147<DL>
 148<DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSForPath(java.lang.String)"><CODE>VFSManager.getVFSForPath(String)</CODE></A>, 
 149<A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSForProtocol(java.lang.String)"><CODE>VFSManager.getVFSForProtocol(String)</CODE></A></DL>
 150<HR>
 151
 152<P>
 153<!-- ======== NESTED CLASS SUMMARY ======== -->
 154
 155<A NAME="nested_class_summary"><!-- --></A>
 156<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 157<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 158<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 159<B>Nested Class Summary</B></FONT></TH>
 160</TR>
 161<TR BGCOLOR="white" CLASS="TableRowColor">
 162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 163<CODE>static&nbsp;class</CODE></FONT></TD>
 164<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.DirectoryEntry.html" title="class in org.gjt.sp.jedit.io">VFS.DirectoryEntry</A></B></CODE>
 165
 166<BR>
 167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>VFSFile</code> instead.</I></TD>
 168</TR>
 169<TR BGCOLOR="white" CLASS="TableRowColor">
 170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 171<CODE>static&nbsp;class</CODE></FONT></TD>
 172<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.DirectoryEntryCompare.html" title="class in org.gjt.sp.jedit.io">VFS.DirectoryEntryCompare</A></B></CODE>
 173
 174<BR>
 175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implementation of <CODE>Comparator</CODE>
 176 interface that compares <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.DirectoryEntry.html" title="class in org.gjt.sp.jedit.io"><CODE>VFS.DirectoryEntry</CODE></A> instances.</TD>
 177</TR>
 178</TABLE>
 179&nbsp;<!-- =========== FIELD SUMMARY =========== -->
 180
 181<A NAME="field_summary"><!-- --></A>
 182<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 183<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 184<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 185<B>Field Summary</B></FONT></TH>
 186</TR>
 187<TR BGCOLOR="white" CLASS="TableRowColor">
 188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 189<CODE>static&nbsp;int</CODE></FONT></TD>
 190<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#BROWSE_CAP">BROWSE_CAP</A></B></CODE>
 191
 192<BR>
 193&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Browse capability</TD>
 194</TR>
 195<TR BGCOLOR="white" CLASS="TableRowColor">
 196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 197<CODE>static&nbsp;int</CODE></FONT></TD>
 198<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#CASE_INSENSITIVE_CAP">CASE_INSENSITIVE_CAP</A></B></CODE>
 199
 200<BR>
 201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case insensitive file system capability.</TD>
 202</TR>
 203<TR BGCOLOR="white" CLASS="TableRowColor">
 204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 205<CODE>static&nbsp;int</CODE></FONT></TD>
 206<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#DELETE_CAP">DELETE_CAP</A></B></CODE>
 207
 208<BR>
 209&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delete file capability.</TD>
 210</TR>
 211<TR BGCOLOR="white" CLASS="TableRowColor">
 212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 213<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 214<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#EA_MODIFIED">EA_MODIFIED</A></B></CODE>
 215
 216<BR>
 217&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File last modified date.</TD>
 218</TR>
 219<TR BGCOLOR="white" CLASS="TableRowColor">
 220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 221<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 222<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#EA_SIZE">EA_SIZE</A></B></CODE>
 223
 224<BR>
 225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File size.</TD>
 226</TR>
 227<TR BGCOLOR="white" CLASS="TableRowColor">
 228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 229<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 230<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#EA_STATUS">EA_STATUS</A></B></CODE>
 231
 232<BR>
 233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File status (read only, read write, etc).</TD>
 234</TR>
 235<TR BGCOLOR="white" CLASS="TableRowColor">
 236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 237<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 238<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#EA_TYPE">EA_TYPE</A></B></CODE>
 239
 240<BR>
 241&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File type.</TD>
 242</TR>
 243<TR BGCOLOR="white" CLASS="TableRowColor">
 244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 245<CODE>static&nbsp;int</CODE></FONT></TD>
 246<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#IOBUFSIZE">IOBUFSIZE</A></B></CODE>
 247
 248<BR>
 249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 250</TR>
 251<TR BGCOLOR="white" CLASS="TableRowColor">
 252<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 253<CODE>static&nbsp;int</CODE></FONT></TD>
 254<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#LOW_LATENCY_CAP">LOW_LATENCY_CAP</A></B></CODE>
 255
 256<BR>
 257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Low latency capability.</TD>
 258</TR>
 259<TR BGCOLOR="white" CLASS="TableRowColor">
 260<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 261<CODE>static&nbsp;int</CODE></FONT></TD>
 262<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#MKDIR_CAP">MKDIR_CAP</A></B></CODE>
 263
 264<BR>
 265&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Make directory capability.</TD>
 266</TR>
 267<TR BGCOLOR="white" CLASS="TableRowColor">
 268<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 269<CODE>static&nbsp;int</CODE></FONT></TD>
 270<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#READ_CAP">READ_CAP</A></B></CODE>
 271
 272<BR>
 273&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read capability.</TD>
 274</TR>
 275<TR BGCOLOR="white" CLASS="TableRowColor">
 276<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 277<CODE>static&nbsp;int</CODE></FONT></TD>
 278<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#RENAME_CAP">RENAME_CAP</A></B></CODE>
 279
 280<BR>
 281&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rename file capability.</TD>
 282</TR>
 283<TR BGCOLOR="white" CLASS="TableRowColor">
 284<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 285<CODE>static&nbsp;int</CODE></FONT></TD>
 286<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#WRITE_CAP">WRITE_CAP</A></B></CODE>
 287
 288<BR>
 289&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write capability.</TD>
 290</TR>
 291</TABLE>
 292&nbsp;
 293<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 294
 295<A NAME="constructor_summary"><!-- --></A>
 296<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 297<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 298<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 299<B>Constructor Summary</B></FONT></TH>
 300</TR>
 301<TR BGCOLOR="white" CLASS="TableRowColor">
 302<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 303<CODE>protected </CODE></FONT></TD>
 304<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#VFS(java.lang.String)">VFS</A></B>(java.lang.String&nbsp;name)</CODE>
 305
 306<BR>
 307&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use the form where the constructor takes a capability
 308 list.</I></TD>
 309</TR>
 310<TR BGCOLOR="white" CLASS="TableRowColor">
 311<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 312<CODE>protected </CODE></FONT></TD>
 313<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#VFS(java.lang.String, int)">VFS</A></B>(java.lang.String&nbsp;name,
 314    int&nbsp;caps)</CODE>
 315
 316<BR>
 317&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new virtual filesystem.</TD>
 318</TR>
 319<TR BGCOLOR="white" CLASS="TableRowColor">
 320<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 321<CODE>protected </CODE></FONT></TD>
 322<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#VFS(java.lang.String, int, java.lang.String[])">VFS</A></B>(java.lang.String&nbsp;name,
 323    int&nbsp;caps,
 324    java.lang.String[]&nbsp;extAttrs)</CODE>
 325
 326<BR>
 327&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new virtual filesystem.</TD>
 328</TR>
 329</TABLE>
 330&nbsp;
 331<!-- ========== METHOD SUMMARY =========== -->
 332
 333<A NAME="method_summary"><!-- --></A>
 334<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 335<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 336<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 337<B>Method Summary</B></FONT></TH>
 338</TR>
 339<TR BGCOLOR="white" CLASS="TableRowColor">
 340<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 341<CODE>&nbsp;void</CODE></FONT></TD>
 342<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_backup(java.lang.Object, java.lang.String, java.awt.Component)">_backup</A></B>(java.lang.Object&nbsp;session,
 343        java.lang.String&nbsp;path,
 344        java.awt.Component&nbsp;comp)</CODE>
 345
 346<BR>
 347&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Backs up the specified file.</TD>
 348</TR>
 349<TR BGCOLOR="white" CLASS="TableRowColor">
 350<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 351<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 352<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_canonPath(java.lang.Object, java.lang.String, java.awt.Component)">_canonPath</A></B>(java.lang.Object&nbsp;session,
 353           java.lang.String&nbsp;path,
 354           java.awt.Component&nbsp;comp)</CODE>
 355
 356<BR>
 357&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the canonical form of the specified path name.</TD>
 358</TR>
 359<TR BGCOLOR="white" CLASS="TableRowColor">
 360<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 361<CODE>&nbsp;java.io.InputStream</CODE></FONT></TD>
 362<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_createInputStream(java.lang.Object, java.lang.String, boolean, java.awt.Component)">_createInputStream</A></B>(java.lang.Object&nbsp;session,
 363                   java.lang.String&nbsp;path,
 364                   boolean&nbsp;ignoreErrors,
 365                   java.awt.Component&nbsp;comp)</CODE>
 366
 367<BR>
 368&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an input stream.</TD>
 369</TR>
 370<TR BGCOLOR="white" CLASS="TableRowColor">
 371<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 372<CODE>&nbsp;java.io.OutputStream</CODE></FONT></TD>
 373<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_createOutputStream(java.lang.Object, java.lang.String, java.awt.Component)">_createOutputStream</A></B>(java.lang.Object&nbsp;session,
 374                    java.lang.String&nbsp;path,
 375                    java.awt.Component&nbsp;comp)</CODE>
 376
 377<BR>
 378&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an output stream.</TD>
 379</TR>
 380<TR BGCOLOR="white" CLASS="TableRowColor">
 381<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 382<CODE>&nbsp;boolean</CODE></FONT></TD>
 383<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_delete(java.lang.Object, java.lang.String, java.awt.Component)">_delete</A></B>(java.lang.Object&nbsp;session,
 384        java.lang.String&nbsp;path,
 385        java.awt.Component&nbsp;comp)</CODE>
 386
 387<BR>
 388&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes the specified URL.</TD>
 389</TR>
 390<TR BGCOLOR="white" CLASS="TableRowColor">
 391<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 392<CODE>&nbsp;void</CODE></FONT></TD>
 393<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_endVFSSession(java.lang.Object, java.awt.Component)">_endVFSSession</A></B>(java.lang.Object&nbsp;session,
 394               java.awt.Component&nbsp;comp)</CODE>
 395
 396<BR>
 397&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finishes the specified VFS session.</TD>
 398</TR>
 399<TR BGCOLOR="white" CLASS="TableRowColor">
 400<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 401<CODE>&nbsp;void</CODE></FONT></TD>
 402<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_finishTwoStageSave(java.lang.Object, org.gjt.sp.jedit.Buffer, java.lang.String, java.awt.Component)">_finishTwoStageSave</A></B>(java.lang.Object&nbsp;session,
 403                    <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer,
 404                    java.lang.String&nbsp;path,
 405                    java.awt.Component&nbsp;comp)</CODE>
 406
 407<BR>
 408&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called after a file has been saved and we use twoStageSave (first saving to
 409 another file).</TD>
 410</TR>
 411<TR BGCOLOR="white" CLASS="TableRowColor">
 412<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 413<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.DirectoryEntry.html" title="class in org.gjt.sp.jedit.io">VFS.DirectoryEntry</A></CODE></FONT></TD>
 414<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_getDirectoryEntry(java.lang.Object, java.lang.String, java.awt.Component)">_getDirectoryEntry</A></B>(java.lang.Object&nbsp;session,
 415                   java.lang.String&nbsp;path,
 416                   java.awt.Component&nbsp;comp)</CODE>
 417
 418<BR>
 419&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>_getFile()</code> instead.</I></TD>
 420</TR>
 421<TR BGCOLOR="white" CLASS="TableRowColor">
 422<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 423<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFSFile.html" title="class in org.gjt.sp.jedit.io">VFSFile</A></CODE></FONT></TD>
 424<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_getFile(java.lang.Object, java.lang.String, java.awt.Component)">_getFile</A></B>(java.lang.Object&nbsp;session,
 425         java.lang.String&nbsp;path,
 426         java.awt.Component&nbsp;comp)</CODE>
 427
 428<BR>
 429&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified directory entry.</TD>
 430</TR>
 431<TR BGCOLOR="white" CLASS="TableRowColor">
 432<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 433<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.DirectoryEntry.html" title="class in org.gjt.sp.jedit.io">VFS.DirectoryEntry</A>[]</CODE></FONT></TD>
 434<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_listDirectory(java.lang.Object, java.lang.String, java.awt.Component)">_listDirectory</A></B>(java.lang.Object&nbsp;session,
 435               java.lang.String&nbsp;directory,
 436               java.awt.Component&nbsp;comp)</CODE>
 437
 438<BR>
 439&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>_listFiles()</code> instead.</I></TD>
 440</TR>
 441<TR BGCOLOR="white" CLASS="TableRowColor">
 442<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 443<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
 444<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_listDirectory(java.lang.Object, java.lang.String, java.lang.String, boolean, java.awt.Component)">_listDirectory</A></B>(java.lang.Object&nbsp;session,
 445               java.lang.String&nbsp;directory,
 446               java.lang.String&nbsp;glob,
 447               boolean&nbsp;recursive,
 448               java.awt.Component&nbsp;comp)</CODE>
 449
 450<BR>
 451&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convinience method that matches file names against globs, and can
 452 optionally list the directory recursively.</TD>
 453</TR>
 454<TR BGCOLOR="white" CLASS="TableRowColor">
 455<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 456<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
 457<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_listDirectory(java.lang.Object, java.lang.String, java.lang.String, boolean, java.awt.Component, boolean, boolean)">_listDirectory</A></B>(java.lang.Object&nbsp;session,
 458               java.lang.String&nbsp;directory,
 459               java.lang.String&nbsp;glob,
 460               boolean&nbsp;recursive,
 461               java.awt.Component&nbsp;comp,
 462               boolean&nbsp;skipBinary,
 463               boolean&nbsp;skipHidden)</CODE>
 464
 465<BR>
 466&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convinience method that matches file names against globs, and can
 467 optionally list the directory recursively.</TD>
 468</TR>
 469<TR BGCOLOR="white" CLASS="TableRowColor">
 470<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 471<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
 472<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_listDirectory(java.lang.Object, java.lang.String, org.gjt.sp.jedit.io.VFSFileFilter, boolean, java.awt.Component, boolean, boolean)">_listDirectory</A></B>(java.lang.Object&nbsp;session,
 473               java.lang.String&nbsp;directory,
 474               <A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io">VFSFileFilter</A>&nbsp;filter,
 475               boolean&nbsp;recursive,
 476               java.awt.Component&nbsp;comp,
 477               boolean&nbsp;skipBinary,
 478               boolean&nbsp;skipHidden)</CODE>
 479
 480<BR>
 481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convinience method that filters the directory listing
 482 according to a filter, and can optionally list the directory
 483 recursively.</TD>
 484</TR>
 485<TR BGCOLOR="white" CLASS="TableRowColor">
 486<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 487<CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFSFile.html" title="class in org.gjt.sp.jedit.io">VFSFile</A>[]</CODE></FONT></TD>
 488<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_listFiles(java.lang.Object, java.lang.String, java.awt.Component)">_listFiles</A></B>(java.lang.Object&nbsp;session,
 489           java.lang.String&nbsp;directory,
 490           java.awt.Component&nbsp;comp)</CODE>
 491
 492<BR>
 493&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lists the specified directory.</TD>
 494</TR>
 495<TR BGCOLOR="white" CLASS="TableRowColor">
 496<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 497<CODE>&nbsp;boolean</CODE></FONT></TD>
 498<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_mkdir(java.lang.Object, java.lang.String, java.awt.Component)">_mkdir</A></B>(java.lang.Object&nbsp;session,
 499       java.lang.String&nbsp;directory,
 500       java.awt.Component&nbsp;comp)</CODE>
 501
 502<BR>
 503&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new directory with the specified URL.</TD>
 504</TR>
 505<TR BGCOLOR="white" CLASS="TableRowColor">
 506<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 507<CODE>&nbsp;boolean</CODE></FONT></TD>
 508<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_rename(java.lang.Object, java.lang.String, java.lang.String, java.awt.Component)">_rename</A></B>(java.lang.Object&nbsp;session,
 509        java.lang.String&nbsp;from,
 510        java.lang.String&nbsp;to,
 511        java.awt.Component&nbsp;comp)</CODE>
 512
 513<BR>
 514&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renames the specified URL.</TD>
 515</TR>
 516<TR BGCOLOR="white" CLASS="TableRowColor">
 517<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 518<CODE>&nbsp;void</CODE></FONT></TD>
 519<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#_saveComplete(java.lang.Object, org.gjt.sp.jedit.Buffer, java.lang.String, java.awt.Component)">_saveComplete</A></B>(java.lang.Object&nbsp;session,
 520              <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer,
 521              java.lang.String&nbsp;path,
 522              java.awt.Component&nbsp;comp)</CODE>
 523
 524<BR>
 525&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called after a file has been saved.</TD>
 526</TR>
 527<TR BGCOLOR="white" CLASS="TableRowColor">
 528<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 529<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 530<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#constructPath(java.lang.String, java.lang.String)">constructPath</A></B>(java.lang.String&nbsp;parent,
 531              java.lang.String&nbsp;path)</CODE>
 532
 533<BR>
 534&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a path from the specified directory and
 535 file name component.</TD>
 536</TR>
 537<TR BGCOLOR="white" CLASS="TableRowColor">
 538<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 539<CODE>static&nbsp;boolean</CODE></FONT></TD>
 540<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#copy(org.gjt.sp.util.ProgressObserver, java.lang.String, java.lang.String, java.awt.Component, boolean)">copy</A></B>(<A HREF="../../../../../org/gjt/sp/util/ProgressObserver.html" title="interface in org.gjt.sp.util">ProgressObserver</A>&nbsp;progress,
 541     java.lang.String&nbsp;sourcePath,
 542     java.lang.String&nbsp;targetPath,
 543     java.awt.Component&nbsp;comp,
 544     boolean&nbsp;canStop)</CODE>
 545
 546<BR>
 547&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy a file to another using VFS.</TD>
 548</TR>
 549<TR BGCOLOR="white" CLASS="TableRowColor">
 550<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 551<CODE>static&nbsp;boolean</CODE></FONT></TD>
 552<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#copy(org.gjt.sp.util.ProgressObserver, org.gjt.sp.jedit.io.VFS, java.lang.Object, java.lang.String, org.gjt.sp.jedit.io.VFS, java.lang.Object, java.lang.String, java.awt.Component, boolean)">copy</A></B>(<A HREF="../../../../../org/gjt/sp/util/ProgressObserver.html" title="interface in org.gjt.sp.util">ProgressObserver</A>&nbsp;progress,
 553     <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&nbsp;sourceVFS,
 554     java.lang.Object&nbsp;sourceSession,
 555     java.lang.String&nbsp;sourcePath,
 556     <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&nbsp;targetVFS,
 557     java.lang.Object&nbsp;targetSession,
 558     java.lang.String&nbsp;targetPath,
 559     java.awt.Component&nbsp;comp,
 560     boolean&nbsp;canStop)</CODE>
 561
 562<BR>
 563&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy a file to another using VFS.</TD>
 564</TR>
 565<TR BGCOLOR="white" CLASS="TableRowColor">
 566<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 567<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
 568<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#createVFSSession(java.lang.String, java.awt.Component)">createVFSSession</A></B>(java.lang.String&nbsp;path,
 569                 java.awt.Component&nbsp;comp)</CODE>
 570
 571<BR>
 572&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a VFS session.</TD>
 573</TR>
 574<TR BGCOLOR="white" CLASS="TableRowColor">
 575<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 576<CODE>&nbsp;int</CODE></FONT></TD>
 577<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getCapabilities()">getCapabilities</A></B>()</CODE>
 578
 579<BR>
 580&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the capabilities of this VFS.</TD>
 581</TR>
 582<TR BGCOLOR="white" CLASS="TableRowColor">
 583<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 584<CODE>static&nbsp;java.awt.Color</CODE></FONT></TD>
 585<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getDefaultColorFor(java.lang.String)">getDefaultColorFor</A></B>(java.lang.String&nbsp;name)</CODE>
 586
 587<BR>
 588&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns color of the specified file name, by matching it against
 589 user-specified regular expressions.</TD>
 590</TR>
 591<TR BGCOLOR="white" CLASS="TableRowColor">
 592<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 593<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
 594<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getExtendedAttributes()">getExtendedAttributes</A></B>()</CODE>
 595
 596<BR>
 597&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the extended attributes supported by this VFS.</TD>
 598</TR>
 599<TR BGCOLOR="white" CLASS="TableRowColor">
 600<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 601<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 602<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getFileName(java.lang.String)">getFileName</A></B>(java.lang.String&nbsp;path)</CODE>
 603
 604<BR>
 605&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file name component of the specified path.</TD>
 606</TR>
 607<TR BGCOLOR="white" CLASS="TableRowColor">
 608<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 609<CODE>&nbsp;char</CODE></FONT></TD>
 610<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getFileSeparator()">getFileSeparator</A></B>()</CODE>
 611
 612<BR>
 613&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file separator used by this VFS.</TD>
 614</TR>
 615<TR BGCOLOR="white" CLASS="TableRowColor">
 616<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 617<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 618<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getName()">getName</A></B>()</CODE>
 619
 620<BR>
 621&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this VFS's name.</TD>
 622</TR>
 623<TR BGCOLOR="white" CLASS="TableRowColor">
 624<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 625<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 626<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getParentOfPath(java.lang.String)">getParentOfPath</A></B>(java.lang.String&nbsp;path)</CODE>
 627
 628<BR>
 629&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent of the specified path.</TD>
 630</TR>
 631<TR BGCOLOR="white" CLASS="TableRowColor">
 632<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 633<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 634<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#getTwoStageSaveName(java.lang.String)">getTwoStageSaveName</A></B>(java.lang.String&nbsp;path)</CODE>
 635
 636<BR>
 637&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a temporary file name based on the given path.</TD>
 638</TR>
 639<TR BGCOLOR="white" CLASS="TableRowColor">
 640<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 641<CODE>&nbsp;boolean</CODE></FONT></TD>
 642<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#insert(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer, java.lang.String)">insert</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
 643       <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer,
 644       java.lang.String&nbsp;path)</CODE>
 645
 646<BR>
 647&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a file into the specified buffer.</TD>
 648</TR>
 649<TR BGCOLOR="white" CLASS="TableRowColor">
 650<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 651<CODE>&nbsp;boolean</CODE></FONT></TD>
 652<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#isMarkersFileSupported()">isMarkersFileSupported</A></B>()</CODE>
 653
 654<BR>
 655&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if an additional markers file can be saved by this VFS.</TD>
 656</TR>
 657<TR BGCOLOR="white" CLASS="TableRowColor">
 658<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 659<CODE>&nbsp;boolean</CODE></FONT></TD>
 660<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#load(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer, java.lang.String)">load</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
 661     <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer,
 662     java.lang.String&nbsp;path)</CODE>
 663
 664<BR>
 665&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the specified buffer.</TD>
 666</TR>
 667<TR BGCOLOR="white" CLASS="TableRowColor">
 668<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 669<CODE>&nbsp;void</CODE></FONT></TD>
 670<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#reloadDirectory(java.lang.String)">reloadDirectory</A></B>(java.lang.String&nbsp;path)</CODE>
 671
 672<BR>
 673&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called before a directory is reloaded by the file system browser.</TD>
 674</TR>
 675<TR BGCOLOR="white" CLASS="TableRowColor">
 676<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 677<CODE>&nbsp;boolean</CODE></FONT></TD>
 678<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#save(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer, java.lang.String)">save</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
 679     <A HREF="../../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer,
 680     java.lang.String&nbsp;path)</CODE>
 681
 682<BR>
 683&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves the specifies buffer.</TD>
 684</TR>
 685<TR BGCOLOR="white" CLASS="TableRowColor">
 686<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 687<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 688<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html#showBrowseDialog(java.lang.Object[], java.awt.Component)">showBrowseDialog</A></B>(java.lang.Object[]&nbsp;session,
 689                 java.awt.Component&nbsp;comp)</CODE>
 690
 691<BR>
 692&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This function is not used in the jEdit core anymore,
 693             so it doesn't have to be provided anymore. If you want
 694             to use it for another purpose like in the FTP plugin,
 695             feel free to do so.</I></TD>
 696</TR>
 697</TABLE>
 698&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 699<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 700<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 701<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
 702</TR>
 703<TR BGCOLOR="white" CLASS="TableRowColor">
 704<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
 705</TR>
 706</TABLE>
 707&nbsp;
 708<P>
 709
 710<!-- ============ FIELD DETAIL =========== -->
 711
 712<A NAME="field_detail"><!-- --></A>
 713<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 714<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 715<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 716<B>Field Detail</B></FONT></TH>
 717</TR>
 718</TABLE>
 719
 720<A NAME="READ_CAP"><!-- --></A><H3>
 721READ_CAP</H3>
 722<PRE>
 723public static final int <B>READ_CAP</B></PRE>
 724<DL>
 725<DD>Read capability.
 726<P>
 727<DL>
 728<DT><B>Since:</B></DT>
 729  <DD>jEdit 2.6pre2</DD>
 730<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.READ_CAP">Constant Field Values</A></DL>
 731</DL>
 732<HR>
 733
 734<A NAME="WRITE_CAP"><!-- --></A><H3>
 735WRITE_CAP</H3>
 736<PRE>
 737public static final int <B>WRITE_CAP</B></PRE>
 738<DL>
 739<DD>Write capability.
 740<P>
 741<DL>
 742<DT><B>Since:</B></DT>
 743  <DD>jEdit 2.6pre2</DD>
 744<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.WRITE_CAP">Constant Field Values</A></DL>
 745</DL>
 746<HR>
 747
 748<A NAME="BROWSE_CAP"><!-- --></A><H3>
 749BROWSE_CAP</H3>
 750<PRE>
 751public static final int <B>BROWSE_CAP</B></PRE>
 752<DL>
 753<DD>Browse capability
 754<P>
 755<DL>
 756<DT><B>Since:</B></DT>
 757  <DD>jEdit 4.3pre11
 758
 759 This was the official API for adding items to a file
 760 system browser's <b>Plugins</b> menu in jEdit 4.1 and earlier. In
 761 jEdit 4.2, there is a different way of doing this, you must provide
 762 a <code>browser.actions.xml</code> file in your plugin JAR, and
 763 define <code>plugin.<i>class</i>.browser-menu-item</code>
 764 or <code>plugin.<i>class</i>.browser-menu</code> properties.
 765 See <A HREF="../../../../../org/gjt/sp/jedit/EditPlugin.html" title="class in org.gjt.sp.jedit"><CODE>EditPlugin</CODE></A> for details.</DD>
 766<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.BROWSE_CAP">Constant Field Values</A></DL>
 767</DL>
 768<HR>
 769
 770<A NAME="DELETE_CAP"><!-- --></A><H3>
 771DELETE_CAP</H3>
 772<PRE>
 773public static final int <B>DELETE_CAP</B></PRE>
 774<DL>
 775<DD>Delete file capability.
 776<P>
 777<DL>
 778<DT><B>Since:</B></DT>
 779  <DD>jEdit 2.6pre2</DD>
 780<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.DELETE_CAP">Constant Field Values</A></DL>
 781</DL>
 782<HR>
 783
 784<A NAME="RENAME_CAP"><!-- --></A><H3>
 785RENAME_CAP</H3>
 786<PRE>
 787public static final int <B>RENAME_CAP</B></PRE>
 788<DL>
 789<DD>Rename file capability.
 790<P>
 791<DL>
 792<DT><B>Since:</B></DT>
 793  <DD>jEdit 2.6pre2</DD>
 794<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.RENAME_CAP">Constant Field Values</A></DL>
 795</DL>
 796<HR>
 797
 798<A NAME="MKDIR_CAP"><!-- --></A><H3>
 799MKDIR_CAP</H3>
 800<PRE>
 801public static final int <B>MKDIR_CAP</B></PRE>
 802<DL>
 803<DD>Make directory capability.
 804<P>
 805<DL>
 806<DT><B>Since:</B></DT>
 807  <DD>jEdit 2.6pre2</DD>
 808<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.MKDIR_CAP">Constant Field Values</A></DL>
 809</DL>
 810<HR>
 811
 812<A NAME="LOW_LATENCY_CAP"><!-- --></A><H3>
 813LOW_LATENCY_CAP</H3>
 814<PRE>
 815public static final int <B>LOW_LATENCY_CAP</B></PRE>
 816<DL>
 817<DD>Low latency capability. If this is not set, then a confirm dialog
 818 will be shown before doing a directory search in this VFS.
 819<P>
 820<DL>
 821<DT><B>Since:</B></DT>
 822  <DD>jEdit 4.1pre1</DD>
 823<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.LOW_LATENCY_CAP">Constant Field Values</A></DL>
 824</DL>
 825<HR>
 826
 827<A NAME="CASE_INSENSITIVE_CAP"><!-- --></A><H3>
 828CASE_INSENSITIVE_CAP</H3>
 829<PRE>
 830public static final int <B>CASE_INSENSITIVE_CAP</B></PRE>
 831<DL>
 832<DD>Case insensitive file system capability.
 833<P>
 834<DL>
 835<DT><B>Since:</B></DT>
 836  <DD>jEdit 4.1pre1</DD>
 837<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.CASE_INSENSITIVE_CAP">Constant Field Values</A></DL>
 838</DL>
 839<HR>
 840
 841<A NAME="EA_TYPE"><!-- --></A><H3>
 842EA_TYPE</H3>
 843<PRE>
 844public static final java.lang.String <B>EA_TYPE</B></PRE>
 845<DL>
 846<DD>File type.
 847<P>
 848<DL>
 849<DT><B>Since:</B></DT>
 850  <DD>jEdit 4.2pre1</DD>
 851<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.EA_TYPE">Constant Field Values</A></DL>
 852</DL>
 853<HR>
 854
 855<A NAME="EA_STATUS"><!-- --></A><H3>
 856EA_STATUS</H3>
 857<PRE>
 858public static final java.lang.String <B>EA_STATUS</B></PRE>
 859<DL>
 860<DD>File status (read only, read write, etc).
 861<P>
 862<DL>
 863<DT><B>Since:</B></DT>
 864  <DD>jEdit 4.2pre1</DD>
 865<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.EA_STATUS">Constant Field Values</A></DL>
 866</DL>
 867<HR>
 868
 869<A NAME="EA_SIZE"><!-- --></A><H3>
 870EA_SIZE</H3>
 871<PRE>
 872public static final java.lang.String <B>EA_SIZE</B></PRE>
 873<DL>
 874<DD>File size.
 875<P>
 876<DL>
 877<DT><B>Since:</B></DT>
 878  <DD>jEdit 4.2pre1</DD>
 879<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.EA_SIZE">Constant Field Values</A></DL>
 880</DL>
 881<HR>
 882
 883<A NAME="EA_MODIFIED"><!-- --></A><H3>
 884EA_MODIFIED</H3>
 885<PRE>
 886public static final java.lang.String <B>EA_MODIFIED</B></PRE>
 887<DL>
 888<DD>File last modified date.
 889<P>
 890<DL>
 891<DT><B>Since:</B></DT>
 892  <DD>jEdit 4.2pre1</DD>
 893<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFS.EA_MODIFIED">Constant Field Values</A></DL>
 894</DL>
 895<HR>
 896
 897<A NAME="IOBUFSIZE"><!-- --></A><H3>
 898IOBUFSIZE</H3>
 899<PRE>
 900public static int <B>IOBUFSIZE</B></PRE>
 901<DL>
 902<DL>
 903</DL>
 904</DL>
 905
 906<!-- ========= CONSTRUCTOR DETAIL ======== -->
 907
 908<A NAME="constructor_detail"><!-- --></A>
 909<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 910<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 911<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 912<B>Constructor Detail</B></FONT></TH>
 913</TR>
 914</TABLE>
 915
 916<A NAME="VFS(java.lang.String)"><!-- --></A><H3>
 917VFS</H3>
 918<PRE>
 919<FONT SIZE="-1">@Deprecated
 920</FONT>protected <B>VFS</B>(java.lang.String&nbsp;name)</PRE>
 921<DL>
 922<DD><B>Deprecated.</B>&nbsp;<I>Use the form where the constructor takes a capability
 923 list.</I>
 924<P>
 925</DL>
 926<HR>
 927
 928<A NAME="VFS(java.lang.String, int)"><!-- --></A><H3>
 929VFS</H3>
 930<PRE>
 931protected <B>VFS</B>(java.lang.String&nbsp;name,
 932              int&nbsp;caps)</PRE>
 933<DL>
 934<DD>Creates a new virtual filesystem.
 935<P>
 936<DL>
 937<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name<DD><CODE>caps</CODE> - The capabilities</DL>
 938</DL>
 939<HR>
 940
 941<A NAME="VFS(java.lang.String, int, java.lang.String[])"><!-- --></A><H3>
 942VFS</H3>
 943<PRE>
 944protected <B>VFS</B>(java.lang.String&nbsp;name,
 945              int&nbsp;caps,
 946              java.lang.String[]&nbsp;extAttrs)</PRE>
 947<DL>
 948<DD>Creates a new virtual filesystem.
 949<P>
 950<DL>
 951<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name<DD><CODE>caps</CODE> - The capabilities<DD><CODE>extAttrs</CODE> - The extended attributes<DT><B>Since:</B></DT>
 952  <DD>jEdit 4.2pre1</DD>
 953</DL>
 954</DL>
 955
 956<!-- ============ METHOD DETAIL ========== -->
 957
 958<A NAME="method_detail"><!-- --></A>
 959<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 960<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 961<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 962<B>Method Detail</B></FONT></TH>
 963</TR>
 964</TABLE>
 965
 966<A NAME="getName()"><!-- --></A><H3>
 967getName</H3>
 968<PRE>
 969public java.lang.String <B>getName</B>()</PRE>
 970<DL>
 971<DD>Returns this VFS's name. The name is used to obtain the
 972 label stored in the <code>vfs.<i>name</i>.label</code>
 973 property.
 974<P>
 975<DD><DL>
 976</DL>
 977</DD>
 978</DL>
 979<HR>
 980
 981<A NAME="getCapabilities()"><!-- --></A><H3>
 982getCapabilities</H3>
 983<PRE>
 984public int <B>getCapabilities</B>()</PRE>
 985<DL>
 986<DD>Returns the capabilities of this VFS.
 987<P>
 988<DD><DL>
 989<DT><B>Since:</B></DT>
 990  <DD>jEdit 2.6pre2</DD>
 991</DL>
 992</DD>
 993</DL>
 994<HR>
 995
 996<A NAME="isMarkersFileSupported()"><!-- --></A><H3>
 997isMarkersFileSupported</H3>
 998<PRE>
 999public boolean <B>isMarkersFileSupported</B>()</PRE>
1000<DL>
1001<DD>Returns if an additional markers file can be saved by this VFS.
1002 Default is <code>true</code>.
1003<P>
1004<DD><DL>
1005<DT><B>Since:</B></DT>
1006  <DD>jEdit 4.3pre10</DD>
1007</DL>
1008</DD>
1009</DL>
1010<HR>
1011
1012<A NAME="getExtendedAttributes()"><!-- --></A><H3>
1013getExtendedAttributes</H3>
1014<PRE>
1015public java.lang.String[] <B>getExtendedAttributes</B>()</PRE>
1016<DL>
1017<DD>Returns the extended attributes supported by this VFS.
1018<P>
1019<DD><DL>
1020<DT><B>Since:</B></DT>
1021  <DD>jEdit 4.2pre1</DD>
1022</DL>
1023</DD>
1024</DL>
1025<HR>
1026
1027<A NAME="showBrowseDialog(java.lang.Object[], java.awt.Component)"><!-- --></A><H3>
1028showBrowseDialog</H3>
1029<PRE>
1030<FONT SIZE="-1">@Deprecated
1031</FONT>public java.lang.String <B>showBrowseDialog</B>(java.lang.Object[]&nbsp;session,
1032                                                    java.awt.Component&nbsp;comp)</PRE>
1033<DL>
1034<DD><B>Deprecated.</B>&nbsp;<I>This function is not used in the jEdit core anymore,
1035             so it doesn't have to be provided anymore. If you want
1036             to use it for another purpose like in the FTP plugin,
1037             feel free to do so.</I>
1038<P>
1039<DD>Displays a dialog box that should set up a session and return
1040 the initial URL to browse.
1041<P>
1042<DD><DL>
1043<DT><B>Parameters:</B><DD><CODE>session</CODE> - Where the VFS session will be stored<DD><CODE>comp</CODE> - The component that will parent error dialog boxes
1044<DT><B>Returns:</B><DD>The URL<DT><B>Since:</B></DT>
1045  <DD>jEdit 2.7pre1</DD>
1046</DL>
1047</DD>
1048</DL>
1049<HR>
1050
1051<A NAME="getFileName(java.lang.String)"><!-- --></A><H3>
1052getFileName</H3>
1053<PRE>
1054public java.lang.String <B>getFileName</B>(java.lang.String&nbsp;path)</PRE>
1055<DL>
1056<DD>Returns the file name component of the specified path.
1057<P>
1058<DD><DL>
1059<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path<DT><B>Since:</B></DT>
1060  <DD>jEdit 3.1pre4</DD>
1061</DL>
1062</DD>
1063</DL>
1064<HR>
1065
1066<A NAME="getParentOfPath(java.lang.String)"><!-- --></A><H3>
1067getParentOfPath</H3>
1068<PRE>
1069public java.lang.String <B>getParentOfPath</B>(java.lang.String&nbsp;path)</PRE>
1070<DL>
1071<DD>Returns the parent of the specified path. This must be
1072 overridden to return a non-null value for browsing of this
1073 filesystem to work.
1074<P>
1075<DD><DL>
1076<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path<DT><B>Since:</B></DT>
1077  <DD>jEdit 2.6pre5</DD>
1078</DL>
1079</DD>
1080</DL>
1081<HR>
1082
1083<A NAME="constructPath(java.lang.String, java.lang.String)"><!-- --></A><H3>
1084constructPath</H3>
1085<PRE>
1086public java.lang.String <B>constructPath</B>(java.lang.String&nbsp;parent,
1087                                      java.lang.String&nbsp;path)</PRE>
1088<DL>
1089<DD>Constructs a path from the specified directory and
1090 file name component. This must be overridden to return a
1091 non-null value, otherwise browsing this filesystem will
1092 not work.<p>
1093
1094 Unless you are writing a VFS, this method should not be called
1095 directly. To ensure correct behavior, you <b>must</b> call
1096 <A HREF="../../../../../org/gjt/sp/jedit/MiscUtilities.html#constructPath(java.lang.String, java.lang.String)"><CODE>MiscUtilities.constructPath(String,String)</CODE></A>
1097 instead.
1098<P>
1099<DD><DL>
1100<DT><B>Parameters:</B><DD><CODE>parent</CODE> - The parent directory<DD><CODE>path</CODE> - The path<DT><B>Since:</B></DT>
1101  <DD>jEdit 2.6pre2</DD>
1102</DL>
1103</DD>
1104</DL>
1105<HR>
1106
1107<A NAME="getFileSeparator()"><!-- --></A><H3>
1108getFileSeparator</H3>
1109<PRE>
1110public char <B>getFileSeparator</B>()</PRE>
1111<DL>
1112<DD>Returns the file separator used by this VFS.
1113<P>
1114<DD><DL>
1115<DT><B>Since:</B></DT>
1116  <DD>jEdit 2.6pre9</DD>
1117</DL>
1118</DD>
1119</DL>
1120<HR>
1121
1122<A NAME="getTwoStageSaveName(java.lang.String)"><!-- --></A><H3>
1123getTwoStageSaveName</H3>
1124<PRE>
1125public java.lang.String <B>getTwoStageSaveName</B>(java.lang.String&nbsp;path)</PRE>
1126<DL>
1127<DD>Returns a temporary file name based on the given path.
1128
1129 By default jEdit first saves a file to <code>#<i>name</i>#save#</code>
1130 and then renames it to the original file. However some virtual file
1131 systems might not support the <code>#</code> character in filenames,
1132 so this method permits the VFS to override this behavior.
1133
1134 If this method returns <code>null</code>, two stage save will not
1135 be used for that particular file (introduced in jEdit 4.3pre1).
1136<P>
1137<DD><DL>
1138<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path name<DT><B>Since:</B></DT>
1139  <DD>jEdit 4.1pre7</DD>
1140</DL>
1141</DD>
1142</DL>
1143<HR>
1144
1145<A NAME="reloadDirectory(java.lang.String)"><!-- --></A><H3>
1146reloadDirectory</H3>
1147<PRE>
1148public void <B>reloadDirectory</B>(java.lang.String&nbsp;path)</PRE>
1149<DL>
1150<DD>Called before a directory is reloaded by the file system browser.
1151 Can be used to flush a cache, etc.
1152<P>
1153<DD><DL>
1154<DT><B>Since:</B></DT>
1155  <DD>jEdit 4.0pre3</DD>
1156</DL>
1157</DD>
1158</DL>
1159<HR>
1160
1161<A NAME="createVFSSession(java.lang.String, java.awt.Component)"><!-- --></A><H3>
1162createVFSSession</H3>
1163<PRE>
1164public java.lang.Object <B>createVFSSession</B>(java.lang.String&nbsp;path,
1165                                         java.awt.Component&nbsp;comp)</PRE>
1166<DL>
1167<DD>Creates a VFS session. This method is called from the AWT thread,
1168 so it should not do any I/O. It could, however, prompt for
1169 a login name and password, for example.
1170<P>
1171<DD><DL>
1172<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path in question<DD><CODE>comp</CODE> - The component that will parent any dialog boxes shown
1173<DT><B>Returns:</B><DD>The session. The session can be null if there were errors<DT><B>Since:</B></DT>
1174  <DD>jEdit 2.6pre3</DD>
1175</DL>
1176</DD>
1177</DL>
1178<HR>
1179
1180<A NAME="load(org.gjt.sp.jedit.View, org.gjt.sp.jedit.Buffer, java.lang.String)"><!-- --></A><H3>
1181load</H3>
1182<PRE>
1183public boolean <B>load</B>(<A HREF="../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.j

Large files files are truncated, but you can click here to view the full file