com.jalios.jstore
Class LogCleaner

java.lang.Object
  extended by com.jalios.jstore.LogManagerHandler
      extended by com.jalios.jstore.LogCleaner
All Implemented Interfaces:
StoreConstants, ContentHandler

public class LogCleaner
extends LogManagerHandler

Since:
jcms-5.5.0
Version:
$Revision: 30425 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Fields inherited from class com.jalios.jstore.LogManagerHandler
locator, maxLineNumber
 
Fields inherited from interface com.jalios.jstore.StoreConstants
ARRAY_FLAG, CLEANING_STATE, COLLECTION_FLAG, CREATE_OP, DELETE_OP, IDLE_STATE, INNER_LOGS, INNER_MILESTONE, INNER_PREFIX, INNER_SYNC, ITEM_ESCAPE_CHAR, ITEM_SEPARATOR, LOADING_STATE, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP
 
Constructor Summary
LogCleaner(Store store)
           
 
Method Summary
 void clean(String backupFilename, CleanFilter filter)
          Clean the current store in the given file
 void processInnerLogEntry(InnerLogEntry logEntry)
          Process an InnerLogEntry
 void processStorableLogEntry(StorableLogEntry logEntry)
          Process a StorableLogEntry
 
Methods inherited from class com.jalios.jstore.LogManagerHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getMaxLineNumber, handleLogEntryException, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

LogCleaner

public LogCleaner(Store store)
Method Detail

clean

public void clean(String backupFilename,
                  CleanFilter filter)
           throws IOException
Clean the current store in the given file

Parameters:
backupFilename - the output file
filter - the CleanFilter to apply
Throws:
IOException
Since:
jcms-5.5.0

processInnerLogEntry

public void processInnerLogEntry(InnerLogEntry logEntry)
Description copied from class: LogManagerHandler
Process an InnerLogEntry

Specified by:
processInnerLogEntry in class LogManagerHandler
Parameters:
logEntry - the InnerLogEntry to process

processStorableLogEntry

public void processStorableLogEntry(StorableLogEntry logEntry)
Description copied from class: LogManagerHandler
Process a StorableLogEntry

Specified by:
processStorableLogEntry in class LogManagerHandler
Parameters:
logEntry - the StorableLogEntry to process


Copyright © 2001-2010 Jalios SA. All Rights Reserved.