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