Package org.eclipse.wst.xsl.core.internal.util
public class FileUtil extends java.lang.ObjectThis is a general file utility class.
Constructor Summary |
FileUtil() |
Method Summary | |
public static boolean | isXMLFile(IFile file) Determines if a file is one of the valid XML content types. |
public static boolean | isXSLFile(IFile file) Determines if a file is a XSLT File. |
Constructor Detail |
public FileUtil()
Methods Detail |
public boolean isXMLFile(IFile file)
Determines if a file is one of the valid XML content types.
file
- The input IFile to check
boolean
- True if it is a XML file, false otherwise.
public boolean isXSLFile(IFile file)
Determines if a file is a XSLT File.
file
- The input IFile to check.
boolean
- True if it is a XSLT file, false otherwise.