public class DownloadTool extends Tool<Object,File>
| Constructor and Description |
|---|
DownloadTool() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
aliases() |
DownloadTool |
from(String url) |
DownloadTool |
from(URL url) |
protected File |
process(Object input) |
DownloadTool |
to(File file) |
DownloadTool |
to(String filePath) |
execute, getExecutionService, run, setExecutionService, setPreviousTask, thenpublic DownloadTool from(String url) throws IllegalArgumentException
IllegalArgumentExceptionpublic DownloadTool from(URL url)
public DownloadTool to(String filePath)
public DownloadTool to(File file)
Copyright © 2014 JBoss by Red Hat. All rights reserved.