|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.xmlctf.util.FileServices
public final class FileServices
This class is a set of tools for manipulating files needed by the CTF.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CVS
public static final String SVN
public static final String XSD
public static final String XML
public static final String JAVA
public static final String JAR
| Method Detail |
|---|
public static void copySupportFiles(File file,
File root)
throws IOException
file - the file that contains the entries to copyroot - the destination directory to copy files to
IOException - if an error occurs while copying filespublic static boolean isScmDirectory(String name)
name - Name of a directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||