public final class Utility
extends java.lang.Object
Utility
class which can
be interesting for miscellaneous variances of a concrete project. Currently
in this class are declared the following fields and static methods:
Utility.DIALOG_RESULT
).APP_APPLICATION_NAME
etc.).errorMessage(Component,String,String,Throwable)
, Utility#errorMessage(String, String, Throwable), {@link Utility#fatalErrorMessage()}, {@link Utility#fatalErrorMessage(Component)}, {@link Utility#fatalErrorMessage(String, String, Throwable)}, {@link Utility#fatalErrorMessage(Component, String, String, Throwable)}, {@link Utility#warningMessage(String, String, Throwable)}, and {@link #warningMessage(Component, String, String, Throwable)}.Modifier and Type | Class and Description |
---|---|
static class |
Utility.DIALOG_RESULT
The result of the displayed modal dialog box.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APP_APPLICATION_NAME
Is the reflected 'application name' description of the reported email message.
|
static java.lang.String |
APP_AUTHOR
Is the reflected application developer in its short name, i.e.
|
static java.lang.String |
APP_BUILDING
Is the reflected building of the developer, i.e.
|
static java.lang.String |
APP_DEVELOPER
Is the reflected application developer in its full name.
|
static java.lang.String |
APP_EMAIL
Is the reflected application e-mail address, i.e.
|
static java.lang.String |
APP_GROUP
Is the reflected group description of the developer, i.e.
|
static java.lang.String |
APP_MAILINGLIST
Is the reflected application mailing list.
|
static java.lang.String |
APP_PHONE
Is the phone number of the developer, i.e.
|
static java.lang.String |
APP_RELEASE_DATE
Is the reflected application versions release date.
|
static java.lang.String |
APP_ROOM
Is the reflected building of the developer, i.e.
|
static java.lang.String |
APP_VERSION
Is the reflected 'application version' description of the reported email message.
|
static java.lang.String |
CLAZZ
Class name.
|
static int |
ERROR_CONTINUE
Continue button index of the function
errorMessage(String, String, Throwable) or
errorMessage(Component, String, String, Throwable) . |
static int |
ERROR_EXIT
Exit button index of the function
errorMessage(String, String, Throwable) or
errorMessage(Component, String, String, Throwable) . |
static int |
ERROR_SEND_EMAIL
Send E-Mail message and exit button index of the function
errorMessage(String, String, Throwable) or
errorMessage(Component, String, String, Throwable) . |
static int |
FATAL_EXIT
Exit button index of the function
fatalErrorMessage() , fatalErrorMessage(Component) ,
fatalErrorMessage(String, String, Throwable) ,
or fatalErrorMessage(Component, String, String, Throwable) . |
static int |
FATAL_SEND_EMAIL
Send E-Mail and exit button index of the function
fatalErrorMessage() , fatalErrorMessage(Component) ,
fatalErrorMessage(String, String, Throwable) ,
or fatalErrorMessage(Component, String, String, Throwable) . |
static java.util.Map<java.lang.String,de.desy.tine.addrUtils.FECInfo> |
FEC_INFO
Map of all FEC information entries from TINE.
|
static int |
HIGHEST_BIT_VALUE_INT
Is the highest number of bits in an integer value.
|
static int |
HIGHEST_BIT_VALUE_LONG
Is the highest number of bits in a long value.
|
static int |
HIGHEST_BIT_VALUE_SHORT
Is the highest number of bits in a short value.
|
static java.lang.String |
JAVA_APPLICATION_PATH
This is the folder for storing the exceptions on the local drive.
|
static java.lang.String |
MESSAGE_HOSTNAME
Message: Host name
|
static java.lang.String |
MESSAGE_MISSING_ACOP_TRANSPORT
Message: Missing ACOP transport.
|
static java.lang.String |
MESSAGE_MISSING_DATA
Message: Missing data.
|
static java.lang.String |
MESSAGE_MISSING_DEVICE_GROUP
Message: Missing device group.
|
static java.lang.String |
MESSAGE_MISSING_TINE_ADDRESS
Message: Missing TINE address.
|
static java.lang.String |
MESSAGE_MISSING_TINE_LINK
Message: Missing TINE link.
|
static int |
OPTIONPANE_SEND_EMAIL
This is the result of option pane on pressing send email button.
|
static int |
OPTIONPANE_SEND_OK
This is the result of option pane on pressing OK button.
|
static java.util.Map<java.lang.String,de.desy.tine.addrUtils.TSrvEntry> |
SERVERS
Map of all server entries from TINE.
|
static java.lang.String |
UNKNOWN
Is the reflected 'unknown' description of the reported email message.
|
static java.lang.String |
USER_HOME
Is the reflected 'user home directory' description of the reported email message.
|
static java.lang.String |
USER_NAME
Is the reflected 'user name' description of the reported email message.
|
static int |
WARNING_CONTINUE
Continue button index of the function
warningMessage(String, String, Throwable) or
warningMessage(Component, String, String, Throwable) . |
static int |
WARNING_EXIT
Exit button index of the function
warningMessage(String, String, Throwable) or
warningMessage(Component, String, String, Throwable) . |
static int |
WARNING_SEND_EMAIL
Send E-Mail message and exit button index of the function
warningMessage(String, String, Throwable) or
warningMessage(Component, String, String, Throwable) . |
Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsRange(IEData from_,
IEData to_,
java.util.Collection<IEData> list_)
Queries if the boundaries of the range (which means the values of
from_ and to_) are members of the list and both are
inside the list in the right order.
|
static double[] |
createTicksStep(double min,
double max,
double stepBetweenValues)
Calculates the major ticks.
|
static double[] |
createTicksStructuring(double min,
double max)
Creates an array of doubles which starts at min and ends at max.
|
static double[] |
createTicksStructuring(double min,
double max,
int steps)
Creates an array of double values beginning at min and reaches to max.
|
static void |
createTINEErrorDialog(java.awt.Container root_,
java.lang.String tineAddress_,
int error_)
Creates a TINE error dialog box popping up on screen and displaying the
returned TINE error code and string value.
|
static void |
createTINEErrorDialog(java.awt.Container root_,
java.lang.String tineAddress_,
java.lang.String host_,
int error_)
Creates a TINE error dialog box popping up on screen and displaying the
returned TINE error code and string value.
|
static void |
createTINEErrorDialog(java.awt.Container root_,
de.desy.tine.client.TLink link_,
int error_)
Creates a TINE error dialog box popping up on screen and displaying the
returned TINE error code and string value.
|
static void |
debugAbsoluteTime(long timeInMillis_,
boolean isDebugTime_)
Prints the absolute time in milliseconds.
|
static void |
debugCurrentTime(long timeInMillis_,
boolean isDebugTime_)
Prints and stores the current debug time in milliseconds.
|
static void |
debugCurrentTime(long timeInMillis_,
java.lang.String message_,
boolean isDebugTime_)
Prints and stores the current debug time in milliseconds and prints out
the message (if not
null on the console. |
static void |
debugPrintAllComponents()
Debugs all components and prints them all on the java console window.
|
static boolean |
epsilon(double current,
double compare,
double epsilon)
Compares an epsilon domain around the compare value and the current one:
|
static boolean |
epsilon(float current,
float compare,
float epsilon)
Compares an epsilon domain around the compare value and the current one:
|
static int |
errorMessage(java.awt.Component parent_,
java.lang.String title_,
java.lang.String message_,
java.lang.Throwable exception_)
Creates a modal message dialog box in the middle of the application or
when the application is null in the middle of the screen.
|
static int |
errorMessage(java.lang.String title_,
java.lang.String message_,
java.lang.Throwable exception_)
Creates a modal message dialog box in the middle of the application or
when the application is null in the middle of the screen.
|
static int |
errorMessageOptions(java.awt.Component parent_,
java.lang.String title_,
java.lang.String message_,
java.lang.String[] options_)
Creates a modal message dialog box in the middle of the application or
when the application is null in the middle of the screen.
|
static int |
errorMessageOptions(java.awt.Component parent_,
java.lang.String title_,
java.lang.String message_,
java.lang.String[] options_,
boolean isDeveloperAvailable_)
Creates a modal message dialog box in the middle of the application or
when the application is null in the middle of the screen.
|
static void |
exit(java.lang.String message_,
java.lang.Throwable exception_,
ILinkData linkData_,
IEDeviceGroup[] devices_)
Exits this application in a proper way by terminating all opened TINE
links and printing the corresponding message in the log file.
|
static int |
fatalErrorMessage()
Creates a message dialog box in the middle of the screen.
|
static int |
fatalErrorMessage(java.awt.Component parent_)
Creates a modal message dialog box in the middle of the application or
when the application is null in the middle of the screen.
|
static int |
fatalErrorMessage(java.awt.Component parent_,
java.lang.String title_,
java.lang.String message_,
java.lang.Throwable exception_)
Creates a modal message dialog box in the middle of the application or
when the application is null in the middle of the screen.
|
static int |
fatalErrorMessage(java.lang.String title_,
java.lang.String message_,
java.lang.Throwable exception_)
Creates a modal message dialog box in the middle of the application or
when the application is null in the middle of the screen.
|
static int |
fetchDelimiter(java.lang.String tinepath) |
static java.lang.String |
getAddress(IEData data_)
Returns the components crate, sub-address and address of the data device
as a string value if it exist.
|
static java.lang.String |
getAddress(IEData data_,
boolean isHostname_)
Returns the components crate, sub-address and address of the data device
as a string value if it exist.
|
static java.lang.String |
getAddress(IEData data_,
boolean isHostname_,
boolean isHTMLStyle_)
Returns the components crate, sub-address and address of the data device
as a string value if it exist.
|
static java.lang.String |
getCallingMethod(java.lang.StackTraceElement[] stackTraces_)
Returns a list of the stack trace elements in a human readable way.
|
static java.lang.String |
getCallingMethod(java.lang.Thread thread_)
Returns a list of the stack trace elements in a human readable way.
|
static java.lang.String |
getHostname(java.lang.String tinePrefix_)
Returns the host name on the give TINE context and device server in the
prefix TINE address string.
|
static java.lang.String |
getHostname(java.lang.String context_,
java.lang.String deviceServer_)
Returns the host name on the give TINE context and device server.
|
static int |
getLengthOfChar(char[] arrayOfChars_)
Returns the length of the character array until a null-terminated character.
|
static java.util.List<IEData> |
getList(java.util.Collection<IEData>... collections_)
Collects all collections in an array of data elements and installs them
all in one list which.
|
static double[] |
getMajorTicks(double min,
double max)
Deprecated.
Use method
#createTicksStructuring(double, double instead. |
static double[] |
getMajorTicks(double min,
double max,
double stepBetweenValues)
Deprecated.
Use method
createTicksStep(double, double, double) instead. |
static double[] |
getMajorTicks(double min,
double max,
double stepBetweenValues,
double tolerance)
Deprecated.
tolerance is not used here. Instead use the method
getMajorTicks(double, double, double) . |
static double[] |
getMajorTicks(double min,
double max,
int steps)
Deprecated.
Use method {@link #createTicksStructuring(double, double, double) instead.
|
static java.lang.String |
getNormalizedString(java.lang.String string_)
Returns a string which has the transformed value of special characters
into a %-notation.
|
static java.lang.String |
getTINEAddress(de.desy.acop.transport.AcopTransport transport_)
Returns on the ACOP transport instance the TINE address including the
access rate and protocol.
|
static java.lang.String |
getTINEAddress(de.desy.acop.transport.AcopTransport transport_,
boolean isHostname_)
Returns on the ACOP transport instance the TINE address including the
access rate and protocol.
|
static java.lang.String |
getTINEAddress(de.desy.acop.transport.AcopTransport transport_,
boolean isHostname_,
boolean isHTMLStyle_)
Returns on the ACOP transport instance the TINE address including the
access rate and protocol.
|
static java.lang.String |
getTINEAddress(de.desy.acop.transport.AcopTransport transport_,
boolean isHostname_,
boolean isHTMLStyle_,
boolean isMultiline_)
Returns on the ACOP transport instance the TINE address including the
access rate and protocol.
|
static java.lang.String |
getTINEAddress(java.lang.String context_,
java.lang.String deviceServer_,
java.lang.String property_)
Returns on the TINE context, device server, and the property the full
TINE address in a printable way.
|
static java.lang.String |
getTINEAddress(java.lang.String context_,
java.lang.String deviceServer_,
java.lang.String deviceName_,
java.lang.String property_)
Returns on the TINE context, device server, device name, and the
property the full TINE address in a printable way.
|
static java.lang.String |
getTINEAddress(java.lang.String context_,
java.lang.String deviceServer_,
java.lang.String deviceName_,
java.lang.String property_,
boolean isHostname_)
Returns on the TINE context, device server, device name, and the
property the full TINE address in a printable way.
|
static java.lang.String |
getTINEAddress(java.lang.String context_,
java.lang.String deviceServer_,
java.lang.String deviceName_,
java.lang.String property_,
boolean isHostname_,
boolean isHTMLStyle_)
Returns on the TINE context, device server, device name, and the
property the full TINE address in a printable way.
|
static java.lang.String |
getTINEAddress(java.lang.String context_,
java.lang.String deviceServer_,
java.lang.String deviceName_,
java.lang.String property_,
boolean isHostname_,
boolean isHTMLStyle_,
boolean isMultiline_)
Returns on the TINE context, device server, device name, and the
property the full TINE address in a printable way.
|
static java.lang.String |
getTINEInfo(de.desy.acop.transport.AcopTransport transport_)
Returns a transformed TINE link information as a string value with
HTML escape sequences enabled.
|
static java.lang.String |
getTINEInfo(de.desy.acop.transport.AcopTransport transport_,
boolean isLastLink_)
Returns a transformed TINE link information as a string value with
HTML escape sequences enabled.
|
static java.lang.String |
getTINEInfo(de.desy.acop.transport.AcopTransportRequest request_)
Returns a transformed ACOP transport request informations as a string
value.
|
static java.lang.String |
getTINEInfo(boolean isHTMLEscaped_,
de.desy.acop.transport.AcopTransport transport_,
boolean isLastLink_)
Returns a transformed TINE link informations as a string value.
|
static java.lang.String |
getTINEInfo(boolean isHTMLEscaped_,
de.desy.acop.transport.AcopTransportRequest request_)
Returns a transformed ACOP transport request informations as a string
value.
|
static java.lang.String |
getTINEInfo(boolean isHTMLEscape_,
de.desy.tine.client.TLink... links_)
Returns a transformed TINE link informations as a string value.
|
static java.lang.String |
getTINEInfo(de.desy.tine.client.TLink... links_)
Returns a transformed TINE link information as a string value with HTML
escape sequences enabled.
|
static java.lang.String |
getTinename(IEData data_)
Queries the TINE context, server, device name and the corresponding
property which is returned as a full TINE name, separated with terminating
back slashes.
|
static boolean |
isValidBit(int bit_)
Checks if only one bit is set in an
int value. |
static boolean |
isValidBit(long bit_)
Checks if only one bit is set in a
long value bit_ . |
static void |
logTINEAttachedLink(java.lang.String clazz_,
de.desy.acop.transport.AcopTransport transport_,
int linkId_)
Log information about the established asynchronous link.
|
static void |
logTINEAttachedLink(java.lang.String clazz_,
de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_)
Log information about the successful established asynchronous link.
|
static void |
logTINEAttachedLink(java.lang.String clazz_,
de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_,
int linkId_)
Log information about the successful established asynchronous link.
|
static void |
logTINEAttachedLink(java.lang.String clazz_,
de.desy.tine.client.TLink link_,
int linkId_)
Log information about the successful established asynchronous link.
|
static void |
logTINEErrorLink(java.lang.String clazz_,
de.desy.acop.transport.AcopTransport transport_)
Log information about a TINE link error.
|
static void |
logTINEErrorLink(java.lang.String clazz_,
de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_)
Log information about a TINE link error.
|
static void |
logTINEErrorLink(java.lang.String clazz_,
de.desy.tine.client.TLink link_)
Log information about a TINE link error.
|
static void |
logTINEExecuteLink(java.lang.String clazz_,
de.desy.acop.transport.AcopTransport transport_)
Log information about the executed link.
|
static void |
logTINEExecuteLink(java.lang.String clazz_,
de.desy.acop.transport.AcopTransport transport_,
int result_)
Log information about the executed link.
|
static void |
logTINEExecuteLink(java.lang.String clazz_,
de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_)
Log information about the executed link.
|
static void |
logTINEExecuteLink(java.lang.String clazz_,
de.desy.tine.client.TLink link_)
Log information about the executed link.
|
static void |
logTINELink(de.desy.mst.libs.ser.tclientlib.ITineAccessor... lstAccessor_)
Logs information about the current TINE links.
|
static void |
logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_,
java.lang.String clazz_,
java.lang.String text_,
de.desy.acop.transport.AcopTransport transport_)
Logs information about the last link information in the
AcopTransport
data element. |
static void |
logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_,
java.lang.String clazz_,
java.lang.String text_,
de.desy.acop.transport.AcopTransport transport_,
int linkID_)
Logs information about the reflected TINE link ID.
|
static void |
logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_,
java.lang.String clazz_,
java.lang.String message_,
de.desy.mst.libs.ser.tclientlib.ITineAccessor... lstAccessor_)
Logs information about the current TINE links.
|
static void |
logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_,
java.lang.String clazz_,
java.lang.String message_,
de.desy.tine.client.TLink... links_)
Logs information about the current TINE links.
|
static void |
logTINELink(java.lang.String clazz_,
de.desy.mst.libs.ser.tclientlib.ITineAccessor... lstAccessor_)
Logs information about the current TINE links.
|
static void |
logTINELink(java.lang.String clazz_,
de.desy.tine.client.TLink... links_)
Logs information about the current TINE links.
|
static void |
logTINELink(de.desy.tine.client.TLink... links_)
Logs information about the current TINE links.
|
static void |
movingLabel(int delay_,
java.lang.String str_,
javax.swing.JLabel label_)
Displays a moving label.
|
static void |
sendMailTo(java.lang.Throwable throwable_,
java.lang.StringBuilder builder_)
This method will send a message to the corresponding developer of the
application with different other information which the developer needs
replicate the error message.
|
static void |
setEnableComponent(boolean isEnabled_,
java.awt.Container container_)
Enables or disables all components as its second argument.
|
static void |
setLoggingLevel(de.desy.mst.libs.framework.mstapp.logging.LogLvl loggingLevel_)
Sets the MstApp logging level to the appropriated value.
|
static void |
setVisibleComponent(boolean isEnabled_,
java.awt.Container container_)
Sets all component to be visible or not depending in the boolean value.
|
static Utility.DIALOG_RESULT |
showLinkInfo(java.awt.Frame frame_,
de.desy.acop.transport.AcopTransport transport_)
Deprecated.
|
static Utility.DIALOG_RESULT |
showLinkInfo(java.awt.Frame frame_,
ILinkData linkData_,
IEDeviceGroup... devices_)
Deprecated.
|
static Utility.DIALOG_RESULT |
showLinkInfo(java.awt.Frame frame_,
de.desy.tine.client.TLink... links_)
Deprecated.
|
static void |
shutdown(int exit_)
Exits this application gracefully, for example when an unhandled
exception is thrown.
|
static void |
shutdown(int exit_,
ILinkData linkData_,
IEDeviceGroup... devices_)
Exits this application gracefully, for example when an unhandled
exception is thrown.
|
static void |
sleep(int wait_)
Sleeps
wait_ milliseconds before continuing work. |
static void |
throwException(java.lang.Throwable throwable_,
java.lang.String message_,
boolean isStackTrace_)
Throws an exception and prints it with the logger error expression.
|
static void |
throwWarning(java.lang.Throwable throwable_,
java.lang.String message_,
boolean isStackTrace_)
Throws an exception and prints it with the logger warn expression.
|
static java.lang.String |
toBit(int value_)
Returns the bit values of an integer.
|
static java.lang.String |
toBit(long value_)
Returns the bit values as a string of long.
|
static java.lang.String |
toBit(short value_)
Returns the bit values of a short.
|
static java.lang.String |
toBitCode(short value_)
Deprecated.
Use method
toBit(short) instead. |
static int |
warningMessage(java.awt.Component parent_,
java.lang.String title_,
java.lang.String message_,
java.lang.Throwable exception_)
Creates a modal message dialog box in the middle of the application or
where the application is null in the center of the screen.
|
static int |
warningMessage(java.lang.String title_,
java.lang.String message_,
java.lang.Throwable exception_)
It
reports a warning message that has occurred and gives the user
the opportunity to select different options for the ongoing execution.
|
static int |
warningMessageOptions(java.awt.Component parent_,
java.lang.String title_,
java.lang.String message_,
java.lang.String[] options_)
Creates a modal message dialog box in the middle of the screen.
|
public static final java.lang.String CLAZZ
public static final java.lang.String JAVA_APPLICATION_PATH
public static final java.lang.String UNKNOWN
public static final java.lang.String USER_NAME
public static final java.lang.String USER_HOME
public static final java.lang.String APP_APPLICATION_NAME
public static final java.lang.String APP_VERSION
public static final java.lang.String APP_RELEASE_DATE
public static final java.lang.String APP_DEVELOPER
public static final java.lang.String APP_AUTHOR
public static final java.lang.String APP_PHONE
public static final java.lang.String APP_BUILDING
public static final java.lang.String APP_ROOM
public static final java.lang.String APP_GROUP
public static final java.lang.String APP_EMAIL
public static final java.lang.String APP_MAILINGLIST
public static final int OPTIONPANE_SEND_EMAIL
public static final int OPTIONPANE_SEND_OK
public static final int HIGHEST_BIT_VALUE_SHORT
public static final int HIGHEST_BIT_VALUE_INT
public static final int HIGHEST_BIT_VALUE_LONG
public static final int WARNING_CONTINUE
warningMessage(String, String, Throwable)
or
warningMessage(Component, String, String, Throwable)
.public static final int WARNING_EXIT
warningMessage(String, String, Throwable)
or
warningMessage(Component, String, String, Throwable)
.public static final int WARNING_SEND_EMAIL
warningMessage(String, String, Throwable)
or
warningMessage(Component, String, String, Throwable)
.public static final int ERROR_CONTINUE
errorMessage(String, String, Throwable)
or
errorMessage(Component, String, String, Throwable)
.public static final int ERROR_EXIT
errorMessage(String, String, Throwable)
or
errorMessage(Component, String, String, Throwable)
.public static final int ERROR_SEND_EMAIL
errorMessage(String, String, Throwable)
or
errorMessage(Component, String, String, Throwable)
.public static final int FATAL_EXIT
fatalErrorMessage()
, fatalErrorMessage(Component)
,
fatalErrorMessage(String, String, Throwable)
,
or fatalErrorMessage(Component, String, String, Throwable)
.public static final int FATAL_SEND_EMAIL
fatalErrorMessage()
, fatalErrorMessage(Component)
,
fatalErrorMessage(String, String, Throwable)
,
or fatalErrorMessage(Component, String, String, Throwable)
.public static final java.lang.String MESSAGE_MISSING_DATA
public static final java.lang.String MESSAGE_MISSING_TINE_ADDRESS
public static final java.lang.String MESSAGE_MISSING_ACOP_TRANSPORT
public static final java.lang.String MESSAGE_MISSING_TINE_LINK
public static final java.lang.String MESSAGE_MISSING_DEVICE_GROUP
public static final java.lang.String MESSAGE_HOSTNAME
public static final java.util.Map<java.lang.String,de.desy.tine.addrUtils.TSrvEntry> SERVERS
Map of all server entries from TINE. The key value is the TINE context
plus the device server name (each separated with a slash:
/<context>/<device server>) and can be retrieved
from the enumeration interface IEEnum.getName(EName)
where the
parameter is EName.PRE_TINEADDRESS
.
public static final java.util.Map<java.lang.String,de.desy.tine.addrUtils.FECInfo> FEC_INFO
Map of all FEC information entries from TINE. The key value is the
TINE context plus the device server name (each separated with a slash:
/<context>/<device server>) and can be retrieved from the
enumeration interface (@link IEEnum.getName(EName)
where the
parameter is EName.PRE_TINEADDRESS
.
public static final java.lang.String getCallingMethod(java.lang.StackTraceElement[] stackTraces_)
stackTraces_
- Stack trace elements.public static final java.lang.String getCallingMethod(java.lang.Thread thread_)
thread_
- The calling thread.public static final int getLengthOfChar(char[] arrayOfChars_)
arrayOfChars_
- Character array.@Deprecated public static final java.lang.String toBitCode(short value_)
toBit(short)
instead.Returns the bit values of short. The length of the
delivered value can range from 1st to 16th bit and is declared in the constant
field called #HIGHTEST_BIT_VALUE_SHORT
. It interprets the
short
-value as signed.
ATTENTION: You should use the new method of toBit(short)
instead of this one.
value_
- Short value to calculated.public static final java.lang.String toBit(short value_)
#HIGHTEST_BIT_VALUE_SHORT
. It interprets the
short
-value as signed.value_
- Short value to calculated.public static final java.lang.String toBit(int value_)
int
-value as signed or the
short
-value as unsigned. Remember that the value should always
be casted to an integer value!value_
- Integer value to calculated.public static final java.lang.String toBit(long value_)
long
-value as signed and the
short
- or int
-value as unsigned. Remember that the value
should always casted to a long value!value_
- The long value to calculated.public static final boolean isValidBit(long bit_)
long
value bit_
. It
does this by querying from the first bit position until one bit is set to 1.
If no bit is set to 1 a false
is returned. If it is set it controls in a
second query if more bits are set. If yes it returns with a false
otherwise true
.bit_
- Is the bit value as a long
. Remember that this value
is performed with negative values if the highest bit is set.true
if in the long value only one bit is
set. Otherwise a false
is returned.public static final boolean isValidBit(int bit_)
int
value. It
does this by querying until the first bit is set to 1. If nothing can be found
this method response with false
. If it is set it controls in a
second query if more bits are set. If yes it returns with a false
otherwise true
.bit_
- Is the bit value as a int
. Remember that this value
is performed with negative values if the highest bit is set.true
if in the long value only one bit is
set. Otherwise a false
is returned.public static final boolean epsilon(double current, double compare, double epsilon)
∣current∣ ≦ ∣compare∣ + ε
current
- Current value.compare
- Compare value.epsilon
- Epsilon domain. Will be changed to a positive value.true
) or not (false
).public static final boolean epsilon(float current, float compare, float epsilon)
∣current∣ ≦ ∣compare∣ + ε
current
- Current value.compare
- Compare value.epsilon
- Epsilon domain. Must be greater then zero.epsilon(double, double, double)
public static final double[] createTicksStructuring(double min, double max)
min
- First element.max
- Last element.public static final double[] createTicksStructuring(double min, double max, int steps)
(maximum - minimum)/steps
. The returned array
always has a length of steps + 1
elements.min
- First element.max
- Last element.steps
- Steps in the range.step + 1
elements.public static final double[] createTicksStep(double min, double max, double stepBetweenValues)
Calculates the major ticks. These ticks reach from the delivered minimum up to the maximum tick value, where it is separated from the first value with the {@code stepBetweenValues) interval between two major steps. The tolerance is in this case stated to 0.9.
min
- Minimum value.max
- Maximum value.stepBetweenValues
- Quantum between two major ticks.@Deprecated public static final double[] getMajorTicks(double min, double max)
#createTicksStructuring(double, double
instead.min
- The first element.max
- The last element.@Deprecated public static final double[] getMajorTicks(double min, double max, int steps)
(maximum - minimum)/step
, so that the returned array always has a
length of steps + 1
elements.minimum_
- The first element.maximum_
- The last element.steps_
- Steps in the range.step + 1
elements.@Deprecated public static final double[] getMajorTicks(double min, double max, double stepBetweenValues)
createTicksStep(double, double, double)
instead.Calculates the major ticks. These ticks reach from the delivered minimum up to the maximum tick value, where it is separated from the first value with the {@code stepBetweenValues) interval between two major steps. The tolerance is in this case stated to 0.9.
min
- Minimum value.max
- Maximum value.stepBetweenValues
- Quantum between two major ticks.@Deprecated public static final double[] getMajorTicks(double min, double max, double stepBetweenValues, double tolerance)
getMajorTicks(double, double, double)
.Calculates the major ticks. These ticks reach from the delivered min up to max, where the range starts from the first value with stepBetweenValues) interval between two major steps. The double value of {@code tolerance} indicates a difference between the next to last of the last major ticks and describes if the next major tick will be included in the returned collection or not. The higher you choose the tolerance the lesser will is the next major tick will be included.
Min and max values can be exchange if necessary.
min
- Minimum value.max
- Maximum value.stepBetweenValues
- Quantum between two major ticks.tolerance
- Indicates till which differences the next to last major
tick will be included in the returned list. Can reach from 0.5 up to
1.0.public static final java.lang.String getAddress(IEData data_)
data_
- Is the enumeration interface of the corresponding device
data component.getAddress(IEData, boolean, boolean)
public static final java.lang.String getAddress(IEData data_, boolean isHostname_)
data_
- Is the enumeration interface of the corresponding device
data component.isHostname_
- Displayes the host name if this parameters is set to
true
.getAddress(IEData, boolean, boolean)
public static final java.lang.String getAddress(IEData data_, boolean isHostname_, boolean isHTMLStyle_)
data_
- Is the enumeration interface of the corresponding device
data component.isHostname_
- Displayes the host name if this parameters is set to
true
.isHTMLStyle_
- Switches between the HTML flavored implementation or
with a normal carriage return.public static final int fetchDelimiter(java.lang.String tinepath)
public static final java.lang.String getTinename(IEData data_)
Queries the TINE context, server, device name and the corresponding property which is returned as a full TINE name, separated with terminating back slashes.
data_
- The data component.public static final java.lang.String getTINEAddress(java.lang.String context_, java.lang.String deviceServer_, java.lang.String property_)
context_
- TINE context.deviceServer_
- TINE device server.property_
- TINE property.getTINEAddress(String, String, String, String, boolean, boolean)
public static final java.lang.String getTINEAddress(java.lang.String context_, java.lang.String deviceServer_, java.lang.String deviceName_, java.lang.String property_)
context_
- TINE context.deviceServer_
- TINE device server.deviceName_
- TINE device name.property_
- TINE property.getTINEAddress(String, String, String, String, boolean, boolean)
public static final java.lang.String getTINEAddress(java.lang.String context_, java.lang.String deviceServer_, java.lang.String deviceName_, java.lang.String property_, boolean isHostname_)
context_
- TINE context.deviceServer_
- TINE device server.deviceName_
- TINE device name.property_
- TINE property.isHostname_
- Displayes the host name if set to true
.getTINEAddress(String, String, String, String, boolean, boolean)
public static final java.lang.String getTINEAddress(java.lang.String context_, java.lang.String deviceServer_, java.lang.String deviceName_, java.lang.String property_, boolean isHostname_, boolean isHTMLStyle_)
context_
- TINE context.deviceServer_
- TINE device server.deviceName_
- TINE device name.property_
- TINE property.isHostname_
- Displayes the host name if set to true
.isHTMLStyle_
- Enables the HTML style output with a value of true
.getTINEAddress(String, String, String, String, boolean, boolean)
public static final java.lang.String getTINEAddress(java.lang.String context_, java.lang.String deviceServer_, java.lang.String deviceName_, java.lang.String property_, boolean isHostname_, boolean isHTMLStyle_, boolean isMultiline_)
context_
- TINE context.deviceServer_
- TINE device server.deviceName_
- TINE device name.property_
- TINE property.isHostname_
- Displayes the host name if set to true
.isHTMLStyle_
- Enables the HTML style output with a value of true
.isMultiline
- Enables a multiline output.public static final java.lang.String getTINEAddress(de.desy.acop.transport.AcopTransport transport_)
transport_
- ACOP transport.public static final java.lang.String getTINEAddress(de.desy.acop.transport.AcopTransport transport_, boolean isHostname_)
transport_
- ACOP transport.isHostname_
- Displayes the host name if set to true
.public static final java.lang.String getTINEAddress(de.desy.acop.transport.AcopTransport transport_, boolean isHostname_, boolean isHTMLStyle_)
transport_
- ACOP transport.isHostname_
- Displayes the host name if set to true
.isHTMLStyle_
- Enables the HTML style output with a value of true
.public static final java.lang.String getTINEAddress(de.desy.acop.transport.AcopTransport transport_, boolean isHostname_, boolean isHTMLStyle_, boolean isMultiline_)
transport_
- ACOP transport.isHostname_
- Displayes the host name if set to true
.isHTMLStyle_
- Enables the HTML style output with a value of true
.isMultiline
- Enables a multiline output.public static final java.lang.String getHostname(java.lang.String tinePrefix_)
tinePrefix_
- TINE prefix address string.public static final java.lang.String getHostname(java.lang.String context_, java.lang.String deviceServer_)
context_
- TINE context.deviceServer_
- TINE device server.public static final boolean containsRange(IEData from_, IEData to_, java.util.Collection<IEData> list_)
from_
- Is the minimum border of the range.to_
- Is the maximum border of the range.list_
- Is a collection, which should include the range.public static final java.util.List<IEData> getList(java.util.Collection<IEData>... collections_)
collections_
- An array of all collections.public static final void sleep(int wait_)
wait_
milliseconds before continuing work. If the delay
time is lower then 100 it will wait 100 milliseconds. If the delay
time is greater then 60000 it will wait 60000 milliseconds.wait_
- Is the time in milliseconds. If it is lesser then 100 it
will return immediately.public static final void exit(java.lang.String message_, java.lang.Throwable exception_, ILinkData linkData_, IEDeviceGroup[] devices_)
message_
- A message. Can also be null
.exception_
- The exception. Can also be null
.linkData_
- The link data which can also be null
. If it is
null
then this exit method will NOT close all TINE
links from this application before it exits.devices_
- The device group. This can also be null
. Then the
TINE links are NOT closed before existing this application.public static final void shutdown(int exit_)
exit_
- The exit code number.public static final void shutdown(int exit_, ILinkData linkData_, IEDeviceGroup... devices_)
exit_
- The exit code number.linkData_
- Link data structure.devices_
- Device group collection.public static final void setVisibleComponent(boolean isEnabled_, java.awt.Container container_)
isEnabled_
- Is the enable (true) or disable (false)
argument.container_
- Is the container which should be enabled or disabled
an all of its child elements.public static final void setEnableComponent(boolean isEnabled_, java.awt.Container container_)
isEnabled_
- Is the enable (true) or disable (false)
argument.container_
- Is the container which should be enabled or disabled
an all of its child elements.public static final void throwException(java.lang.Throwable throwable_, java.lang.String message_, boolean isStackTrace_)
throwable_
- Is the Throwable class. This should never be
null, otherwise a fatal error is printed on screen.message_
- Is the message. If it is not null it will be printed
before the throwable is printed.isStackTrace_
- If this value is true it will also print the hole
stack trace otherwise only the first line will be printed (i.e.
the exception and the line including the line number).public static final void throwWarning(java.lang.Throwable throwable_, java.lang.String message_, boolean isStackTrace_)
throwable_
- Is the Throwable class. This should never be
null, otherwise a fatal error is printed on screen.message_
- Is the message. If it is not null it will be printed
before the throwable is printed.isStackTrace_
- If this value is true it will also print the hole
stack trace otherwise only the first line will be printed (i.e.
the exception and the line including the line number).public static final void sendMailTo(java.lang.Throwable throwable_, java.lang.StringBuilder builder_)
throwable_
- Is the error exception.builder_
- Is a string builder instance which represents all the
displayed information.public static final int fatalErrorMessage()
fatalErrorMessage(Component)
public static final int fatalErrorMessage(java.awt.Component parent_)
FATAL_EXIT
, or FATAL_SEND_EMAIL
.parent_
- Is the parent component in which this dialog box should be
centered. If this component is null
it is shown in the
center of the desktop screen.FATAL_EXIT
,
or FATAL_SEND_EMAIL
, depending on the current input value
of exception_
.public static final int fatalErrorMessage(java.lang.String title_, java.lang.String message_, java.lang.Throwable exception_)
FATAL_EXIT
, or FATAL_SEND_EMAIL
.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.exception_
- Is the exception by itself. This can also be null.FATAL_EXIT
,
or FATAL_SEND_EMAIL
, depending on the current input value
of exception_
.fatalErrorMessage(Component, String, String, Throwable)
public static final int fatalErrorMessage(java.awt.Component parent_, java.lang.String title_, java.lang.String message_, java.lang.Throwable exception_)
FATAL_EXIT
, or FATAL_SEND_EMAIL
.parent_
- Is the parent component in which this dialog box should be
centered. If this component is null
it is shown in the
center of the desktop screen.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.exception_
- Is the exception by itself. This can also be null.FATAL_EXIT
,
or FATAL_SEND_EMAIL
, depending on the current input value
of exception_
.public static final int errorMessage(java.lang.String title_, java.lang.String message_, java.lang.Throwable exception_)
ERROR_CONTINUE
, ERROR_EXIT
,
or ERROR_SEND_EMAIL
.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.exception_
- Is the exception by itself. This can also be null.ERROR_CONTINUE
,
ERROR_EXIT
, or ERROR_SEND_EMAIL
, depending on the
current input value of exception_
.errorMessage(String, String, Throwable)
public static final int errorMessage(java.awt.Component parent_, java.lang.String title_, java.lang.String message_, java.lang.Throwable exception_)
ERROR_CONTINUE
, ERROR_EXIT
,
or ERROR_SEND_EMAIL
.parent_
- Is the parent component in which this dialog box should be
centered. If this component is null
it is shown in the
center of the desktop screen.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.exception_
- Is the exception by itself. This can also be null.ERROR_CONTINUE
,
ERROR_EXIT
, or ERROR_SEND_EMAIL
, depending on the
current input value of exception_
.public static final int errorMessageOptions(java.awt.Component parent_, java.lang.String title_, java.lang.String message_, java.lang.String[] options_)
ERROR_CONTINUE
or ERROR_EXIT
.parent_
- Is the parent component in which this dialog box should be
centered. If this component is null
it is shown in the
center of the desktop screen.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.options_
- A list of options as a string array. At least one option
must be defined.ERROR_CONTINUE
or
ERROR_EXIT
.public static final int errorMessageOptions(java.awt.Component parent_, java.lang.String title_, java.lang.String message_, java.lang.String[] options_, boolean isDeveloperAvailable_)
ERROR_CONTINUE
or ERROR_EXIT
.parent_
- Is the parent component in which this dialog box should be
centered. If this component is null
it is shown in the
center of the desktop screen.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.options_
- A list of options as a string array. At least one option
must be defined.isDeveloperAvailable_
- Boolean value which defines if the developer
information is available or not.ERROR_CONTINUE
or
ERROR_EXIT
.public static final int warningMessage(java.lang.String title_, java.lang.String message_, java.lang.Throwable exception_)
The first choice is when you appoints no exception as an argument
(means its value is null
). That opens only two options for
the user: to continue the execution or to finish the application.
The second choice is when you appoint an exception as an argument. That opens three possible options for the user: to continue the execution, to finish the application, or to finish the application and send an e-mail to the developer with the stack trace inside the mail content.
The e-mail is automatically created in this static method and you don't need to build and send it to the developer on your own!
Their exists three constant fields which deliver the selected options
from the method: WARNING_CONTINUE
, WARNING_EXIT
, and
WARNING_SEND_EMAIL
.
title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.exception_
- Is the exception by itself. This can also be null.WARNING_CONTINUE
,
WARNING_EXIT
, or WARNING_SEND_EMAIL
, depending on the
current input value of exception_
.warningMessage(String, String, Throwable)
public static final int warningMessage(java.awt.Component parent_, java.lang.String title_, java.lang.String message_, java.lang.Throwable exception_)
Creates a modal message dialog box in the middle of the application or where the application is null in the center of the screen. It reports a warning message that has occurred and gives the user the opportunity to select different options for the ongoing execution.
The first choice is when you appoints no exception as an argument
(means its value is null
). That opens only two options for
the user: to continue the execution or to finish the application.
The second choice is when you appoint an exception as an argument. That opens three possible options for the user: to continue the execution, to finish the application, or to finish the application and send an e-mail to the developer with the stack trace inside the mail content.
The e-mail is automatically created in this static method and you don't need to build and send it to the developer on your own!
Their exists three constant fields which deliver the selected options
from the method: WARNING_CONTINUE
, WARNING_EXIT
, and
WARNING_SEND_EMAIL
.
parent_
- Is the parent component in which this dialog box should be
centered. If this component is null
it is shown in the
center of the desktop screen.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.exception_
- Is the exception by itself. This can also be null.WARNING_CONTINUE
,
WARNING_EXIT
, or WARNING_SEND_EMAIL
, depending on the
current input value of exception_
.public static final int warningMessageOptions(java.awt.Component parent_, java.lang.String title_, java.lang.String message_, java.lang.String[] options_)
Creates a modal message dialog box in the middle of the screen. It reports that a warning has occurred and gives the user the opportunity to select different options.
parent_
- Is the parent component in which this dialog box should be
centered. If this component is null
it is shown in the
center of the desktop screen.title_
- Is the title of the option pane. This can also be null.message_
- Is the message of the option pane. This can also be null.options_
- A list of options as a string array. At least one option
must be defined.WARNING_CONTINUE
, or
WARNING_SEND_EMAIL
.public static final void createTINEErrorDialog(java.awt.Container root_, de.desy.tine.client.TLink link_, int error_)
root_
- Root container in which the dialog box should be centered.
If this is null
then it is center in the middle of the
screen.tineAddress_
- TINE address.error_
- TINE error code.public static final void createTINEErrorDialog(java.awt.Container root_, java.lang.String tineAddress_, java.lang.String host_, int error_)
root_
- Root container in which the dialog box should be centered.
If this is null
then it is center in the middle of the
screen.tineAddress_
- TINE address.error_
- TINE error code.public static final void createTINEErrorDialog(java.awt.Container root_, java.lang.String tineAddress_, int error_)
root_
- Root container in which the dialog box should be centered.
If this is null
then it is center in the middle of the
screen.tineAddress_
- TINE address.error_
- TINE error code.public static final java.lang.String getNormalizedString(java.lang.String string_)
string_
- The transforming string.public static final void movingLabel(int delay_, java.lang.String str_, javax.swing.JLabel label_)
delay_
- The delay time between two states.str_
- Is the string value to be printed in the Swing label.label_
- Is the label itself.public static final void debugPrintAllComponents()
public static final void debugCurrentTime(long timeInMillis_, boolean isDebugTime_)
timeInMillis_
- The current time in milliseconds.isDebugTime_
- Depends if the current output should be displayed
(true
) or not (false
).debugCurrentTime(long, String, boolean)
public static final void debugCurrentTime(long timeInMillis_, java.lang.String message_, boolean isDebugTime_)
null
on the console. Depending on the call
the output varies: the first time it only prints that the time counting
has started. All other calls it prints the duration and sets the internal
field to the current time in milliseconds.timeInMillis_
- The current time in milliseconds.message_
- A message (which can also be null).isDebugTime_
- Depends if the current output should be displayed
(true
) or not (false
).public static final void debugAbsoluteTime(long timeInMillis_, boolean isDebugTime_)
timeInMillis_
- The current time in milliseconds.isDebugTime_
- Depends if the current output should be displayed
(true
) or not (false
).public static final void setLoggingLevel(de.desy.mst.libs.framework.mstapp.logging.LogLvl loggingLevel_)
loggingLevel_
- Enumeration from MstApp which contains the logging
level.@Deprecated public static final Utility.DIALOG_RESULT showLinkInfo(java.awt.Frame frame_, de.desy.acop.transport.AcopTransport transport_)
AcopTransport
instance.frame_
- Root component.links_
- TINE links.Utility.DIALOG_RESULT.OK
if the dialog box
was quit with the OK button or DIALOG_RESULT#CHANCEL
if the
dialog box is canceled. The last one only occurs if the link is null
or no elements are stored in it.@Deprecated public static final Utility.DIALOG_RESULT showLinkInfo(java.awt.Frame frame_, ILinkData linkData_, IEDeviceGroup... devices_)
ILinkData
instance.frame_
- Root component.linkData_
- Link data instance.devices_
- Collections of device group types.Utility.DIALOG_RESULT.OK
if the dialog box
was quit with the OK button or DIALOG_RESULT#CHANCEL
if the
dialog box is canceled. The last one only occurs if the link is null
or no elements are stored in it.@Deprecated public static Utility.DIALOG_RESULT showLinkInfo(java.awt.Frame frame_, de.desy.tine.client.TLink... links_)
TLink
collection instances.frame_
- Root component.links_
- TINE links.Utility.DIALOG_RESULT.OK
if the dialog box
was quit with the OK button or DIALOG_RESULT#CHANCEL
if the
dialog box is canceled. The last one only occurs if the link is null
or no elements are stored in it.public static final java.lang.String getTINEInfo(de.desy.acop.transport.AcopTransportRequest request_)
request_
- ACOP transport request.AcopTransportRequest
instance.public static final java.lang.String getTINEInfo(boolean isHTMLEscaped_, de.desy.acop.transport.AcopTransportRequest request_)
isHTMLEscaped_
- Delivers if the returned String value is HTML
escaped or not.request_
- ACOP transport request.AcopTransportRequest
instance.public static final java.lang.String getTINEInfo(de.desy.acop.transport.AcopTransport transport_)
AcopTransportRequest
's from the
AcopTransport
the output is formated in proper way.transport_
- ACOP transport.AcopTransport
instance.public static final java.lang.String getTINEInfo(de.desy.acop.transport.AcopTransport transport_, boolean isLastLink_)
AcopTransportRequest
's from the
AcopTransport
the output is formated in proper way.transport_
- ACOP transport.isLastLink_
- Returns on the list of all possible links in the
AcopTransport
all (false
) or the last one
(true
).AcopTransport
instance.public static final java.lang.String getTINEInfo(boolean isHTMLEscaped_, de.desy.acop.transport.AcopTransport transport_, boolean isLastLink_)
AcopTransportRequest
's from the
AcopTransport
the output is formated in proper way.isHTMLEscaped_
- Delivers if the returned String value is HTML
escaped or not.transport_
- ACOP transport.isLastLink_
- Returns on the list of all possible links in the
AcopTransport
all (false
) or the last one
(true
).AcopTransport
instance.public static final java.lang.String getTINEInfo(de.desy.tine.client.TLink... links_)
links_
- TINE links.public static final java.lang.String getTINEInfo(boolean isHTMLEscape_, de.desy.tine.client.TLink... links_)
isHTMLEscaped_
- Delivers if the returned String value is HTML
escaped or not.links_
- TINE links.public static final void logTINEAttachedLink(java.lang.String clazz_, de.desy.acop.transport.AcopTransport transport_, int linkId_)
clazz_
- Class name, leading the displayed output.transport_
- ACOP transport.linkId_
- Link ID.public static final void logTINEExecuteLink(java.lang.String clazz_, de.desy.acop.transport.AcopTransport transport_)
AcopTransport
doesn't allow the developer
to get the result as an integer value.clazz_
- Class name, leading the displayed output.transport_
- ACOP transport instance.public static final void logTINEExecuteLink(java.lang.String clazz_, de.desy.acop.transport.AcopTransport transport_, int result_)
AcopTransport
doesn't allow the developer
to get the result as an integer value.clazz_
- Class name, leading the displayed output.transport_
- ACOP transport instance.result_
- Result of the execute operation.public static final void logTINEErrorLink(java.lang.String clazz_, de.desy.acop.transport.AcopTransport transport_)
clazz_
- Class name, leading the displayed output.transport_
- Acop transport.public static final void logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_, java.lang.String clazz_, java.lang.String text_, de.desy.acop.transport.AcopTransport transport_)
AcopTransport
data element. If their doesn't exist any link information a warning is
logged and this method is exited immediately.logLevel_
- MstApp logging level.clazz_
- Class name.text_
- A text field describing the responsibility of this logging
entry.transport_
- AcopTransport.public static final void logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_, java.lang.String clazz_, java.lang.String text_, de.desy.acop.transport.AcopTransport transport_, int linkID_)
logLevel_
- MstApp logging level.clazz_
- Class name.text_
- A text field describing the responsibility of this logging
entry.transport_
- AcopTransport.linkID_
- TINE link ID.public static final void logTINEAttachedLink(java.lang.String clazz_, de.desy.tine.client.TLink link_, int linkId_)
clazz_
- Class name, leading the displayed output.link_
- TINE link.linkId_
- Link ID.public static final void logTINEExecuteLink(java.lang.String clazz_, de.desy.tine.client.TLink link_)
clazz_
- Class name, leading the displayed output.link_
- TINE link.public static final void logTINEErrorLink(java.lang.String clazz_, de.desy.tine.client.TLink link_)
clazz_
- Class name, leading the displayed output.link_
- TINE link.public static final void logTINELink(de.desy.tine.client.TLink... links_)
links_
- TINE links.public static final void logTINELink(java.lang.String clazz_, de.desy.tine.client.TLink... links_)
clazz_
- Calling clazz name.links_
- TINE links.public static final void logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_, java.lang.String clazz_, java.lang.String message_, de.desy.tine.client.TLink... links_)
logLevel_
- MstApp logging level.clazz_
- Calling clazz name.message_
- Message.links_
- TINE links.public static final void logTINEAttachedLink(java.lang.String clazz_, de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_)
clazz_
- Class name, leading the displayed output.accessor_
- TINE link.public static final void logTINEAttachedLink(java.lang.String clazz_, de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_, int linkId_)
clazz_
- Class name, leading the displayed output.accessor_
- TINE link.linkID_
- Link ID.public static final void logTINEExecuteLink(java.lang.String clazz_, de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_)
clazz_
- Class name, leading the displayed output.accessor_
- TINE link.public static final void logTINEErrorLink(java.lang.String clazz_, de.desy.mst.libs.ser.tclientlib.ITineAccessor accessor_)
clazz_
- Class name, leading the displayed output.accessor_
- TINE link.public static final void logTINELink(de.desy.mst.libs.ser.tclientlib.ITineAccessor... lstAccessor_)
lstAccessor_
- Collection of TINE links.public static final void logTINELink(java.lang.String clazz_, de.desy.mst.libs.ser.tclientlib.ITineAccessor... lstAccessor_)
clazz_
- Calling clazz name.lstAccessor_
- Collection of TINE links.public static final void logTINELink(de.desy.mst.libs.framework.mstapp.logging.LogLvl logLevel_, java.lang.String clazz_, java.lang.String message_, de.desy.mst.libs.ser.tclientlib.ITineAccessor... lstAccessor_)
logLevel_
- MstApp logging level.clazz_
- Calling clazz name.message_
- Message.lstAccessor_
- Collection of TINE accessor links.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft