PageRenderTime 103ms CodeModel.GetById 62ms app.highlight 27ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
HTML | 1389 lines | 1241 code | 139 blank | 9 comment | 0 complexity | 092a0cdd5844de1cadb2754ba0be9615 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:13:46 GMT-08:00 2008 -->
  6<TITLE>
  7MiscUtilities (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.MiscUtilities 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/MiscUtilities.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/Marker.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html" title="interface in org.gjt.sp.jedit"><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/MiscUtilities.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="MiscUtilities.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;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</FONT>
 78<BR>
 79Class MiscUtilities</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.MiscUtilities</B>
 83</PRE>
 84<HR>
 85<DL>
 86<DT><PRE>public class <B>MiscUtilities</B><DT>extends java.lang.Object</DL>
 87</PRE>
 88
 89<P>
 90Path name manipulation, string manipulation, and more.<p>
 91
 92 The most frequently used members of this class are:<p>
 93
 94 <b>Some path name methods:</b><p>
 95 <ul>
 96 <li><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getFileName(java.lang.String)"><CODE>getFileName(String)</CODE></A></li>
 97 <li><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getParentOfPath(java.lang.String)"><CODE>getParentOfPath(String)</CODE></A></li>
 98 <li><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#constructPath(java.lang.String, java.lang.String)"><CODE>constructPath(String,String)</CODE></A></li>
 99 </ul>
100 <b>String comparison:</b><p>
101
102 A <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#compareStrings(java.lang.String, java.lang.String, boolean)"><CODE>compareStrings(String,String,boolean)</CODE></A> method that unlike
103 <function>String.compareTo()</function>, correctly recognizes and handles
104 embedded numbers.<p>
105
106 This class also defines several inner classes for use with the
107 sorting features of the Java collections API:
108
109 <ul>
110 <li><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringICaseCompare.html" title="class in org.gjt.sp.jedit"><CODE>MiscUtilities.StringICaseCompare</CODE></A></li>
111 <li><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit"><CODE>MiscUtilities.MenuItemCompare</CODE></A></li>
112 </ul>
113
114 For example, you might call:<p>
115
116 <code>Arrays.sort(myListOfStrings,
117     new MiscUtilities.StringICaseCompare());</code>
118<P>
119
120<P>
121<HR>
122
123<P>
124<!-- ======== NESTED CLASS SUMMARY ======== -->
125
126<A NAME="nested_class_summary"><!-- --></A>
127<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
130<B>Nested Class Summary</B></FONT></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>static&nbsp;interface</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html" title="interface in org.gjt.sp.jedit">MiscUtilities.Compare</A></B></CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I></I>&nbsp;</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>static&nbsp;class</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.MenuItemCompare.html" title="class in org.gjt.sp.jedit">MiscUtilities.MenuItemCompare</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;</TD>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>static&nbsp;class</CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringCompare.html" title="class in org.gjt.sp.jedit">MiscUtilities.StringCompare</A></B></CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.StringCompare.html" title="class in org.gjt.sp.util"><CODE>StandardUtilities.StringCompare</CODE></A></I></TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>static&nbsp;class</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.StringICaseCompare.html" title="class in org.gjt.sp.jedit">MiscUtilities.StringICaseCompare</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.StringCompare.html" title="class in org.gjt.sp.util"><CODE>StandardUtilities.StringCompare</CODE></A></I></TD>
163</TR>
164</TABLE>
165&nbsp;<!-- =========== FIELD SUMMARY =========== -->
166
167<A NAME="field_summary"><!-- --></A>
168<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
171<B>Field Summary</B></FONT></TH>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>static&nbsp;java.text.DecimalFormat</CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#KB_FORMAT">KB_FORMAT</A></B></CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>static&nbsp;java.text.DecimalFormat</CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#MB_FORMAT">MB_FORMAT</A></B></CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#UTF_8_Y">UTF_8_Y</A></B></CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Extended encodings are now supported as services.
196   This value is no longer used.</I></TD>
197</TR>
198</TABLE>
199&nbsp;
200<!-- ========== METHOD SUMMARY =========== -->
201
202<A NAME="method_summary"><!-- --></A>
203<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
204<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
205<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
206<B>Method Summary</B></FONT></TH>
207</TR>
208<TR BGCOLOR="white" CLASS="TableRowColor">
209<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
210<CODE>static&nbsp;java.io.Reader</CODE></FONT></TD>
211<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#autodetect(java.io.InputStream, org.gjt.sp.jedit.Buffer)">autodetect</A></B>(java.io.InputStream&nbsp;in,
212           <A HREF="../../../../org/gjt/sp/jedit/Buffer.html" title="class in org.gjt.sp.jedit">Buffer</A>&nbsp;buffer)</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tries to detect if the stream is gzipped, and if it has an encoding
216 specified with an XML PI.</TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#buildToVersion(java.lang.String)">buildToVersion</A></B>(java.lang.String&nbsp;build)</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts an internal version number (build) into a
225 `human-readable' form.</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/MiscUtilities.html#canonPath(java.lang.String)">canonPath</A></B>(java.lang.String&nbsp;path)</CODE>
231
232<BR>
233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/MiscUtilities.html#charsToEntities(java.lang.String)">charsToEntities</A></B>(java.lang.String&nbsp;str)</CODE>
239
240<BR>
241&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/gjt/sp/util/XMLUtilities.html#charsToEntities(java.lang.String, boolean)"><CODE>XMLUtilities.charsToEntities(String, boolean)</CODE></A>.</I></TD>
242</TR>
243<TR BGCOLOR="white" CLASS="TableRowColor">
244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
246<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#charsToEscapes(java.lang.String)">charsToEscapes</A></B>(java.lang.String&nbsp;str)</CODE>
247
248<BR>
249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#charsToEscapes(java.lang.String)"><CODE>StandardUtilities.charsToEscapes(String)</CODE></A></I></TD>
250</TR>
251<TR BGCOLOR="white" CLASS="TableRowColor">
252<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
254<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#charsToEscapes(java.lang.String, java.lang.String)">charsToEscapes</A></B>(java.lang.String&nbsp;str,
255               java.lang.String&nbsp;toEscape)</CODE>
256
257<BR>
258&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#charsToEscapes(java.lang.String)"><CODE>StandardUtilities.charsToEscapes(String)</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;java.lang.String</CODE></FONT></TD>
263<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#classToFile(java.lang.String)">classToFile</A></B>(java.lang.String&nbsp;name)</CODE>
264
265<BR>
266&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a class name to a file name.</TD>
267</TR>
268<TR BGCOLOR="white" CLASS="TableRowColor">
269<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270<CODE>static&nbsp;void</CODE></FONT></TD>
271<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#closeQuietly(java.io.InputStream)">closeQuietly</A></B>(java.io.InputStream&nbsp;in)</CODE>
272
273<BR>
274&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/IOUtilities.html#closeQuietly(java.io.InputStream)"><CODE>IOUtilities.closeQuietly(java.io.InputStream)</CODE></A></I></TD>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278<CODE>static&nbsp;void</CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#closeQuietly(java.io.OutputStream)">closeQuietly</A></B>(java.io.OutputStream&nbsp;out)</CODE>
280
281<BR>
282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/IOUtilities.html#closeQuietly(java.io.OutputStream)"><CODE>IOUtilities.closeQuietly(java.io.OutputStream)</CODE></A></I></TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>static&nbsp;int</CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#compareStrings(java.lang.String, java.lang.String, boolean)">compareStrings</A></B>(java.lang.String&nbsp;str1,
288               java.lang.String&nbsp;str2,
289               boolean&nbsp;ignoreCase)</CODE>
290
291<BR>
292&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#compareStrings(java.lang.String, java.lang.String, boolean)"><CODE>StandardUtilities.compareStrings(String, String, boolean)</CODE></A></I></TD>
293</TR>
294<TR BGCOLOR="white" CLASS="TableRowColor">
295<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296<CODE>static&nbsp;int</CODE></FONT></TD>
297<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#compareVersions(java.lang.String, java.lang.String)">compareVersions</A></B>(java.lang.String&nbsp;v1,
298                java.lang.String&nbsp;v2)</CODE>
299
300<BR>
301&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Call <code>compareStrings()</code> instead</I></TD>
302</TR>
303<TR BGCOLOR="white" CLASS="TableRowColor">
304<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
305<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
306<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#concatPath(java.lang.String, java.lang.String)">concatPath</A></B>(java.lang.String&nbsp;parent,
307           java.lang.String&nbsp;path)</CODE>
308
309<BR>
310&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#constructPath(java.lang.String, java.lang.String)"><CODE>constructPath(java.lang.String, java.lang.String)</CODE></A>, except <code>path</code> will be
311 appended to <code>parent</code> even if it is absolute.</TD>
312</TR>
313<TR BGCOLOR="white" CLASS="TableRowColor">
314<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
315<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
316<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#constructPath(java.lang.String, java.lang.String)">constructPath</A></B>(java.lang.String&nbsp;parent,
317              java.lang.String&nbsp;path)</CODE>
318
319<BR>
320&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an absolute path name from a directory and another
321 path name.</TD>
322</TR>
323<TR BGCOLOR="white" CLASS="TableRowColor">
324<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
325<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
326<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#constructPath(java.lang.String, java.lang.String, java.lang.String)">constructPath</A></B>(java.lang.String&nbsp;parent,
327              java.lang.String&nbsp;path1,
328              java.lang.String&nbsp;path2)</CODE>
329
330<BR>
331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an absolute path name from three path components.</TD>
332</TR>
333<TR BGCOLOR="white" CLASS="TableRowColor">
334<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335<CODE>static&nbsp;boolean</CODE></FONT></TD>
336<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#copyStream(int, org.gjt.sp.util.ProgressObserver, java.io.InputStream, java.io.OutputStream, boolean)">copyStream</A></B>(int&nbsp;bufferSize,
337           <A HREF="../../../../org/gjt/sp/util/ProgressObserver.html" title="interface in org.gjt.sp.util">ProgressObserver</A>&nbsp;progress,
338           java.io.InputStream&nbsp;in,
339           java.io.OutputStream&nbsp;out,
340           boolean&nbsp;canStop)</CODE>
341
342<BR>
343&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/IOUtilities.html#copyStream(int, org.gjt.sp.util.ProgressObserver, java.io.InputStream, java.io.OutputStream, boolean)"><CODE>IOUtilities.copyStream(int, org.gjt.sp.util.ProgressObserver, java.io.InputStream, java.io.OutputStream, boolean)</CODE></A></I></TD>
344</TR>
345<TR BGCOLOR="white" CLASS="TableRowColor">
346<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
347<CODE>static&nbsp;boolean</CODE></FONT></TD>
348<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#copyStream(org.gjt.sp.util.ProgressObserver, java.io.InputStream, java.io.OutputStream, boolean)">copyStream</A></B>(<A HREF="../../../../org/gjt/sp/util/ProgressObserver.html" title="interface in org.gjt.sp.util">ProgressObserver</A>&nbsp;progress,
349           java.io.InputStream&nbsp;in,
350           java.io.OutputStream&nbsp;out,
351           boolean&nbsp;canStop)</CODE>
352
353<BR>
354&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/IOUtilities.html#copyStream(org.gjt.sp.util.ProgressObserver, java.io.InputStream, java.io.OutputStream, boolean)"><CODE>IOUtilities.copyStream(org.gjt.sp.util.ProgressObserver, java.io.InputStream, java.io.OutputStream, boolean)</CODE></A></I></TD>
355</TR>
356<TR BGCOLOR="white" CLASS="TableRowColor">
357<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
359<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#createWhiteSpace(int, int)">createWhiteSpace</A></B>(int&nbsp;len,
360                 int&nbsp;tabSize)</CODE>
361
362<BR>
363&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#createWhiteSpace(int, int)"><CODE>StandardUtilities.createWhiteSpace(int, int)</CODE></A></I></TD>
364</TR>
365<TR BGCOLOR="white" CLASS="TableRowColor">
366<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
367<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
368<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#createWhiteSpace(int, int, int)">createWhiteSpace</A></B>(int&nbsp;len,
369                 int&nbsp;tabSize,
370                 int&nbsp;start)</CODE>
371
372<BR>
373&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#createWhiteSpace(int, int, int)"><CODE>StandardUtilities.createWhiteSpace(int, int, int)</CODE></A></I></TD>
374</TR>
375<TR BGCOLOR="white" CLASS="TableRowColor">
376<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
378<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#escapesToChars(java.lang.String)">escapesToChars</A></B>(java.lang.String&nbsp;str)</CODE>
379
380<BR>
381&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts "\n" and "\t" escapes in the specified string to
382 newlines and tabs.</TD>
383</TR>
384<TR BGCOLOR="white" CLASS="TableRowColor">
385<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
386<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
387<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#expandVariables(java.lang.String)">expandVariables</A></B>(java.lang.String&nbsp;arg)</CODE>
388
389<BR>
390&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accepts a string from the user which may contain variables of various syntaxes.</TD>
391</TR>
392<TR BGCOLOR="white" CLASS="TableRowColor">
393<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
394<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
395<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#fileToClass(java.lang.String)">fileToClass</A></B>(java.lang.String&nbsp;name)</CODE>
396
397<BR>
398&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a file name to a class name.</TD>
399</TR>
400<TR BGCOLOR="white" CLASS="TableRowColor">
401<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
402<CODE>static&nbsp;org.xml.sax.InputSource</CODE></FONT></TD>
403<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#findEntity(java.lang.String, java.lang.String, java.lang.Class)">findEntity</A></B>(java.lang.String&nbsp;systemId,
404           java.lang.String&nbsp;test,
405           java.lang.Class&nbsp;where)</CODE>
406
407<BR>
408&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/gjt/sp/util/XMLUtilities.html#findEntity(java.lang.String, java.lang.String, java.lang.Class)"><CODE>XMLUtilities.findEntity(String,String,Class)</CODE></A>.</I></TD>
409</TR>
410<TR BGCOLOR="white" CLASS="TableRowColor">
411<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
413<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#formatFileSize(long)">formatFileSize</A></B>(long&nbsp;length)</CODE>
414
415<BR>
416&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Formats the given file size into a nice string (123 Bytes, 10.6 kB,
417 1.2 MB).</TD>
418</TR>
419<TR BGCOLOR="white" CLASS="TableRowColor">
420<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
421<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
422<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getEncodings()">getEncodings</A></B>()</CODE>
423
424<BR>
425&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See #getEncodings( boolean )</I></TD>
426</TR>
427<TR BGCOLOR="white" CLASS="TableRowColor">
428<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
429<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
430<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getEncodings(boolean)">getEncodings</A></B>(boolean&nbsp;getSelected)</CODE>
431
432<BR>
433&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of supported character encodings.</TD>
434</TR>
435<TR BGCOLOR="white" CLASS="TableRowColor">
436<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
437<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
438<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getFileExtension(java.lang.String)">getFileExtension</A></B>(java.lang.String&nbsp;path)</CODE>
439
440<BR>
441&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the extension of the specified filename, or an empty
442 string if there is none.</TD>
443</TR>
444<TR BGCOLOR="white" CLASS="TableRowColor">
445<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
446<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
447<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getFileName(java.lang.String)">getFileName</A></B>(java.lang.String&nbsp;path)</CODE>
448
449<BR>
450&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last component of the specified path.</TD>
451</TR>
452<TR BGCOLOR="white" CLASS="TableRowColor">
453<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
454<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
455<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getFileNameNoExtension(java.lang.String)">getFileNameNoExtension</A></B>(java.lang.String&nbsp;path)</CODE>
456
457<BR>
458&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the last component of the specified path name without the
459 trailing extension (if there is one).</TD>
460</TR>
461<TR BGCOLOR="white" CLASS="TableRowColor">
462<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
463<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
464<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getFileParent(java.lang.String)">getFileParent</A></B>(java.lang.String&nbsp;path)</CODE>
465
466<BR>
467&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Call getParentOfPath() instead</I></TD>
468</TR>
469<TR BGCOLOR="white" CLASS="TableRowColor">
470<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
471<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
472<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getFileProtocol(java.lang.String)">getFileProtocol</A></B>(java.lang.String&nbsp;url)</CODE>
473
474<BR>
475&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Call getProtocolOfURL() instead</I></TD>
476</TR>
477<TR BGCOLOR="white" CLASS="TableRowColor">
478<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
479<CODE>static&nbsp;int</CODE></FONT></TD>
480<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getFirstSeparatorIndex(java.lang.String)">getFirstSeparatorIndex</A></B>(java.lang.String&nbsp;path)</CODE>
481
482<BR>
483&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the first index of either / or the OS-specific file
484 separator.</TD>
485</TR>
486<TR BGCOLOR="white" CLASS="TableRowColor">
487<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
488<CODE>static&nbsp;int</CODE></FONT></TD>
489<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getLastSeparatorIndex(java.lang.String)">getLastSeparatorIndex</A></B>(java.lang.String&nbsp;path)</CODE>
490
491<BR>
492&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the last index of either / or the OS-specific file
493 separator.</TD>
494</TR>
495<TR BGCOLOR="white" CLASS="TableRowColor">
496<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
497<CODE>static&nbsp;int</CODE></FONT></TD>
498<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getLeadingWhiteSpace(java.lang.String)">getLeadingWhiteSpace</A></B>(java.lang.String&nbsp;str)</CODE>
499
500<BR>
501&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#getLeadingWhiteSpace(java.lang.String)"><CODE>StandardUtilities.getLeadingWhiteSpace(String)</CODE></A></I></TD>
502</TR>
503<TR BGCOLOR="white" CLASS="TableRowColor">
504<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
505<CODE>static&nbsp;int</CODE></FONT></TD>
506<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getLeadingWhiteSpaceWidth(java.lang.String, int)">getLeadingWhiteSpaceWidth</A></B>(java.lang.String&nbsp;str,
507                          int&nbsp;tabSize)</CODE>
508
509<BR>
510&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#getLeadingWhiteSpace(java.lang.String)"><CODE>StandardUtilities.getLeadingWhiteSpace(String)</CODE></A></I></TD>
511</TR>
512<TR BGCOLOR="white" CLASS="TableRowColor">
513<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
514<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
515<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getLongestPrefix(java.util.List, boolean)">getLongestPrefix</A></B>(java.util.List&nbsp;str,
516                 boolean&nbsp;ignoreCase)</CODE>
517
518<BR>
519&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the longest common prefix in the given set of strings.</TD>
520</TR>
521<TR BGCOLOR="white" CLASS="TableRowColor">
522<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
523<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
524<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getLongestPrefix(java.lang.Object[], boolean)">getLongestPrefix</A></B>(java.lang.Object[]&nbsp;str,
525                 boolean&nbsp;ignoreCase)</CODE>
526
527<BR>
528&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the longest common prefix in the given set of strings.</TD>
529</TR>
530<TR BGCOLOR="white" CLASS="TableRowColor">
531<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
532<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
533<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getLongestPrefix(java.lang.String[], boolean)">getLongestPrefix</A></B>(java.lang.String[]&nbsp;str,
534                 boolean&nbsp;ignoreCase)</CODE>
535
536<BR>
537&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the longest common prefix in the given set of strings.</TD>
538</TR>
539<TR BGCOLOR="white" CLASS="TableRowColor">
540<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
541<CODE>static&nbsp;int</CODE></FONT></TD>
542<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getOffsetOfVirtualColumn(javax.swing.text.Segment, int, int, int[])">getOffsetOfVirtualColumn</A></B>(javax.swing.text.Segment&nbsp;seg,
543                         int&nbsp;tabSize,
544                         int&nbsp;column,
545                         int[]&nbsp;totalVirtualWidth)</CODE>
546
547<BR>
548&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#getVirtualWidth(javax.swing.text.Segment, int)"><CODE>StandardUtilities.getVirtualWidth(javax.swing.text.Segment, int)</CODE></A></I></TD>
549</TR>
550<TR BGCOLOR="white" CLASS="TableRowColor">
551<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
552<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
553<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getParentOfPath(java.lang.String)">getParentOfPath</A></B>(java.lang.String&nbsp;path)</CODE>
554
555<BR>
556&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent of the specified path.</TD>
557</TR>
558<TR BGCOLOR="white" CLASS="TableRowColor">
559<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
560<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
561<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getProtocolOfURL(java.lang.String)">getProtocolOfURL</A></B>(java.lang.String&nbsp;url)</CODE>
562
563<BR>
564&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the protocol specified by a URL.</TD>
565</TR>
566<TR BGCOLOR="white" CLASS="TableRowColor">
567<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
568<CODE>static&nbsp;int</CODE></FONT></TD>
569<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getTrailingWhiteSpace(java.lang.String)">getTrailingWhiteSpace</A></B>(java.lang.String&nbsp;str)</CODE>
570
571<BR>
572&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#getTrailingWhiteSpace(java.lang.String)"><CODE>StandardUtilities.getTrailingWhiteSpace(String)</CODE></A></I></TD>
573</TR>
574<TR BGCOLOR="white" CLASS="TableRowColor">
575<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
576<CODE>static&nbsp;int</CODE></FONT></TD>
577<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#getVirtualWidth(javax.swing.text.Segment, int)">getVirtualWidth</A></B>(javax.swing.text.Segment&nbsp;seg,
578                int&nbsp;tabSize)</CODE>
579
580<BR>
581&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#getVirtualWidth(javax.swing.text.Segment, int)"><CODE>StandardUtilities.getVirtualWidth(javax.swing.text.Segment, int)</CODE></A></I></TD>
582</TR>
583<TR BGCOLOR="white" CLASS="TableRowColor">
584<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
585<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
586<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#globToRE(java.lang.String)">globToRE</A></B>(java.lang.String&nbsp;glob)</CODE>
587
588<BR>
589&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#globToRE(java.lang.String)"><CODE>StandardUtilities.globToRE(String)</CODE></A>.</I></TD>
590</TR>
591<TR BGCOLOR="white" CLASS="TableRowColor">
592<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
593<CODE>static&nbsp;boolean</CODE></FONT></TD>
594<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#isAbsolutePath(java.lang.String)">isAbsolutePath</A></B>(java.lang.String&nbsp;path)</CODE>
595
596<BR>
597&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the specified path name is an absolute path or URL.</TD>
598</TR>
599<TR BGCOLOR="white" CLASS="TableRowColor">
600<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
601<CODE>static&nbsp;boolean</CODE></FONT></TD>
602<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#isBackup(java.lang.String)">isBackup</A></B>(java.lang.String&nbsp;filename)</CODE>
603
604<BR>
605&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if the filename is a backup file.</TD>
606</TR>
607<TR BGCOLOR="white" CLASS="TableRowColor">
608<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
609<CODE>static&nbsp;boolean</CODE></FONT></TD>
610<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#isBinary(java.io.InputStream)">isBinary</A></B>(java.io.InputStream&nbsp;in)</CODE>
611
612<BR>
613&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if an InputStream is binary.</TD>
614</TR>
615<TR BGCOLOR="white" CLASS="TableRowColor">
616<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
617<CODE>static&nbsp;boolean</CODE></FONT></TD>
618<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#isBinary(java.io.Reader)">isBinary</A></B>(java.io.Reader&nbsp;reader)</CODE>
619
620<BR>
621&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use isBinary(InputStream) instead.</I></TD>
622</TR>
623<TR BGCOLOR="white" CLASS="TableRowColor">
624<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
625<CODE>static&nbsp;boolean</CODE></FONT></TD>
626<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#isToolsJarAvailable()">isToolsJarAvailable</A></B>()</CODE>
627
628<BR>
629&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If on JDK 1.2 or higher, make sure that tools.jar is available.</TD>
630</TR>
631<TR BGCOLOR="white" CLASS="TableRowColor">
632<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
633<CODE>static&nbsp;boolean</CODE></FONT></TD>
634<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#isURL(java.lang.String)">isURL</A></B>(java.lang.String&nbsp;str)</CODE>
635
636<BR>
637&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if the specified string is a URL.</TD>
638</TR>
639<TR BGCOLOR="white" CLASS="TableRowColor">
640<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
641<CODE>static&nbsp;boolean</CODE></FONT></TD>
642<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#moveFile(java.io.File, java.io.File)">moveFile</A></B>(java.io.File&nbsp;source,
643         java.io.File&nbsp;dest)</CODE>
644
645<BR>
646&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/IOUtilities.html#moveFile(java.io.File, java.io.File)"><CODE>IOUtilities.moveFile(java.io.File, java.io.File)</CODE></A></I></TD>
647</TR>
648<TR BGCOLOR="white" CLASS="TableRowColor">
649<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
650<CODE>static&nbsp;boolean</CODE></FONT></TD>
651<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#objectsEqual(java.lang.Object, java.lang.Object)">objectsEqual</A></B>(java.lang.Object&nbsp;o1,
652             java.lang.Object&nbsp;o2)</CODE>
653
654<BR>
655&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/StandardUtilities.html#objectsEqual(java.lang.Object, java.lang.Object)"><CODE>StandardUtilities.objectsEqual(Object, Object)</CODE></A></I></TD>
656</TR>
657<TR BGCOLOR="white" CLASS="TableRowColor">
658<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
659<CODE>static&nbsp;int</CODE></FONT></TD>
660<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#parsePermissions(java.lang.String)">parsePermissions</A></B>(java.lang.String&nbsp;s)</CODE>
661
662<BR>
663&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse a Unix-style permission string (rwxrwxrwx).</TD>
664</TR>
665<TR BGCOLOR="white" CLASS="TableRowColor">
666<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
667<CODE>static&nbsp;boolean</CODE></FONT></TD>
668<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#parseXML(java.io.InputStream, org.xml.sax.helpers.DefaultHandler)">parseXML</A></B>(java.io.InputStream&nbsp;in,
669         org.xml.sax.helpers.DefaultHandler&nbsp;handler)</CODE>
670
671<BR>
672&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/gjt/sp/util/XMLUtilities.html#parseXML(java.io.InputStream, org.xml.sax.helpers.DefaultHandler)"><CODE>XMLUtilities.parseXML(InputStream,DefaultHandler)</CODE></A>.</I></TD>
673</TR>
674<TR BGCOLOR="white" CLASS="TableRowColor">
675<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
676<CODE>static&nbsp;boolean</CODE></FONT></TD>
677<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#pathsEqual(java.lang.String, java.lang.String)">pathsEqual</A></B>(java.lang.String&nbsp;p1,
678           java.lang.String&nbsp;p2)</CODE>
679
680<BR>
681&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
682</TR>
683<TR BGCOLOR="white" CLASS="TableRowColor">
684<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
685<CODE>static&nbsp;void</CODE></FONT></TD>
686<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#quicksort(java.util.List, java.util.Comparator)">quicksort</A></B>(java.util.List&nbsp;list,
687          java.util.Comparator&nbsp;compare)</CODE>
688
689<BR>
690&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I><code>Collections.sort()</code></I></TD>
691</TR>
692<TR BGCOLOR="white" CLASS="TableRowColor">
693<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
694<CODE>static&nbsp;void</CODE></FONT></TD>
695<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#quicksort(java.lang.Object[], java.util.Comparator)">quicksort</A></B>(java.lang.Object[]&nbsp;obj,
696          java.util.Comparator&nbsp;compare)</CODE>
697
698<BR>
699&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <code>Arrays.sort()</code></I></TD>
700</TR>
701<TR BGCOLOR="white" CLASS="TableRowColor">
702<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
703<CODE>static&nbsp;void</CODE></FONT></TD>
704<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#quicksort(java.lang.Object[], org.gjt.sp.jedit.MiscUtilities.Compare)">quicksort</A></B>(java.lang.Object[]&nbsp;obj,
705          <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html" title="interface in org.gjt.sp.jedit">MiscUtilities.Compare</A>&nbsp;compare)</CODE>
706
707<BR>
708&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <code>Arrays.sort()</code></I></TD>
709</TR>
710<TR BGCOLOR="white" CLASS="TableRowColor">
711<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
712<CODE>static&nbsp;void</CODE></FONT></TD>
713<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#quicksort(java.util.Vector, java.util.Comparator)">quicksort</A></B>(java.util.Vector&nbsp;vector,
714          java.util.Comparator&nbsp;compare)</CODE>
715
716<BR>
717&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I><code>Collections.sort()</code></I></TD>
718</TR>
719<TR BGCOLOR="white" CLASS="TableRowColor">
720<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
721<CODE>static&nbsp;void</CODE></FONT></TD>
722<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#quicksort(java.util.Vector, org.gjt.sp.jedit.MiscUtilities.Compare)">quicksort</A></B>(java.util.Vector&nbsp;vector,
723          <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.Compare.html" title="interface in org.gjt.sp.jedit">MiscUtilities.Compare</A>&nbsp;compare)</CODE>
724
725<BR>
726&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I><code>Collections.sort()</code></I></TD>
727</TR>
728<TR BGCOLOR="white" CLASS="TableRowColor">
729<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
730<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
731<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#resolveSymlinks(java.lang.String)">resolveSymlinks</A></B>(java.lang.String&nbsp;path)</CODE>
732
733<BR>
734&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolves any symbolic links in the path name specified
735 using <code>File.getCanonicalPath()</code>.</TD>
736</TR>
737<TR BGCOLOR="white" CLASS="TableRowColor">
738<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
739<CODE>static&nbsp;void</CODE></FONT></TD>
740<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#saveBackup(java.io.File, int, java.lang.String, java.lang.String, java.lang.String)">saveBackup</A></B>(java.io.File&nbsp;file,
741           int&nbsp;backups,
742           java.lang.String&nbsp;backupPrefix,
743           java.lang.String&nbsp;backupSuffix,
744           java.lang.String&nbsp;backupDirectory)</CODE>
745
746<BR>
747&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves a backup (optionally numbered) of a file.</TD>
748</TR>
749<TR BGCOLOR="white" CLASS="TableRowColor">
750<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
751<CODE>static&nbsp;void</CODE></FONT></TD>
752<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#saveBackup(java.io.File, int, java.lang.String, java.lang.String, java.lang.String, int)">saveBackup</A></B>(java.io.File&nbsp;file,
753           int&nbsp;backups,
754           java.lang.String&nbsp;backupPrefix,
755           java.lang.String&nbsp;backupSuffix,
756           java.lang.String&nbsp;backupDirectory,
757           int&nbsp;backupTimeDistance)</CODE>
758
759<BR>
760&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves a backup (optionally numbered) of a file.</TD>
761</TR>
762<TR BGCOLOR="white" CLASS="TableRowColor">
763<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
764<CODE>static&nbsp;boolean</CODE></FONT></TD>
765<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#stringsEqual(java.lang.String, java.lang.String)">stringsEqual</A></B>(java.lang.String&nbsp;s1,
766             java.lang.String&nbsp;s2)</CODE>
767
768<BR>
769&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Call <code>objectsEqual()</code> instead.</I></TD>
770</TR>
771<TR BGCOLOR="white" CLASS="TableRowColor">
772<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
773<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
774<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#throwableToString(java.lang.Throwable)">throwableToString</A></B>(java.lang.Throwable&nbsp;t)</CODE>
775
776<BR>
777&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string containing the stack trace of the given throwable.</TD>
778</TR>
779</TABLE>
780&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
781<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
782<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
783<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
784</TR>
785<TR BGCOLOR="white" CLASS="TableRowColor">
786<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
787</TR>
788</TABLE>
789&nbsp;
790<P>
791
792<!-- ============ FIELD DETAIL =========== -->
793
794<A NAME="field_detail"><!-- --></A>
795<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
796<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
797<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
798<B>Field Detail</B></FONT></TH>
799</TR>
800</TABLE>
801
802<A NAME="UTF_8_Y"><!-- --></A><H3>
803UTF_8_Y</H3>
804<PRE>
805<FONT SIZE="-1">@Deprecated
806</FONT>public static final java.lang.String <B>UTF_8_Y</B></PRE>
807<DL>
808<DD><B>Deprecated.</B>&nbsp;<I>Extended encodings are now supported as services.
809   This value is no longer used.</I><DD>This encoding is not supported by Java, yet it is useful.
810 A UTF-8 file that begins with 0xEFBBBF.
811<P>
812<DL>
813<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.gjt.sp.jedit.MiscUtilities.UTF_8_Y">Constant Field Values</A></DL>
814</DL>
815<HR>
816
817<A NAME="KB_FORMAT"><!-- --></A><H3>
818KB_FORMAT</H3>
819<PRE>
820public static final java.text.DecimalFormat <B>KB_FORMAT</B></PRE>
821<DL>
822<DL>
823</DL>
824</DL>
825<HR>
826
827<A NAME="MB_FORMAT"><!-- --></A><H3>
828MB_FORMAT</H3>
829<PRE>
830public static final java.text.DecimalFormat <B>MB_FORMAT</B></PRE>
831<DL>
832<DL>
833</DL>
834</DL>
835
836<!-- ============ METHOD DETAIL ========== -->
837
838<A NAME="method_detail"><!-- --></A>
839<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
840<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
841<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
842<B>Method Detail</B></FONT></TH>
843</TR>
844</TABLE>
845
846<A NAME="canonPath(java.lang.String)"><!-- --></A><H3>
847canonPath</H3>
848<PRE>
849public static java.lang.String <B>canonPath</B>(java.lang.String&nbsp;path)</PRE>
850<DL>
851<DD><DL>
852<DT><B>Parameters:</B><DD><CODE>path</CODE> - The path name
853<DT><B>Returns:</B><DD>the canonical form of the specified path name. Currently
854 only expands a leading <code>~</code>. <b>For local path names
855 only.</b><DT><B>Since:</B></DT>
856  <DD>jEdit 4.0pre2</DD>
857</DL>
858</DD>
859</DL>
860<HR>
861
862<A NAME="expandVariables(java.lang.String)"><!-- --></A><H3>
863expandVariables</H3>
864<PRE>
865public static java.lang.String <B>expandVariables</B>(java.lang.String&nbsp;arg)</PRE>
866<DL>
867<DD>Accepts a string from the user which may contain variables of various syntaxes.
868  The goal is to support the following:
869     $varname
870     ${varname}
871     And expand each of these by looking at the system environment variables for possible
872     expansions.
873<P>
874<DD><DL>
875
876<DT><B>Returns:</B><DD>a string which is either the unchanged input string, or one with expanded variables.<DT><B>Since:</B></DT>
877  <DD>4.3pre7</DD>
878</DL>
879</DD>
880</DL>
881<HR>
882
883<A NAME="resolveSymlinks(java.lang.String)"><!-- --></A><H3>
884resolveSymlinks</H3>
885<PRE>
886public static java.lang.String <B>resolveSymlinks</B>(java.lang.String&nbsp;path)</PRE>
887<DL>
888<DD>Resolves any symbolic links in the path name specified
889 using <code>File.getCanonicalPath()</code>. <b>For local path
890 names only.</b>
891<P>
892<DD><DL>
893<DT><B>Since:</B></DT>
894  <DD>jEdit 4.2pre1</DD>
895</DL>
896</DD>
897</DL>
898<HR>
899
900<A NAME="isAbsolutePath(java.lang.String)"><!-- --></A><H3>
901isAbsolutePath</H3>
902<PRE>
903public static boolean <B>isAbsolutePath</B>(java.lang.String&nbsp;path)</PRE>
904<DL>
905<DD>Returns if the specified path name is an absolute path or URL.
906<P>
907<DD><DL>
908<DT><B>Since:</B></DT>
909  <DD>jEdit 4.1pre11</DD>
910</DL>
911</DD>
912</DL>
913<HR>
914
915<A NAME="constructPath(java.lang.String, java.lang.String)"><!-- --></A><H3>
916constructPath</H3>
917<PRE>
918public static java.lang.String <B>constructPath</B>(java.lang.String&nbsp;parent,
919                                             java.lang.String&nbsp;path)</PRE>
920<DL>
921<DD>Constructs an absolute path name from a directory and another
922 path name. This method is VFS-aware.
923<P>
924<DD><DL>
925<DT><B>Parameters:</B><DD><CODE>parent</CODE> - The directory<DD><CODE>path</CODE> - The path name</DL>
926</DD>
927</DL>
928<HR>
929
930<A NAME="constructPath(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
931constructPath</H3>
932<PRE>
933public static java.lang.String <B>constructPath</B>(java.lang.String&nbsp;parent,
934                                             java.lang.String&nbsp;path1,
935                                             java.lang.String&nbsp;path2)</PRE>
936<DL>
937<DD>Constructs an absolute path name from three path components.
938 This method is VFS-aware.
939<P>
940<DD><DL>
941<DT><B>Parameters:</B><DD><CODE>parent</CODE> - The parent directory<DD><CODE>path1</CODE> - The first path<DD><CODE>path2</CODE> - The second path</DL>
942</DD>
943</DL>
944<HR>
945
946<A NAME="concatPath(java.lang.String, java.lang.String)"><!-- --></A><H3>
947concatPath</H3>
948<PRE>
949public static java.lang.String <B>concatPath</B>(java.lang.String&nbsp;parent,
950                                          java.lang.String&nbsp;path)</PRE>
951<DL>
952<DD>Like <A HREF="../../../../org/gjt/sp/jedit/MiscUtilities.html#constructPath(java.lang.String, java.lang.String)"><CODE>constructPath(java.lang.String, java.lang.String)</CODE></A>, except <code>path</code> will be
953 appended to <code>parent</code> even if it is absolute.
954 <b>For local path names only.</b>.
955<P>
956<DD><DL>
957<DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>parent</CODE> - </DL>
958</DD>
959</DL>
960<HR>
961
962<A NAME="getFirst…

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