blob: faadb51c99278948ff40090baa9e8c503b1e5955 [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.core.internal.util</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.core.internal.util</strong></font><br>
Class FileUtil</h2><br><hr><pre>public class <strong>FileUtil</strong>
extends java.lang.Object</pre>This is a general file utility class.<p></p><hr><table width="100%" border="1"><tr bgcolor="#CCCCFF"><td width="100%"><h2>Constructor Summary</h2></td></tr><tr><td><code><strong><a href="#con_FileUtil">FileUtil</a></strong>()</code></td></tr></table><br><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="" align="left"><code><a href="#method_isXMLFile">isXMLFile</a>(IFile file)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Determines if a file is one of the valid XML content types.</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="" align="left"><code><a href="#method_isXSLFile">isXSLFile</a>(IFile file)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Determines if a file is a XSLT File.</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Constructor Detail
</h2></td></tr></table><h2><a name="con_FileUtil">FileUtil</a></h2><p><code>public <strong>FileUtil</strong>()</code></p><p></p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_isXMLFile">isXMLFile</a></h2><p><code>public boolean <strong>isXMLFile</strong>(IFile file)</code></p><p>Determines if a file is one of the valid XML content types.</p><h3>Parameters</h3><p><code>file</code> - The input IFile to check</p><h3>Returns</h3><p><code>boolean</code> - True if it is a XML file, false otherwise.</p><hr><h2><a name="method_isXSLFile">isXSLFile</a></h2><p><code>public boolean <strong>isXSLFile</strong>(IFile file)</code></p><p>Determines if a file is a XSLT File.</p><h3>Parameters</h3><p><code>file</code> - The input IFile to check.</p><h3>Returns</h3><p><code>boolean</code> - True if it is a XSLT file, false otherwise.</p><hr></body></html>