public class AlaFileUtils extends Object
| Constructor and Description |
|---|
AlaFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createZip(String directoryPath,
String zipPath)
Creates a zip file at the specified path with the contents of the specified directory.
|
static Map<String,String> |
generateShapeHeader(String[] headers)
Generates a map of feature names to original headers.
|
static String |
reduceNameByVowels(String name,
int requiredLength)
Reduces the supplied name to the required length, by first removing non-leading vowels and then substringing.
|
public static void createZip(String directoryPath, String zipPath) throws IOException
directoryPath - The path of the directory where the archive will be created. eg. c:/tempzipPath - The full path of the archive to create. eg. c:/temp/archive.zipIOException - If anything goes wrongpublic static String reduceNameByVowels(String name, int requiredLength)
name - requiredLength - Copyright © 2014. All rights reserved.