Class ResourceExtractor
java.lang.Object
org.apache.maven.shared.verifier.util.ResourceExtractor
Deprecated.
This class is deprecated as part of maven-verifier deprecation.
The resource extraction functionality may be moved to a separate utility
library in the future. For now, users should copy this utility if needed.
See Issue #186.
Utility for extracting test resources.
Note: This utility class provides functionality independent of Maven execution and could potentially be extracted to a separate, non-deprecated utility library if there is community interest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileextractResourcePath(Class<?> cl, String resourcePath, File dest) Deprecated.static FileextractResourcePath(Class<?> cl, String resourcePath, File tempDir, boolean alwaysExtract) Deprecated.static FileextractResourcePath(String resourcePath, File dest) Deprecated.static FileextractResourceToDestination(Class<?> cl, String resourcePath, File destination, boolean alwaysExtract) Deprecated.static FilesimpleExtractResources(Class<?> cl, String resourcePath) Deprecated.
-
Constructor Details
-
ResourceExtractor
public ResourceExtractor()Deprecated.
-
-
Method Details
-
simpleExtractResources
Deprecated.- Throws:
IOException
-
extractResourcePath
Deprecated.- Throws:
IOException
-
extractResourcePath
public static File extractResourcePath(Class<?> cl, String resourcePath, File dest) throws IOException Deprecated.- Throws:
IOException
-
extractResourcePath
public static File extractResourcePath(Class<?> cl, String resourcePath, File tempDir, boolean alwaysExtract) throws IOException Deprecated.- Throws:
IOException
-
extractResourceToDestination
public static File extractResourceToDestination(Class<?> cl, String resourcePath, File destination, boolean alwaysExtract) throws IOException Deprecated.- Throws:
IOException
-