public class ResourceExtractor extends Object
| Constructor and Description |
|---|
ResourceExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static File |
extractResourcePath(Class<?> cl,
String resourcePath,
File dest) |
static File |
extractResourcePath(Class<?> cl,
String resourcePath,
File tempDir,
boolean alwaysExtract) |
static File |
extractResourcePath(String resourcePath,
File dest) |
static File |
extractResourceToDestination(Class<?> cl,
String resourcePath,
File destination,
boolean alwaysExtract) |
static File |
simpleExtractResources(Class<?> cl,
String resourcePath) |
public static File simpleExtractResources(Class<?> cl, String resourcePath) throws IOException
IOExceptionpublic static File extractResourcePath(String resourcePath, File dest) throws IOException
IOExceptionpublic static File extractResourcePath(Class<?> cl, String resourcePath, File dest) throws IOException
IOExceptionpublic static File extractResourcePath(Class<?> cl, String resourcePath, File tempDir, boolean alwaysExtract) throws IOException
IOExceptionpublic static File extractResourceToDestination(Class<?> cl, String resourcePath, File destination, boolean alwaysExtract) throws IOException
IOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.