org.kuali.common.util.secure
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 destination)
           
 void copyFileToDirectory(RemoteFile source, File destination)
           
 void copyInputStreamToFile(InputStream source, RemoteFile destination)
           
 void copyLocationToDirectory(String location, RemoteFile destination)
           
 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)
           
 void open()
           
 String toString(RemoteFile source)
           
 

Method Detail

open

void open()
          throws IOException
Throws:
IOException

close

void close()

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 destination)

copyFileToDirectory

void copyFileToDirectory(File source,
                         RemoteFile destination)

copyFile

void copyFile(RemoteFile source,
              File destination)

copyFileToDirectory

void copyFileToDirectory(RemoteFile source,
                         File destination)

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()

executeCommand

Result executeCommand(String command)

executeCommand

Result executeCommand(String command,
                      String stdin)

executeNoWait

void executeNoWait(String command)

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)


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