public class ResourcesExtractor extends Object
Modifier and Type | Method and Description |
---|---|
static void |
deleteTempDir(String resourcePath,
File tempDir) |
static File |
extract(String resourcePath) |
static boolean |
isResourceInJar(String resourcePath) |
public static boolean isResourceInJar(String resourcePath) throws URISyntaxException
resourcePath
- URISyntaxException
public static void deleteTempDir(String resourcePath, File tempDir) throws URISyntaxException, IOException
resourcePath
- tempDir
- URISyntaxException
IOException
public static File extract(String resourcePath) throws IOException, URISyntaxException, IllegalStateException
resourcePath
- IOException
URISyntaxException
IllegalStateException
Copyright © 2014–2019 SoftInstigate. All rights reserved.