public class GridUtils extends Object
| Constructor and Description |
|---|
GridUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
downloadFile(File outputFile,
URL urlGrid)
Download a file from an URL to a specified target
|
static File |
findGrid(String nameGrid)
Find the grid used by the transformation
If the grid is not packaged into the resources folder then we look into a
.
|
public static File findGrid(String nameGrid) throws FileNotFoundException, IOException
nameGrid - name of the grid with its extensionFileNotFoundExceptionIOExceptionpublic static void downloadFile(File outputFile, URL urlGrid) throws MalformedURLException, IOException
outputFile - urlGrid - MalformedURLExceptionIOExceptionCopyright © 2019 CNRS. All rights reserved.