org.castor.xmlctf.util
Class FileServices
java.lang.Object
org.castor.xmlctf.util.FileServices
public final class FileServices
extends java.lang.Object
This class is a set of tools for manipulating files needed by the CTF.
$Revision: 6787 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $static String | CVS - The string for a CVS subdirectory.
|
static String | JAR - The string for an extension for a JAR file.
|
static String | JAVA - The string for an extension for a Java file.
|
static String | SVN - The string for a Subversion subdirectory.
|
static String | XML - The string for an extension for a XML file.
|
static String | XSD - The string for an extension for a XSD file.
|
static void | copySupportFiles(File file, File root) - Copy all the needed documents (java, xsd, xml file) of given file (jar or
directory) to a specified directory.
|
static boolean | isScmDirectory(String name) - Return true if the file provided is a special source control management
directory that we want to ignore.
|
CVS
public static final String CVS
The string for a CVS subdirectory.
JAR
public static final String JAR
The string for an extension for a JAR file.
JAVA
public static final String JAVA
The string for an extension for a Java file.
SVN
public static final String SVN
The string for a Subversion subdirectory.
XML
public static final String XML
The string for an extension for a XML file.
XSD
public static final String XSD
The string for an extension for a XSD file.
copySupportFiles
public static void copySupportFiles(File file,
File root)
throws IOException
Copy all the needed documents (java, xsd, xml file) of given file (jar or
directory) to a specified directory.
file
- the file that contains the entries to copyroot
- the destination directory to copy files to
isScmDirectory
public static boolean isScmDirectory(String name)
Return true if the file provided is a special source control management
directory that we want to ignore.
name
- Name of a directory
- true if the file provided is an SCM directory
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com