public class FileUtil
extends java.lang.Object
Copyright © 1997, 1998
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1 $
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FileUtil.IdentityFilter |
Constructor and Description |
---|
FileUtil() |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
doFileOrDir(java.util.Properties properties,
java.lang.String name,
java.io.File f) |
(package private) static boolean |
doZip(java.util.Properties properties,
java.lang.String name,
java.io.File f)
same as above given a .zip or .jar file object.
|
static boolean |
loadProperties(java.util.Properties properties,
java.lang.String name)
Load a Properties object from a file given its name.
|
public static boolean loadProperties(java.util.Properties properties, java.lang.String name)
properties
- The java.util.Properties object to load.name
- The name of the properties file. If it does not
end with the suffix ".properties" one will be
added.static boolean doFileOrDir(java.util.Properties properties, java.lang.String name, java.io.File f)
static boolean doZip(java.util.Properties properties, java.lang.String name, java.io.File f)