// Path: kbox.core/src/main/java/org/aksw/kbox/utils/StreamUtils.java
// public class StreamUtils {
// 	public static void stream(InputStream inputStream, File destFile) throws FileNotFoundException, IOException {
// 		ReadableByteChannel rbc = Channels.newChannel(inputStream);
// 		try (FileOutputStream fos = new FileOutputStream(destFile)) {
// 			fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
// 		}
// 	}
// }


import java.io.File;
import java.io.InputStream;
import org.aksw.kbox.utils.StreamUtils;
package org.aksw.kbox.apple;



/**
 * 
 * @author {@linkplain http://emarx.org}
 *
 */
public class ResourceAppInstall extends AbstractAppInstall {	
	@Override
	public void install(InputStream source, File target) throws Exception {
// Path: kbox.core/src/main/java/org/aksw/kbox/utils/StreamUtils.java
// public class StreamUtils {
// 	public static void stream(InputStream inputStream, File destFile) throws FileNotFoundException, IOException {
// 		ReadableByteChannel rbc = Channels.newChannel(inputStream);
// 		try (FileOutputStream fos = new FileOutputStream(destFile)) {
// 			fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
// 		}
// 	}
// }


// Path: kbox.apple/src/main/java/org/aksw/kbox/apple/ResourceAppInstall.java
import java.io.File;
import java.io.InputStream;
import org.aksw.kbox.utils.StreamUtils;

package org.aksw.kbox.apple;



/**
 * 
 * @author {@linkplain http://emarx.org}
 *
 */
public class ResourceAppInstall extends AbstractAppInstall {	
	@Override
	public void install(InputStream source, File target) throws Exception {
		StreamUtils.stream(source, target);