|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileHeaderProvider
This interface describes the provider, used for obtaining the header of the log file or log file segment.
DefaultFileHeaderProvider
Method Summary | |
---|---|
FileHeaderProvider |
clone()
Creates and returns a copy of this object. |
java.lang.String |
getApplicationHost()
The Application Host to be used in the file header. |
java.lang.String |
getApplicationId()
The Application Id to be used in the file header. |
java.lang.String |
getApplicationName()
The Application Name to be used in the file header. |
java.lang.String |
getApplicationType()
The Application Type to be used in the file header. |
java.lang.String |
getCommandLine()
The Application Command Line value to be used in the file header. |
java.lang.String |
getFileHeader()
This method is called for obtaining the log file header. |
void |
setFileName(java.lang.String fileName)
Sets the FileName attribute of the header. |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets custom application properties. |
Method Detail |
---|
void setFileName(java.lang.String fileName)
fileName
- the file name attribute value.void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- the application properties.java.lang.String getFileHeader()
java.lang.String getApplicationName()
java.lang.String getApplicationHost()
java.lang.String getApplicationType()
java.lang.String getApplicationId()
java.lang.String getCommandLine()
FileHeaderProvider clone()
Cloneable
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |