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 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 copyStringToFile(String string, RemoteFile destination)
           
 void createDirectory(RemoteFile dir)
           
 void deleteFile(String absolutePath)
           
 Result executeCommand(String command)
           
 Result executeCommand(String command, String stdin)
           
 boolean exists(String absolutePath)
           
 RemoteFile getMetaData(String absolutePath)
           
 RemoteFile getWorkingDirectory()
           
 boolean isDirectory(String absolutePath)
           
 void open()
           
 

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)


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