iaik.tc.utils.logging
Class LogCallerInfo

java.lang.Object
  extended by iaik.tc.utils.logging.LogCallerInfo
Direct Known Subclasses:
LogCallerInfoJava12, LogCallerInfoJava14

public abstract class LogCallerInfo
extends java.lang.Object

This class is used to obtain the name of the calling class, the name of the calling method as well as the line number the call comes from.


Constructor Summary
LogCallerInfo()
          Constructor
 
Method Summary
 java.lang.String getClassName()
          Returns contents of the className field.
 int getLineNumber()
          Returns contents of the lineNumber field.
 java.lang.String getMethodName()
          Returns contents of the methodName field.
 void setClassName(java.lang.String className)
          Sets the className field.
 void setLineNumber(int lineNumber)
          Sets the lineNumber field.
 void setMethodName(java.lang.String methodName)
          Sets the methodName field.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogCallerInfo

public LogCallerInfo()
Constructor

Method Detail

getClassName

public java.lang.String getClassName()
Returns contents of the className field.


setClassName

public void setClassName(java.lang.String className)
Sets the className field.


getLineNumber

public int getLineNumber()
Returns contents of the lineNumber field.


setLineNumber

public void setLineNumber(int lineNumber)
Sets the lineNumber field.


getMethodName

public java.lang.String getMethodName()
Returns contents of the methodName field.


setMethodName

public void setMethodName(java.lang.String methodName)
Sets the methodName field.