ILogEnabled
public class FileWriter extends AbstractLogEnabled
Constructor | Description |
---|---|
FileWriter() |
Modifier and Type | Method | Description |
---|---|---|
void |
activateOptions() |
|
void |
dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
boolean |
getAppendToFile() |
|
CountingTextWriter |
getCountingWriter() |
|
java.util.Date |
getCreationTime() |
|
java.lang.String |
getEncoding() |
|
java.lang.String |
getFileName() |
|
boolean |
getFlushWriter() |
|
protected void |
onEnableLogging(ILogger logger) |
Override this method to perform additional logging related actions,
such as passing logger down to hierarchy, etc.
|
void |
setAppendToFile(boolean value) |
|
void |
setCountingWriter(CountingTextWriter writer) |
|
void |
setEncoding(java.lang.String encoding) |
|
void |
setFileName(java.lang.String value) |
|
void |
setFlushWriter(boolean value) |
|
void |
write(java.lang.String message) |
enableLogging, getLogger
protected void onEnableLogging(ILogger logger)
AbstractLogEnabled
onEnableLogging
in class AbstractLogEnabled
logger
- The ILogger instancepublic boolean getAppendToFile()
public void setAppendToFile(boolean value)
public java.lang.String getFileName()
public void setFileName(java.lang.String value)
public boolean getFlushWriter()
public void setFlushWriter(boolean value)
public CountingTextWriter getCountingWriter()
public void setCountingWriter(CountingTextWriter writer)
public java.util.Date getCreationTime()
public void activateOptions() throws java.lang.Exception
java.lang.Exception
public void write(java.lang.String message) throws java.lang.Exception
java.lang.Exception
public void dispose()
public void setEncoding(java.lang.String encoding)
public java.lang.String getEncoding()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.