public class WindowsRemoteFileSystem extends Object implements JDKInstaller.FileSystem
JDKInstaller.FileSystem implementation for remote Windows system.| Constructor and Description |
|---|
WindowsRemoteFileSystem(String hostName,
jcifs.smb.NtlmPasswordAuthentication auth) |
| Modifier and Type | Method and Description |
|---|---|
void |
chmod(String file,
int mode) |
void |
delete(String file) |
List<String> |
listSubDirectories(String dir) |
void |
mkdirs(String path) |
void |
pullUp(String from,
String to) |
InputStream |
read(String file) |
public WindowsRemoteFileSystem(String hostName, jcifs.smb.NtlmPasswordAuthentication auth)
public void delete(String file) throws IOException, InterruptedException
delete in interface JDKInstaller.FileSystemIOExceptionInterruptedExceptionpublic void chmod(String file, int mode) throws IOException, InterruptedException
chmod in interface JDKInstaller.FileSystemIOExceptionInterruptedExceptionpublic InputStream read(String file) throws IOException
read in interface JDKInstaller.FileSystemIOExceptionpublic List<String> listSubDirectories(String dir) throws IOException, InterruptedException
listSubDirectories in interface JDKInstaller.FileSystemIOExceptionInterruptedExceptionpublic void pullUp(String from, String to) throws IOException, InterruptedException
pullUp in interface JDKInstaller.FileSystemIOExceptionInterruptedExceptionpublic void mkdirs(String path) throws IOException
IOExceptionCopyright © 2016–2021. All rights reserved.