Package org.hortonmachine.gears.utils
Class DataUtilities
- java.lang.Object
-
- org.hortonmachine.gears.utils.DataUtilities
-
public class DataUtilities extends Object
Utilities to handle data.- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Field Summary
Fields Modifier and Type Field Description static String[]supportedRastersstatic String[]supportedVectors
-
Constructor Summary
Constructors Constructor Description DataUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSupportedRasterExtension(String name)Checks a given name of a file if it is a supported raster extension.static booleanisSupportedVectorExtension(String name)Checks a given name of a file if it is a supported vector extension.
-
-
-
Method Detail
-
isSupportedVectorExtension
public static boolean isSupportedVectorExtension(String name)
Checks a given name of a file if it is a supported vector extension.- Parameters:
name- the name of the file.- Returns:
true, if the extension is supported.
-
isSupportedRasterExtension
public static boolean isSupportedRasterExtension(String name)
Checks a given name of a file if it is a supported raster extension.- Parameters:
name- the name of the file.- Returns:
true, if the extension is supported.
-
-