pl.edu.agh.cast.importer.base.logging
Class AbstractImportLogger

java.lang.Object
  extended by pl.edu.agh.cast.importer.base.logging.AbstractImportLogger
All Implemented Interfaces:
IImportDataObserver, IImportLogger
Direct Known Subclasses:
CompositeImportLogger, FileImportLogger

public abstract class AbstractImportLogger
extends Object
implements IImportLogger

Abstract class for all import loggers.

Author:
AGH CAST Team

Field Summary
protected static String LEFT_BRACKET
          The left bracket character.
protected static String RIGHT_BRACKET
          The right bracket character.
protected static String SEPARATOR_COMMA
          The comma separator.
protected static String SEPARATOR_SEMICOMMA
          The semicomma separator.
 
Constructor Summary
AbstractImportLogger()
           
 
Method Summary
protected  String createErrorMsg(AbstractErrorLogData error)
          Creates the error message for the specified error, which may later be inserted into an import logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface pl.edu.agh.cast.importer.base.logging.IImportLogger
finish, notifyError
 
Methods inherited from interface pl.edu.agh.cast.importer.base.logging.IImportDataObserver
notifyRemoved, notifyRestored, notifyValueChanged
 

Field Detail

LEFT_BRACKET

protected static final String LEFT_BRACKET
The left bracket character.

See Also:
Constant Field Values

RIGHT_BRACKET

protected static final String RIGHT_BRACKET
The right bracket character.

See Also:
Constant Field Values

SEPARATOR_COMMA

protected static final String SEPARATOR_COMMA
The comma separator.

See Also:
Constant Field Values

SEPARATOR_SEMICOMMA

protected static final String SEPARATOR_SEMICOMMA
The semicomma separator.

See Also:
Constant Field Values
Constructor Detail

AbstractImportLogger

public AbstractImportLogger()
Method Detail

createErrorMsg

protected String createErrorMsg(AbstractErrorLogData error)
Creates the error message for the specified error, which may later be inserted into an import logger.

Parameters:
error - the error
Returns:
the error message


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.