org.sonatype.aether.test.util.connector.suite
Class ConnectorTestUtils

java.lang.Object
  extended by org.sonatype.aether.test.util.connector.suite.ConnectorTestUtils

public class ConnectorTestUtils
extends Object

Author:
Benjamin Hanzelmann

Constructor Summary
ConnectorTestUtils()
           
 
Method Summary
static
<T extends Transfer>
List<T>
createTransfers(Class<T> cls, int count, File file)
          Creates transfer objects according to the given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorTestUtils

public ConnectorTestUtils()
Method Detail

createTransfers

public static <T extends Transfer> List<T> createTransfers(Class<T> cls,
                                                           int count,
                                                           File file)
Creates transfer objects according to the given class. If the file parameter is null, a new temporary file will be created for downloads. Uploads will just use the parameter as it is.



Copyright © 2010-2012. All Rights Reserved.