org.gradle.wrapper
Class Install

java.lang.Object
  extended by org.gradle.wrapper.Install

public class Install
extends java.lang.Object


Field Summary
static java.lang.String WRAPPER_DIR
           
static java.lang.String WRAPPER_JAR
           
static java.lang.String WRAPPER_PROPERTIES
           
 
Constructor Summary
Install(boolean alwaysDownload, boolean alwaysUnpack, IDownload download, PathAssembler pathAssembler)
           
 
Method Summary
 void copyInputStream(java.io.InputStream in, java.io.OutputStream out)
           
 IDownload getDownload()
           
 PathAssembler getPathAssembler()
           
 void unzip(java.io.File zip, java.io.File dest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WRAPPER_DIR

public static final java.lang.String WRAPPER_DIR
See Also:
Constant Field Values

WRAPPER_JAR

public static final java.lang.String WRAPPER_JAR
See Also:
Constant Field Values

WRAPPER_PROPERTIES

public static final java.lang.String WRAPPER_PROPERTIES
See Also:
Constant Field Values
Constructor Detail

Install

public Install(boolean alwaysDownload,
               boolean alwaysUnpack,
               IDownload download,
               PathAssembler pathAssembler)
Method Detail

getDownload

public IDownload getDownload()

getPathAssembler

public PathAssembler getPathAssembler()

unzip

public void unzip(java.io.File zip,
                  java.io.File dest)
           throws java.io.IOException
Throws:
java.io.IOException

copyInputStream

public void copyInputStream(java.io.InputStream in,
                            java.io.OutputStream out)
                     throws java.io.IOException
Throws:
java.io.IOException