org.kuali.common.util.secure
Interface SecureChannel
- All Known Implementing Classes:
- DefaultSecureChannel
public interface SecureChannel
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.