org.kuali.common.util.channel.api
Interface SecureChannel

All Known Implementing Classes:
DefaultSecureChannel

public interface SecureChannel


Method Summary
 void close()
           
 void copyFile(File source, RemoteFile destination)
           
 void copyFile(RemoteFile source, File destination)
           
 void copyFile(RemoteFile source, OutputStream out)
           
 void copyFileToDirectory(File source, RemoteFile directory)
           
 void copyFileToDirectory(RemoteFile source, File directory)
           
 void copyInputStreamToFile(InputStream source, RemoteFile destination)
           
 void copyLocationToDirectory(String location, RemoteFile directory)
           
 void copyLocationToFile(String location, RemoteFile destination)
           
 void copyRemoteFile(String absolutePath, OutputStream out)
           
 void copyStringToFile(String string, RemoteFile destination)
           
 void createDirectory(RemoteFile dir)
           
 void deleteFile(String absolutePath)
           
 Result executeCommand(String command)
           
 Result executeCommand(String command, String stdin)
           
 void executeNoWait(String command)
           
 boolean exists(String absolutePath)
           
 RemoteFile getMetaData(String absolutePath)
           
 RemoteFile getWorkingDirectory()
           
 boolean isDirectory(String absolutePath)
           
 String toString(RemoteFile source)
           
 

Method Detail

executeCommand

Result executeCommand(String command)

executeCommand

Result executeCommand(String command,
                      String stdin)

executeNoWait

void executeNoWait(String command)

copyFile

void copyFile(File source,
              RemoteFile destination)

copyLocationToFile

void copyLocationToFile(String location,
                        RemoteFile destination)

copyInputStreamToFile

void copyInputStreamToFile(InputStream source,
                           RemoteFile destination)

copyStringToFile

void copyStringToFile(String string,
                      RemoteFile destination)

copyLocationToDirectory

void copyLocationToDirectory(String location,
                             RemoteFile directory)

copyFileToDirectory

void copyFileToDirectory(File source,
                         RemoteFile directory)

copyFile

void copyFile(RemoteFile source,
              File destination)

copyFileToDirectory

void copyFileToDirectory(RemoteFile source,
                         File directory)

getMetaData

RemoteFile getMetaData(String absolutePath)

exists

boolean exists(String absolutePath)

isDirectory

boolean isDirectory(String absolutePath)

deleteFile

void deleteFile(String absolutePath)

createDirectory

void createDirectory(RemoteFile dir)

getWorkingDirectory

RemoteFile getWorkingDirectory()

copyRemoteFile

void copyRemoteFile(String absolutePath,
                    OutputStream out)
                    throws IOException
Throws:
IOException

copyFile

void copyFile(RemoteFile source,
              OutputStream out)
              throws IOException
Throws:
IOException

toString

String toString(RemoteFile source)

close

void close()


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