hudson.tools
Interface JDKInstaller.FileSystem

All Known Implementing Classes:
WindowsRemoteFileSystem
Enclosing class:
JDKInstaller

public static interface JDKInstaller.FileSystem

Abstraction of the file system to perform JDK installation. Consider FilePathFileSystem as the canonical documentation of the contract.


Method Summary
 void chmod(String file, int mode)
           
 void delete(String file)
           
 List<String> listSubDirectories(String dir)
          List sub-directories of the given directory and just return the file name portion.
 void pullUp(String from, String to)
           
 InputStream read(String file)
           
 

Method Detail

delete

void delete(String file)
            throws IOException,
                   InterruptedException
Throws:
IOException
InterruptedException

chmod

void chmod(String file,
           int mode)
           throws IOException,
                  InterruptedException
Throws:
IOException
InterruptedException

read

InputStream read(String file)
                 throws IOException
Throws:
IOException

listSubDirectories

List<String> listSubDirectories(String dir)
                                throws IOException,
                                       InterruptedException
List sub-directories of the given directory and just return the file name portion.

Throws:
IOException
InterruptedException

pullUp

void pullUp(String from,
            String to)
            throws IOException,
                   InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.