de.fhg.igd.semoa.starter
Class SemoaLoggingConfigFile

java.lang.Object
  extended byjava.io.File
      extended byde.fhg.igd.semoa.starter.FileParameter
          extended byde.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
 
Fields inherited from class de.fhg.igd.semoa.starter.FileParameter
abbr_, SHORT_USER_DIR, SHORT_USER_HOME
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
protected SemoaLoggingConfigFile(String file)
          Hidden construction.
 
Method Summary
static SemoaLoggingConfigFile create(String file)
          Create a valid SemoaLoggingConfigFile instance.
protected  boolean isValid()
          Check if this is a readable file.
 
Methods inherited from class de.fhg.igd.semoa.starter.FileParameter
init, isFlawed, normalize, toFull, toFullString, toShort, toShortString, toString
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

SemoaLoggingConfigFile

protected SemoaLoggingConfigFile(String file)
Hidden construction. Usage of create(java.lang.String) is intended for object creation.

Parameters:
file - The original file
Method Detail

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.