|
|||||||||
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 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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
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 to
java.io.IOException
- if an error occurs while copying filespublic static boolean isScmDirectory(java.lang.String name)
name
- Name of a directory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |