Package com.iizix.term
Class HostState
java.lang.Object
com.iizix.term.HostState
This class is used to get the text to display in the status bar for the host terminal session.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic String
getStateString
(int state, String lastError) Get the string for the host session state and flags.static String
getStateString
(int state, String lastError, PropCnr cnr) Get the string for the host session state and flags.
Constructor Details
HostState
public HostState()
Method Details
getStateString
Get the string for the host session state and flags.- Parameters:
state
- The host session native state.lastError
- The last error string (5250), null or empty string for none.cnr
- The property container for all strings in the appropriate language.- Returns:
- The localized string depending on the property container strings and host state+flags.
getStateString
Get the string for the host session state and flags.- Parameters:
state
- The host session native state.lastError
- The last error string (5250), null or empty string for none.- Returns:
- The localized string depending on the property container strings and host state+flags.