Class ResourceExtractor
- java.lang.Object
-
- org.apache.maven.shared.verifier.util.ResourceExtractor
-
@Deprecated public class ResourceExtractor extends java.lang.ObjectDeprecated.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 Constructor Description ResourceExtractor()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.io.FileextractResourcePath(java.lang.Class<?> cl, java.lang.String resourcePath, java.io.File dest)Deprecated.static java.io.FileextractResourcePath(java.lang.Class<?> cl, java.lang.String resourcePath, java.io.File tempDir, boolean alwaysExtract)Deprecated.static java.io.FileextractResourcePath(java.lang.String resourcePath, java.io.File dest)Deprecated.static java.io.FileextractResourceToDestination(java.lang.Class<?> cl, java.lang.String resourcePath, java.io.File destination, boolean alwaysExtract)Deprecated.static java.io.FilesimpleExtractResources(java.lang.Class<?> cl, java.lang.String resourcePath)Deprecated.
-
-
-
Method Detail
-
simpleExtractResources
public static java.io.File simpleExtractResources(java.lang.Class<?> cl, java.lang.String resourcePath) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
extractResourcePath
public static java.io.File extractResourcePath(java.lang.String resourcePath, java.io.File dest) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
extractResourcePath
public static java.io.File extractResourcePath(java.lang.Class<?> cl, java.lang.String resourcePath, java.io.File dest) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
extractResourcePath
public static java.io.File extractResourcePath(java.lang.Class<?> cl, java.lang.String resourcePath, java.io.File tempDir, boolean alwaysExtract) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
extractResourceToDestination
public static java.io.File extractResourceToDestination(java.lang.Class<?> cl, java.lang.String resourcePath, java.io.File destination, boolean alwaysExtract) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-