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
IOException
public static File extractResourcePath(String resourcePath, File dest) throws IOException
IOException
public static File extractResourcePath(Class<?> cl, String resourcePath, File dest) throws IOException
IOException
public static File extractResourcePath(Class<?> cl, String resourcePath, File tempDir, boolean alwaysExtract) throws IOException
IOException
public static File extractResourceToDestination(Class<?> cl, String resourcePath, File destination, boolean alwaysExtract) throws IOException
IOException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.