/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
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!--NewPage-->
- <HTML>
- <HEAD>
- <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:02 GMT-08:00 2008 -->
- <TITLE>
- VFSManager (jEdit API)
- </TITLE>
- <META NAME="keywords" CONTENT="org.gjt.sp.jedit.io.VFSManager class">
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
- <NOSCRIPT>
- </NOSCRIPT>
- </HEAD>
- <BODY BGCOLOR="white" >
- <!-- ========= START OF TOP NAVBAR ======= -->
- <A NAME="navbar_top"><!-- --></A>
- <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_top_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VFSManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>
- <A HREF="../../../../../org/gjt/sp/jedit/io/XMLEncodingDetector.html" title="class in org.gjt.sp.jedit.io"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/io/VFSManager.html" target="_top"><B>FRAMES</B></A>
- <A HREF="VFSManager.html" target="_top"><B>NO FRAMES</B></A>
-
- <NOSCRIPT>
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_top"></A>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <HR>
- <!-- ======== START OF CLASS DATA ======== -->
- <H2>
- <FONT SIZE="-1">
- org.gjt.sp.jedit.io</FONT>
- <BR>
- Class VFSManager</H2>
- <PRE>
- java.lang.Object
- <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.io.VFSManager</B>
- </PRE>
- <HR>
- <DL>
- <DT><PRE>public class <B>VFSManager</B><DT>extends java.lang.Object</DL>
- </PRE>
- <P>
- jEdit's virtual filesystem allows it to transparently edit files
- stored elsewhere than the local filesystem, for example on an FTP
- 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>
- Note that most of the jEdit API is not thread-safe, so special care
- must be taken when making jEdit API calls. Also, it is not safe to
- call <code>SwingUtilities.invokeAndWait()</code> from a work request;
- it can cause a deadlock if the given runnable then later calls
- <A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#waitForRequests()"><CODE>waitForRequests()</CODE></A>.
- <P>
- <P>
- <HR>
- <P>
- <!-- =========== FIELD SUMMARY =========== -->
- <A NAME="field_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Field Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#SERVICE">SERVICE</A></B></CODE>
- <BR>
- The service type.</TD>
- </TR>
- </TABLE>
-
- <!-- ========== METHOD SUMMARY =========== -->
- <A NAME="method_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Method Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <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 comp,
- java.lang.String error,
- java.lang.Object[] args)</CODE>
- <BR>
- <B>Deprecated.</B> <I>Call the other <code>error()</code> method instead.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <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 comp,
- java.lang.String path,
- java.lang.String messageProp,
- java.lang.Object[] args)</CODE>
- <BR>
- Reports an I/O error.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <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 e,
- java.lang.String path,
- java.awt.Component comp)</CODE>
- <BR>
- Handle an I/O error.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#errorOccurred()">errorOccurred</A></B>()</CODE>
- <BR>
- Returns if the last request caused an error.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.util.Enumeration<<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getFilesystems()">getFilesystems</A></B>()</CODE>
- <BR>
- <B>Deprecated.</B> <I>Use <code>getVFSs()</code> instead.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getFileVFS()">getFileVFS</A></B>()</CODE>
- <BR>
- Returns the local filesystem VFS.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/util/WorkThreadPool.html" title="class in org.gjt.sp.util">WorkThreadPool</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getIOThreadPool()">getIOThreadPool</A></B>()</CODE>
- <BR>
- Returns the I/O thread pool.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getRequestCount()">getRequestCount</A></B>()</CODE>
- <BR>
- Returns the number of pending I/O requests.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getUrlVFS()">getUrlVFS</A></B>()</CODE>
- <BR>
- Returns the URL VFS.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSByName(java.lang.String)">getVFSByName</A></B>(java.lang.String name)</CODE>
- <BR>
- <B>Deprecated.</B> <I>Use <code>getVFSForProtocol()</code> instead.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSForPath(java.lang.String)">getVFSForPath</A></B>(java.lang.String path)</CODE>
- <BR>
- Returns the VFS for the specified path.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSForProtocol(java.lang.String)">getVFSForProtocol</A></B>(java.lang.String protocol)</CODE>
- <BR>
- Returns the VFS for the specified protocol.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#getVFSs()">getVFSs</A></B>()</CODE>
- <BR>
- Returns a list of all registered filesystems.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#init()">init</A></B>()</CODE>
- <BR>
- Do not call.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <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 protocol,
- <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A> vfs)</CODE>
- <BR>
- <B>Deprecated.</B> <I>Write a <code>services.xml</code> file instead;
- see <A HREF="../../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A>.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#runInAWTThread(java.lang.Runnable)">runInAWTThread</A></B>(java.lang.Runnable run)</CODE>
- <BR>
- Executes the specified runnable in the AWT thread once all
- pending I/O requests are complete.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#runInWorkThread(java.lang.Runnable)">runInWorkThread</A></B>(java.lang.Runnable run)</CODE>
- <BR>
- Executes the specified runnable in one of the I/O threads.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <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> vfs,
- java.lang.String path,
- boolean parent)</CODE>
- <BR>
- Sends a VFS update message.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#start()">start</A></B>()</CODE>
- <BR>
- Do not call.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/io/VFSManager.html#waitForRequests()">waitForRequests</A></B>()</CODE>
- <BR>
- Returns when all pending requests are complete.</TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
- </TR>
- </TABLE>
-
- <P>
- <!-- ============ FIELD DETAIL =========== -->
- <A NAME="field_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Field Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="SERVICE"><!-- --></A><H3>
- SERVICE</H3>
- <PRE>
- public static final java.lang.String <B>SERVICE</B></PRE>
- <DL>
- <DD>The service type. See <A HREF="../../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A>.
- <P>
- <DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre1</DD>
- <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.io.VFSManager.SERVICE">Constant Field Values</A></DL>
- </DL>
- <!-- ============ METHOD DETAIL ========== -->
- <A NAME="method_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Method Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="init()"><!-- --></A><H3>
- init</H3>
- <PRE>
- public static void <B>init</B>()</PRE>
- <DL>
- <DD>Do not call.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="start()"><!-- --></A><H3>
- start</H3>
- <PRE>
- public static void <B>start</B>()</PRE>
- <DL>
- <DD>Do not call.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getFileVFS()"><!-- --></A><H3>
- getFileVFS</H3>
- <PRE>
- 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>
- <DL>
- <DD>Returns the local filesystem VFS.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 2.5pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getUrlVFS()"><!-- --></A><H3>
- getUrlVFS</H3>
- <PRE>
- 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>
- <DL>
- <DD>Returns the URL VFS.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 2.5pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getVFSByName(java.lang.String)"><!-- --></A><H3>
- getVFSByName</H3>
- <PRE>
- 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 name)</PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Use <code>getVFSForProtocol()</code> instead.</I>
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getVFSForProtocol(java.lang.String)"><!-- --></A><H3>
- getVFSForProtocol</H3>
- <PRE>
- 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 protocol)</PRE>
- <DL>
- <DD>Returns the VFS for the specified protocol.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>protocol</CODE> - The protocol<DT><B>Since:</B></DT>
- <DD>jEdit 2.5pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getVFSForPath(java.lang.String)"><!-- --></A><H3>
- getVFSForPath</H3>
- <PRE>
- 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 path)</PRE>
- <DL>
- <DD>Returns the VFS for the specified path.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>path</CODE> - The path<DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre4</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="registerVFS(java.lang.String, org.gjt.sp.jedit.io.VFS)"><!-- --></A><H3>
- registerVFS</H3>
- <PRE>
- public static void <B>registerVFS</B>(java.lang.String protocol,
- <A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A> vfs)</PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Write a <code>services.xml</code> file instead;
- see <A HREF="../../../../../org/gjt/sp/jedit/ServiceManager.html" title="class in org.gjt.sp.jedit"><CODE>ServiceManager</CODE></A>.</I>
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getFilesystems()"><!-- --></A><H3>
- getFilesystems</H3>
- <PRE>
- public static java.util.Enumeration<<A HREF="../../../../../org/gjt/sp/jedit/io/VFS.html" title="class in org.gjt.sp.jedit.io">VFS</A>> <B>getFilesystems</B>()</PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Use <code>getVFSs()</code> instead.</I>
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getVFSs()"><!-- --></A><H3>
- getVFSs</H3>
- <PRE>
- public static java.lang.String[] <B>getVFSs</B>()</PRE>
- <DL>
- <DD>Returns a list of all registered filesystems.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getIOThreadPool()"><!-- --></A><H3>
- getIOThreadPool</H3>
- <PRE>
- public static <A HREF="../../../../../org/gjt/sp/util/WorkThreadPool.html" title="class in org.gjt.sp.util">WorkThreadPool</A> <B>getIOThreadPool</B>()</PRE>
- <DL>
- <DD>Returns the I/O thread pool.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="waitForRequests()"><!-- --></A><H3>
- waitForRequests</H3>
- <PRE>
- public static void <B>waitForRequests</B>()</PRE>
- <DL>
- <DD>Returns when all pending requests are complete.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 2.5pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="errorOccurred()"><!-- --></A><H3>
- errorOccurred</H3>
- <PRE>
- public static boolean <B>errorOccurred</B>()</PRE>
- <DL>
- <DD>Returns if the last request caused an error.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getRequestCount()"><!-- --></A><H3>
- getRequestCount</H3>
- <PRE>
- public static int <B>getRequestCount</B>()</PRE>
- <DL>
- <DD>Returns the number of pending I/O requests.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="runInAWTThread(java.lang.Runnable)"><!-- --></A><H3>
- runInAWTThread</H3>
- <PRE>
- public static void <B>runInAWTThread</B>(java.lang.Runnable run)</PRE>
- <DL>
- <DD>Executes the specified runnable in the AWT thread once all
- pending I/O requests are complete.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 2.5pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="runInWorkThread(java.lang.Runnable)"><!-- --></A><H3>
- runInWorkThread</H3>
- <PRE>
- public static void <B>runInWorkThread</B>(java.lang.Runnable run)</PRE>
- <DL>
- <DD>Executes the specified runnable in one of the I/O threads.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre2</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="error(java.io.IOException, java.lang.String, java.awt.Component)"><!-- --></A><H3>
- error</H3>
- <PRE>
- public static void <B>error</B>(java.io.IOException e,
- java.lang.String path,
- java.awt.Component comp)</PRE>
- <DL>
- <DD>Handle an I/O error.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 4.3pre3</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="error(java.awt.Component, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
- error</H3>
- <PRE>
- public static void <B>error</B>(java.awt.Component comp,
- java.lang.String error,
- java.lang.Object[] args)</PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Call the other <code>error()</code> method instead.</I>
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="error(java.awt.Component, java.lang.String, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
- error</H3>
- <PRE>
- public static void <B>error</B>(java.awt.Component comp,
- java.lang.String path,
- java.lang.String messageProp,
- java.lang.Object[] args)</PRE>
- <DL>
- <DD>Reports an I/O error.
- <P>
- <DD><DL>
- <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>
- <DD>jEdit 4.0pre3</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="sendVFSUpdate(org.gjt.sp.jedit.io.VFS, java.lang.String, boolean)"><!-- --></A><H3>
- sendVFSUpdate</H3>
- <PRE>
- 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> vfs,
- java.lang.String path,
- boolean parent)</PRE>
- <DL>
- <DD>Sends a VFS update message.
- <P>
- <DD><DL>
- <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
- parent too<DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre4</DD>
- </DL>
- </DD>
- </DL>
- <!-- ========= END OF CLASS DATA ========= -->
- <HR>
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <A NAME="navbar_bottom"><!-- --></A>
- <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_bottom_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VFSManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../org/gjt/sp/jedit/io/VFSFileFilter.html" title="interface in org.gjt.sp.jedit.io"><B>PREV CLASS</B></A>
- <A HREF="../../../../../org/gjt/sp/jedit/io/XMLEncodingDetector.html" title="class in org.gjt.sp.jedit.io"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../../index.html?org/gjt/sp/jedit/io/VFSManager.html" target="_top"><B>FRAMES</B></A>
- <A HREF="VFSManager.html" target="_top"><B>NO FRAMES</B></A>
-
- <NOSCRIPT>
- <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_bottom"></A>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <HR>
- </BODY>
- </HTML>