org.kuali.common.util.secure
Class ChannelUtils

java.lang.Object
  extended by org.kuali.common.util.secure.ChannelUtils

public class ChannelUtils
extends Object


Constructor Summary
ChannelUtils()
           
 
Method Summary
static void closeQuietly(SecureChannel channel)
           
static Result getExecutionResult(int exitValue, long start, String command, String stdin, String stdout, String stderr, String encoding)
           
static String getLocation(String username, String hostname)
           
static String getLocation(String username, String hostname, RemoteFile file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelUtils

public ChannelUtils()
Method Detail

getLocation

public static String getLocation(String username,
                                 String hostname,
                                 RemoteFile file)

getLocation

public static String getLocation(String username,
                                 String hostname)

getExecutionResult

public static Result getExecutionResult(int exitValue,
                                        long start,
                                        String command,
                                        String stdin,
                                        String stdout,
                                        String stderr,
                                        String encoding)

closeQuietly

public static void closeQuietly(SecureChannel channel)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.