org.eclipse.xpand2.output
Class FileInfoLogger

java.lang.Object
  extended by org.eclipse.xpand2.output.FileInfoLogger
All Implemented Interfaces:
PostProcessor

public class FileInfoLogger
extends java.lang.Object
implements PostProcessor

Message Pattern Variables {0} : File Path (including name) {1} : File name {2} : LOC current file {3} : LOC total {4} : Number of files written by this postprocessor Log Level 0 = Trace 1 = Debug 2 = Info


Constructor Summary
FileInfoLogger()
           
 
Method Summary
 void afterClose(FileHandle handle)
          Called after the file has been written.
 void beforeWriteAndClose(FileHandle handle)
          Called before the file will be written.
 int getLogLevel()
           
 java.lang.String getMessagePattern()
           
 void setLogLevel(int logLevel)
           
 void setMessagePattern(java.lang.String messagePattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileInfoLogger

public FileInfoLogger()
Method Detail

afterClose

public void afterClose(FileHandle handle)
Description copied from interface: PostProcessor
Called after the file has been written.

Specified by:
afterClose in interface PostProcessor
Parameters:
handle - A handle to the file that has been written

beforeWriteAndClose

public void beforeWriteAndClose(FileHandle handle)
Description copied from interface: PostProcessor
Called before the file will be written.

Specified by:
beforeWriteAndClose in interface PostProcessor
Parameters:
handle - A handle to the file that will be written

setMessagePattern

public void setMessagePattern(java.lang.String messagePattern)

getMessagePattern

public java.lang.String getMessagePattern()

getLogLevel

public int getLogLevel()

setLogLevel

public void setLogLevel(int logLevel)