PageRenderTime 36ms CodeModel.GetById 12ms app.highlight 18ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
HTML | 699 lines | 616 code | 71 blank | 12 comment | 0 complexity | 3cc3116f6cb1192106f41c895b584943 MD5 | raw 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>
  7VFSManager (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.io.VFSManager 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/VFSManager.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/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/XMLEncodingDetector.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/VFSManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="VFSManager.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;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&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;CONSTR&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 VFSManager</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.io.VFSManager</B>
 83</PRE>
 84<HR>
 85<DL>
 86<DT><PRE>public class <B>VFSManager</B><DT>extends java.lang.Object</DL>
 87</PRE>
 88
 89<P>
 90jEdit's virtual filesystem allows it to transparently edit files
 91 stored elsewhere than the local filesystem, for example on an FTP
 92 site. See the <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io"><CODE>VFS</CODE></A> class for implementation details.<p>
 93
 94 Note that most of the jEdit API is not thread-safe, so special care
 95 must be taken when making jEdit API calls. Also, it is not safe to
 96 call <code>SwingUtilities.invokeAndWait()</code> from a work request;
 97 it can cause a deadlock if the given runnable then later calls
 98 <A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#waitForRequests()"><CODE>waitForRequests()</CODE></A>.
 99<P>
100
101<P>
102<HR>
103
104<P>
105<!-- =========== FIELD SUMMARY =========== -->
106
107<A NAME="field_summary"><!-- --></A>
108<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
109<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
110<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
111<B>Field Summary</B></FONT></TH>
112</TR>
113<TR BGCOLOR="white" CLASS="TableRowColor">
114<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
115<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
116<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#SERVICE">SERVICE</A></B></CODE>
117
118<BR>
119&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The service type.</TD>
120</TR>
121</TABLE>
122&nbsp;
123<!-- ========== METHOD SUMMARY =========== -->
124
125<A NAME="method_summary"><!-- --></A>
126<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129<B>Method Summary</B></FONT></TH>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE>static&nbsp;void</CODE></FONT></TD>
134<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#error(java.awt.Component, java.lang.String, java.lang.Object[])">error</A></B>(java.awt.Component&nbsp;comp,
135      java.lang.String&nbsp;error,
136      java.lang.Object[]&nbsp;args)</CODE>
137
138<BR>
139&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Call the other <code>error()</code> method instead.</I></TD>
140</TR>
141<TR BGCOLOR="white" CLASS="TableRowColor">
142<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143<CODE>static&nbsp;void</CODE></FONT></TD>
144<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#error(java.awt.Component, java.lang.String, java.lang.String, java.lang.Object[])">error</A></B>(java.awt.Component&nbsp;comp,
145      java.lang.String&nbsp;path,
146      java.lang.String&nbsp;messageProp,
147      java.lang.Object[]&nbsp;args)</CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reports an I/O error.</TD>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154<CODE>static&nbsp;void</CODE></FONT></TD>
155<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#error(java.io.IOException, java.lang.String, java.awt.Component)">error</A></B>(java.io.IOException&nbsp;e,
156      java.lang.String&nbsp;path,
157      java.awt.Component&nbsp;comp)</CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle an I/O error.</TD>
161</TR>
162<TR BGCOLOR="white" CLASS="TableRowColor">
163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164<CODE>static&nbsp;boolean</CODE></FONT></TD>
165<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#errorOccurred()">errorOccurred</A></B>()</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the last request caused an error.</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>static&nbsp;java.util.Enumeration&lt;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&gt;</CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getFilesystems()">getFilesystems</A></B>()</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>getVFSs()</code> instead.</I></TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
181<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getFileVFS()">getFileVFS</A></B>()</CODE>
182
183<BR>
184&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the local filesystem VFS.</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/util/WorkThreadPool.html" title="class in org.gjt.sp.util">WorkThreadPool</A></CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getIOThreadPool()">getIOThreadPool</A></B>()</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the I/O thread pool.</TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196<CODE>static&nbsp;int</CODE></FONT></TD>
197<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getRequestCount()">getRequestCount</A></B>()</CODE>
198
199<BR>
200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of pending I/O requests.</TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
205<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getUrlVFS()">getUrlVFS</A></B>()</CODE>
206
207<BR>
208&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the URL VFS.</TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
213<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSByName(java.lang.String)">getVFSByName</A></B>(java.lang.String&nbsp;name)</CODE>
214
215<BR>
216&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>getVFSForProtocol()</code> instead.</I></TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSForPath(java.lang.String)">getVFSForPath</A></B>(java.lang.String&nbsp;path)</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the VFS for the specified path.</TD>
225</TR>
226<TR BGCOLOR="white" CLASS="TableRowColor">
227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
229<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSForProtocol(java.lang.String)">getVFSForProtocol</A></B>(java.lang.String&nbsp;protocol)</CODE>
230
231<BR>
232&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the VFS for the specified protocol.</TD>
233</TR>
234<TR BGCOLOR="white" CLASS="TableRowColor">
235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
237<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSs()">getVFSs</A></B>()</CODE>
238
239<BR>
240&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all registered filesystems.</TD>
241</TR>
242<TR BGCOLOR="white" CLASS="TableRowColor">
243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244<CODE>static&nbsp;void</CODE></FONT></TD>
245<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#init()">init</A></B>()</CODE>
246
247<BR>
248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do not call.</TD>
249</TR>
250<TR BGCOLOR="white" CLASS="TableRowColor">
251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252<CODE>static&nbsp;void</CODE></FONT></TD>
253<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#registerVFS(java.lang.String, org.gjt.sp.jedit.io.VFS)">registerVFS</A></B>(java.lang.String&nbsp;protocol,
254            <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&nbsp;vfs)</CODE>
255
256<BR>
257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Write a <code>services.xml</code> file instead;
258 see <A HREF="../../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A>.</I></TD>
259</TR>
260<TR BGCOLOR="white" CLASS="TableRowColor">
261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262<CODE>static&nbsp;void</CODE></FONT></TD>
263<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#runInAWTThread(java.lang.Runnable)">runInAWTThread</A></B>(java.lang.Runnable&nbsp;run)</CODE>
264
265<BR>
266&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the specified runnable in the AWT thread once all
267 pending I/O requests are complete.</TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271<CODE>static&nbsp;void</CODE></FONT></TD>
272<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#runInWorkThread(java.lang.Runnable)">runInWorkThread</A></B>(java.lang.Runnable&nbsp;run)</CODE>
273
274<BR>
275&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the specified runnable in one of the I/O threads.</TD>
276</TR>
277<TR BGCOLOR="white" CLASS="TableRowColor">
278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279<CODE>static&nbsp;void</CODE></FONT></TD>
280<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#sendVFSUpdate(org.gjt.sp.jedit.io.VFS, java.lang.String, boolean)">sendVFSUpdate</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&nbsp;vfs,
281              java.lang.String&nbsp;path,
282              boolean&nbsp;parent)</CODE>
283
284<BR>
285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sends a VFS update message.</TD>
286</TR>
287<TR BGCOLOR="white" CLASS="TableRowColor">
288<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
289<CODE>static&nbsp;void</CODE></FONT></TD>
290<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#start()">start</A></B>()</CODE>
291
292<BR>
293&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do not call.</TD>
294</TR>
295<TR BGCOLOR="white" CLASS="TableRowColor">
296<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
297<CODE>static&nbsp;void</CODE></FONT></TD>
298<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#waitForRequests()">waitForRequests</A></B>()</CODE>
299
300<BR>
301&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns when all pending requests are complete.</TD>
302</TR>
303</TABLE>
304&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
305<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
306<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
307<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
308</TR>
309<TR BGCOLOR="white" CLASS="TableRowColor">
310<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
311</TR>
312</TABLE>
313&nbsp;
314<P>
315
316<!-- ============ FIELD DETAIL =========== -->
317
318<A NAME="field_detail"><!-- --></A>
319<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
320<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
321<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
322<B>Field Detail</B></FONT></TH>
323</TR>
324</TABLE>
325
326<A NAME="SERVICE"><!-- --></A><H3>
327SERVICE</H3>
328<PRE>
329public static final java.lang.String <B>SERVICE</B></PRE>
330<DL>
331<DD>The service type. See <A HREF="../../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A>.
332<P>
333<DL>
334<DT><B>Since:</B></DT>
335  <DD>jEdit 4.2pre1</DD>
336<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFSManager.SERVICE">Constant Field Values</A></DL>
337</DL>
338
339<!-- ============ METHOD DETAIL ========== -->
340
341<A NAME="method_detail"><!-- --></A>
342<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
343<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
344<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
345<B>Method Detail</B></FONT></TH>
346</TR>
347</TABLE>
348
349<A NAME="init()"><!-- --></A><H3>
350init</H3>
351<PRE>
352public static void <B>init</B>()</PRE>
353<DL>
354<DD>Do not call.
355<P>
356<DD><DL>
357</DL>
358</DD>
359</DL>
360<HR>
361
362<A NAME="start()"><!-- --></A><H3>
363start</H3>
364<PRE>
365public static void <B>start</B>()</PRE>
366<DL>
367<DD>Do not call.
368<P>
369<DD><DL>
370</DL>
371</DD>
372</DL>
373<HR>
374
375<A NAME="getFileVFS()"><!-- --></A><H3>
376getFileVFS</H3>
377<PRE>
378public static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A> <B>getFileVFS</B>()</PRE>
379<DL>
380<DD>Returns the local filesystem VFS.
381<P>
382<DD><DL>
383<DT><B>Since:</B></DT>
384  <DD>jEdit 2.5pre1</DD>
385</DL>
386</DD>
387</DL>
388<HR>
389
390<A NAME="getUrlVFS()"><!-- --></A><H3>
391getUrlVFS</H3>
392<PRE>
393public static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A> <B>getUrlVFS</B>()</PRE>
394<DL>
395<DD>Returns the URL VFS.
396<P>
397<DD><DL>
398<DT><B>Since:</B></DT>
399  <DD>jEdit 2.5pre1</DD>
400</DL>
401</DD>
402</DL>
403<HR>
404
405<A NAME="getVFSByName(java.lang.String)"><!-- --></A><H3>
406getVFSByName</H3>
407<PRE>
408public static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A> <B>getVFSByName</B>(java.lang.String&nbsp;name)</PRE>
409<DL>
410<DD><B>Deprecated.</B>&nbsp;<I>Use <code>getVFSForProtocol()</code> instead.</I>
411<P>
412<DD><DL>
413</DL>
414</DD>
415</DL>
416<HR>
417
418<A NAME="getVFSForProtocol(java.lang.String)"><!-- --></A><H3>
419getVFSForProtocol</H3>
420<PRE>
421public static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A> <B>getVFSForProtocol</B>(java.lang.String&nbsp;protocol)</PRE>
422<DL>
423<DD>Returns the VFS for the specified protocol.
424<P>
425<DD><DL>
426<DT><B>Parameters:</B><DD><CODE>protocol</CODE> - The protocol<DT><B>Since:</B></DT>
427  <DD>jEdit 2.5pre1</DD>
428</DL>
429</DD>
430</DL>
431<HR>
432
433<A NAME="getVFSForPath(java.lang.String)"><!-- --></A><H3>
434getVFSForPath</H3>
435<PRE>
436public static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A> <B>getVFSForPath</B>(java.lang.String&nbsp;path)</PRE>
437<DL>
438<DD>Returns the VFS for the specified path.
439<P>
440<DD><DL>
441<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path<DT><B>Since:</B></DT>
442  <DD>jEdit 2.6pre4</DD>
443</DL>
444</DD>
445</DL>
446<HR>
447
448<A NAME="registerVFS(java.lang.String, org.gjt.sp.jedit.io.VFS)"><!-- --></A><H3>
449registerVFS</H3>
450<PRE>
451public static void <B>registerVFS</B>(java.lang.String&nbsp;protocol,
452                               <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&nbsp;vfs)</PRE>
453<DL>
454<DD><B>Deprecated.</B>&nbsp;<I>Write a <code>services.xml</code> file instead;
455 see <A HREF="../../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A>.</I>
456<P>
457<DD><DL>
458</DL>
459</DD>
460</DL>
461<HR>
462
463<A NAME="getFilesystems()"><!-- --></A><H3>
464getFilesystems</H3>
465<PRE>
466public static java.util.Enumeration&lt;<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&gt; <B>getFilesystems</B>()</PRE>
467<DL>
468<DD><B>Deprecated.</B>&nbsp;<I>Use <code>getVFSs()</code> instead.</I>
469<P>
470<DD><DL>
471</DL>
472</DD>
473</DL>
474<HR>
475
476<A NAME="getVFSs()"><!-- --></A><H3>
477getVFSs</H3>
478<PRE>
479public static java.lang.String[] <B>getVFSs</B>()</PRE>
480<DL>
481<DD>Returns a list of all registered filesystems.
482<P>
483<DD><DL>
484<DT><B>Since:</B></DT>
485  <DD>jEdit 4.2pre1</DD>
486</DL>
487</DD>
488</DL>
489<HR>
490
491<A NAME="getIOThreadPool()"><!-- --></A><H3>
492getIOThreadPool</H3>
493<PRE>
494public static <A HREF="../../../../../org/gjt/sp/util/WorkThreadPool.html" title="class in org.gjt.sp.util">WorkThreadPool</A> <B>getIOThreadPool</B>()</PRE>
495<DL>
496<DD>Returns the I/O thread pool.
497<P>
498<DD><DL>
499</DL>
500</DD>
501</DL>
502<HR>
503
504<A NAME="waitForRequests()"><!-- --></A><H3>
505waitForRequests</H3>
506<PRE>
507public static void <B>waitForRequests</B>()</PRE>
508<DL>
509<DD>Returns when all pending requests are complete.
510<P>
511<DD><DL>
512<DT><B>Since:</B></DT>
513  <DD>jEdit 2.5pre1</DD>
514</DL>
515</DD>
516</DL>
517<HR>
518
519<A NAME="errorOccurred()"><!-- --></A><H3>
520errorOccurred</H3>
521<PRE>
522public static boolean <B>errorOccurred</B>()</PRE>
523<DL>
524<DD>Returns if the last request caused an error.
525<P>
526<DD><DL>
527</DL>
528</DD>
529</DL>
530<HR>
531
532<A NAME="getRequestCount()"><!-- --></A><H3>
533getRequestCount</H3>
534<PRE>
535public static int <B>getRequestCount</B>()</PRE>
536<DL>
537<DD>Returns the number of pending I/O requests.
538<P>
539<DD><DL>
540</DL>
541</DD>
542</DL>
543<HR>
544
545<A NAME="runInAWTThread(java.lang.Runnable)"><!-- --></A><H3>
546runInAWTThread</H3>
547<PRE>
548public static void <B>runInAWTThread</B>(java.lang.Runnable&nbsp;run)</PRE>
549<DL>
550<DD>Executes the specified runnable in the AWT thread once all
551 pending I/O requests are complete.
552<P>
553<DD><DL>
554<DT><B>Since:</B></DT>
555  <DD>jEdit 2.5pre1</DD>
556</DL>
557</DD>
558</DL>
559<HR>
560
561<A NAME="runInWorkThread(java.lang.Runnable)"><!-- --></A><H3>
562runInWorkThread</H3>
563<PRE>
564public static void <B>runInWorkThread</B>(java.lang.Runnable&nbsp;run)</PRE>
565<DL>
566<DD>Executes the specified runnable in one of the I/O threads.
567<P>
568<DD><DL>
569<DT><B>Since:</B></DT>
570  <DD>jEdit 2.6pre2</DD>
571</DL>
572</DD>
573</DL>
574<HR>
575
576<A NAME="error(java.io.IOException, java.lang.String, java.awt.Component)"><!-- --></A><H3>
577error</H3>
578<PRE>
579public static void <B>error</B>(java.io.IOException&nbsp;e,
580                         java.lang.String&nbsp;path,
581                         java.awt.Component&nbsp;comp)</PRE>
582<DL>
583<DD>Handle an I/O error.
584<P>
585<DD><DL>
586<DT><B>Since:</B></DT>
587  <DD>jEdit 4.3pre3</DD>
588</DL>
589</DD>
590</DL>
591<HR>
592
593<A NAME="error(java.awt.Component, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
594error</H3>
595<PRE>
596public static void <B>error</B>(java.awt.Component&nbsp;comp,
597                         java.lang.String&nbsp;error,
598                         java.lang.Object[]&nbsp;args)</PRE>
599<DL>
600<DD><B>Deprecated.</B>&nbsp;<I>Call the other <code>error()</code> method instead.</I>
601<P>
602<DD><DL>
603</DL>
604</DD>
605</DL>
606<HR>
607
608<A NAME="error(java.awt.Component, java.lang.String, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
609error</H3>
610<PRE>
611public static void <B>error</B>(java.awt.Component&nbsp;comp,
612                         java.lang.String&nbsp;path,
613                         java.lang.String&nbsp;messageProp,
614                         java.lang.Object[]&nbsp;args)</PRE>
615<DL>
616<DD>Reports an I/O error.
617<P>
618<DD><DL>
619<DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component<DD><CODE>path</CODE> - The path name that caused the error<DD><CODE>messageProp</CODE> - The error message property name<DD><CODE>args</CODE> - Positional parameters<DT><B>Since:</B></DT>
620  <DD>jEdit 4.0pre3</DD>
621</DL>
622</DD>
623</DL>
624<HR>
625
626<A NAME="sendVFSUpdate(org.gjt.sp.jedit.io.VFS, java.lang.String, boolean)"><!-- --></A><H3>
627sendVFSUpdate</H3>
628<PRE>
629public static void <B>sendVFSUpdate</B>(<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>&nbsp;vfs,
630                                 java.lang.String&nbsp;path,
631                                 boolean&nbsp;parent)</PRE>
632<DL>
633<DD>Sends a VFS update message.
634<P>
635<DD><DL>
636<DT><B>Parameters:</B><DD><CODE>vfs</CODE> - The VFS<DD><CODE>path</CODE> - The path that changed<DD><CODE>parent</CODE> - True if an update should be sent for the path's
637 parent too<DT><B>Since:</B></DT>
638  <DD>jEdit 2.6pre4</DD>
639</DL>
640</DD>
641</DL>
642<!-- ========= END OF CLASS DATA ========= -->
643<HR>
644
645
646<!-- ======= START OF BOTTOM NAVBAR ====== -->
647<A NAME="navbar_bottom"><!-- --></A>
648<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
649<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
650<TR>
651<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
652<A NAME="navbar_bottom_firstrow"><!-- --></A>
653<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
654  <TR ALIGN="center" VALIGN="top">
655  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
656  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
657  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
658  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/VFSManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
659  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
660  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
661  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
662  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
663  </TR>
664</TABLE>
665</TD>
666<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
667</EM>
668</TD>
669</TR>
670
671<TR>
672<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
673&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>&nbsp;
674&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/io/XMLEncodingDetector.html" title="class in org.gjt.sp.jedit.io"><B>NEXT CLASS</B></A></FONT></TD>
675<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
676  <A HREF="../../../../../index.html?org/gjt/sp/jedit/io/VFSManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;
677&nbsp;<A HREF="VFSManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
678&nbsp;
679<NOSCRIPT>
680  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
681</NOSCRIPT>
682
683
684</FONT></TD>
685</TR>
686<TR>
687<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
688  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
689<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
690DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
691</TR>
692</TABLE>
693<A NAME="skip-navbar_bottom"></A>
694<!-- ======== END OF BOTTOM NAVBAR ======= -->
695
696<HR>
697
698</BODY>
699</HTML>