Package org.aesh.terminal.image
Class ImageProtocolDetector
java.lang.Object
org.aesh.terminal.image.ImageProtocolDetector
Utility class for detecting terminal image protocol support.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ImageProtocolCheck environment variables to detect image protocol support.static ImageProtocoldetectFromTermType(String termType) Detect the image protocol based on the terminal type string.
-
Method Details
-
detectFromTermType
Detect the image protocol based on the terminal type string.- Parameters:
termType- the terminal type (e.g., from TERM environment variable)- Returns:
- the detected protocol, or NONE if unknown
-
checkEnvironment
Check environment variables to detect image protocol support.- Returns:
- the detected protocol based on environment, or NONE
-