|
|||||||||
| Home >> All >> [ macbuild overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
macbuild
Class Util

java.lang.Objectmacbuild.Util
- public class Util
- extends java.lang.Object
Various utility functions.
| Field Summary | |
static boolean |
DEBUG
Compile-time switch. |
private static org.apache.tools.ant.util.FileUtils |
fileUtils
|
| Constructor Summary | |
private |
Util()
|
| Method Summary | |
static void |
copyFile(java.io.File src,
java.io.File dest)
dest may be a regular file or a directory. |
static void |
copyResource(java.lang.String src,
java.io.File dest,
org.apache.tools.ant.types.FilterSet filters)
Copies text data from a resource to a file, applying filters. |
static void |
dblog(java.lang.String msg)
If (DEBUG == true), print debug info, otherwise do nothing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
fileUtils
private static org.apache.tools.ant.util.FileUtils fileUtils
DEBUG
public static final boolean DEBUG
- Compile-time switch.
- See Also:
- Constant Field Values
| Constructor Detail |
Util
private Util()
| Method Detail |
dblog
public static final void dblog(java.lang.String msg)
- If (DEBUG == true), print debug info, otherwise do nothing.
copyFile
public static void copyFile(java.io.File src, java.io.File dest) throws java.io.IOException
- dest may be a regular file or a directory.
copyResource
public static void copyResource(java.lang.String src, java.io.File dest, org.apache.tools.ant.types.FilterSet filters) throws java.io.IOException
- Copies text data from a resource to a file, applying filters.
|
|||||||||
| Home >> All >> [ macbuild overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
macbuild.Util