| java.lang.Object gruntspud.file.UnixFileModeHandler
UnixFileModeHandler | public class UnixFileModeHandler implements FileModeHandler(Code) | | This implementation of a FileModeHandler will only work on
Unix like machines that have the chmod and ls
commands available.
author: Brett Smith version: Jul 24, 2002 |
Inner Class :class StreamSink extends Thread | |
getFileMode | public GruntspudFileMode getFileMode(File file) throws IOException(Code) | | Return the FileMode for a given
Parameters: file - the file to get the permissions for mode the file mode for this file throws: IOException - if something goes wronge |
setFileMode | public void setFileMode(File file, GruntspudFileMode fileMode) throws IOException(Code) | | Set the FileMode for a given File
Parameters: file - the file to perform the operation on Parameters: fileMode - the FileMode object providing what permissions to set throws: IOException - if something gone wrong |
|
|