org.crsh.ssh.term
Class SSHContext

java.lang.Object
  extended by org.crsh.ssh.term.SSHContext

public class SSHContext
extends Object


Field Summary
 Charset encoding
          .
private  org.apache.sshd.server.Environment env
          .
(package private) static Pattern LC_TYPE_PATTERN
          .
private static Logger log
          .
 int verase
          .
 
Constructor Summary
SSHContext(org.apache.sshd.server.Environment env)
           
 
Method Summary
 int getHeight()
           
 String getProperty(String key)
           
 int getWidth()
           
static Charset parseEncoding(String value)
          Parse the LC_CTYPE format or return null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LC_TYPE_PATTERN

static final Pattern LC_TYPE_PATTERN
.


log

private static final Logger log
.


verase

public final int verase
.


env

private final org.apache.sshd.server.Environment env
.


encoding

public final Charset encoding
.

Constructor Detail

SSHContext

public SSHContext(org.apache.sshd.server.Environment env)
Method Detail

parseEncoding

public static Charset parseEncoding(String value)
Parse the LC_CTYPE format or return null.

Parameters:
value - the value to parse
Returns:
the corresponding charset

getWidth

public int getWidth()

getHeight

public int getHeight()

getProperty

public String getProperty(String key)


Copyright © 2015 eXo Platform SAS. All Rights Reserved.