hudson.os.windows
Class WindowsRemoteFileSystem
java.lang.Object
hudson.os.windows.WindowsRemoteFileSystem
- All Implemented Interfaces:
- JDKInstaller.FileSystem
public class WindowsRemoteFileSystem
- extends Object
- implements JDKInstaller.FileSystem
JDKInstaller.FileSystem
implementation for remote Windows system.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsRemoteFileSystem
public WindowsRemoteFileSystem(String hostName,
jcifs.smb.NtlmPasswordAuthentication auth)
delete
public void delete(String file)
throws IOException,
InterruptedException
- Specified by:
delete
in interface JDKInstaller.FileSystem
- Throws:
IOException
InterruptedException
chmod
public void chmod(String file,
int mode)
throws IOException,
InterruptedException
- Specified by:
chmod
in interface JDKInstaller.FileSystem
- Throws:
IOException
InterruptedException
read
public InputStream read(String file)
throws IOException
- Specified by:
read
in interface JDKInstaller.FileSystem
- Throws:
IOException
listSubDirectories
public List<String> listSubDirectories(String dir)
throws IOException,
InterruptedException
- Description copied from interface:
JDKInstaller.FileSystem
- List sub-directories of the given directory and just return the file name portion.
- Specified by:
listSubDirectories
in interface JDKInstaller.FileSystem
- Throws:
IOException
InterruptedException
pullUp
public void pullUp(String from,
String to)
throws IOException,
InterruptedException
- Specified by:
pullUp
in interface JDKInstaller.FileSystem
- Throws:
IOException
InterruptedException
mkdirs
public void mkdirs(String path)
throws IOException
- Throws:
IOException
Copyright © 2004-2013. All Rights Reserved.