org.castor.xmlctf.util
public final class FileServices extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CVS
The string for a CVS subdirectory.
|
static java.lang.String |
JAR
The string for an extension for a JAR file.
|
static java.lang.String |
JAVA
The string for an extension for a Java file.
|
static java.lang.String |
SVN
The string for a Subversion subdirectory.
|
static java.lang.String |
XML
The string for an extension for a XML file.
|
static java.lang.String |
XSD
The string for an extension for a XSD file.
|
Modifier and Type | Method and Description |
---|---|
static void |
copySupportFiles(java.io.File file,
java.io.File root)
Copy all the needed documents (java, xsd, xml file) of given file (jar or
directory) to a specified directory.
|
static boolean |
isScmDirectory(java.lang.String name)
Return true if the file provided is a special source control management
directory that we want to ignore.
|
public static final java.lang.String CVS
public static final java.lang.String SVN
public static final java.lang.String XSD
public static final java.lang.String XML
public static final java.lang.String JAVA
public static final java.lang.String JAR
public static void copySupportFiles(java.io.File file, java.io.File root) throws java.io.IOException
file
- the file that contains the entries to copyroot
- the destination directory to copy files tojava.io.IOException
- if an error occurs while copying filespublic static boolean isScmDirectory(java.lang.String name)
name
- Name of a directoryIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com