org.jcoderz.commons.logging
Class LogLineFormatFactory
java.lang.Object
org.jcoderz.commons.logging.LogLineFormatFactory
public final class LogLineFormatFactory
- extends Object
This is a factory for creating an instance of a LogLineFormat for a certain
log line type.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static LogLineFormat create(LogLineFormat.LogLineType type)
throws IllegalArgumentException
- Creates a format according to the supplied log line type.
- Parameters:
type - The type for which to create the corresponding Format.
- Returns:
- The newly created format.
- Throws:
IllegalArgumentException - if the format for the supplied type
is unknown.
Copyright 2007 The jCoderZ Project.