|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object raccoon.core.utils.MsgHelper
public final class MsgHelper
A utility class for generating human readable strings.
Constructor Summary | |
---|---|
protected |
MsgHelper()
Utility classes should not have a public or default constructor. |
Method Summary | |
---|---|
static java.lang.String |
formatNamedResourceFound(java.lang.String pResourceName,
java.lang.String pResourceType)
Formats the string message that indicates the property/resource can't be changed on a running component. |
static java.lang.String |
formatNullParamter(java.lang.String pParamName,
java.lang.Class pParamType)
Formats the string message that indicates a null parameter is illegal. |
static java.lang.String |
formatRequiredResourceNotAssigned(java.lang.String pFieldName,
java.lang.Class pInterface,
java.lang.String pSetterName)
Formats the string message that indicates a none assignement of a required ressource. |
static java.lang.String |
formatResourceReadOnly(java.lang.String pParamName,
java.lang.Class pParamType)
Formats the string message that indicates the property/resource can't be changed on a running component. |
static java.lang.String |
formatSpecifiedResourceNotAssigned(java.lang.String pFieldName,
java.lang.Class pInterface,
java.lang.String pSetterName)
Formats the string message that indicates a none assignement of a required ressource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MsgHelper()
Method Detail |
---|
public static java.lang.String formatSpecifiedResourceNotAssigned(java.lang.String pFieldName, java.lang.Class pInterface, java.lang.String pSetterName)
pFieldName
- the name of the field member without the m
pInterface
- the name of the interface that this member handles.pSetterName
- the name of the setter method
public static java.lang.String formatRequiredResourceNotAssigned(java.lang.String pFieldName, java.lang.Class pInterface, java.lang.String pSetterName)
pFieldName
- the name of the field member without the m
pInterface
- the name of the interface that this member handles.pSetterName
- the name of the setter method
public static java.lang.String formatNullParamter(java.lang.String pParamName, java.lang.Class pParamType)
pParamName
- the name of the parameter.pParamType
- the type of the parameter.
public static java.lang.String formatResourceReadOnly(java.lang.String pParamName, java.lang.Class pParamType)
pParamName
- the name of the parameter.pParamType
- the type of the parameter.
public static java.lang.String formatNamedResourceFound(java.lang.String pResourceName, java.lang.String pResourceType)
pResourceName
- the name of the resource.pResourceType
- the type of the resource.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |