org.apache.maven.it.util
Class ResourceExtractor

java.lang.Object
  extended by org.apache.maven.it.util.ResourceExtractor

public class ResourceExtractor
extends Object


Constructor Summary
ResourceExtractor()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceExtractor

public ResourceExtractor()
Method Detail

simpleExtractResources

public static File simpleExtractResources(Class cl,
                                          String resourcePath)
                                   throws IOException
Throws:
IOException

extractResourcePath

public static File extractResourcePath(String resourcePath,
                                       File dest)
                                throws IOException
Throws:
IOException

extractResourcePath

public static File extractResourcePath(Class cl,
                                       String resourcePath,
                                       File dest)
                                throws IOException
Throws:
IOException

extractResourcePath

public static File extractResourcePath(Class cl,
                                       String resourcePath,
                                       File tempDir,
                                       boolean alwaysExtract)
                                throws IOException
Throws:
IOException

extractResourceToDestination

public static File extractResourceToDestination(Class cl,
                                                String resourcePath,
                                                File destination,
                                                boolean alwaysExtract)
                                         throws IOException
Throws:
IOException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.