de.fhg.igd.semoa.starter
Class SemoaLoggingConfigFile
java.lang.Object
java.io.File
de.fhg.igd.semoa.starter.FileParameter
de.fhg.igd.semoa.starter.SemoaLoggingConfigFile
- All Implemented Interfaces:
- Comparable, Parameter, Serializable
- public class SemoaLoggingConfigFile
- extends FileParameter
This is a wrapper class for a logging configuration file.
- Version:
- "$Id: SemoaLoggingConfigFile.java 1913 2007-08-08 02:41:53Z jpeters $"
- Author:
- Matthias Pressfreund
- See Also:
- Serialized Form
Field Summary |
static String |
DEFAULT
The default name of the logging config file |
static String |
PROPERTY
The name of the logging config file property |
Methods inherited from class java.io.File |
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toURI, toURL |
PROPERTY
public static final String PROPERTY
- The name of the logging config file property
- See Also:
- Constant Field Values
DEFAULT
public static final String DEFAULT
- The default name of the logging config file
- See Also:
- Constant Field Values
SemoaLoggingConfigFile
protected SemoaLoggingConfigFile(String file)
- Hidden construction. Usage of
create(java.lang.String)
is
intended for object creation.
- Parameters:
file
- The original file
create
public static SemoaLoggingConfigFile create(String file)
- Create a valid
SemoaLoggingConfigFile
instance.
- Parameters:
file
- The original file
- Returns:
- A valid
SemoaLoggingConfigFile
isValid
protected boolean isValid()
- Check if this is a readable file.
- Specified by:
isValid
in class FileParameter
- Returns:
true
if this is a readable file
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.