org.sonatype.aether.test.util.connector.suite
Class ConnectorTestUtils
java.lang.Object
org.sonatype.aether.test.util.connector.suite.ConnectorTestUtils
public class ConnectorTestUtils
- extends Object
- Author:
- Benjamin Hanzelmann
Method Summary |
static
|
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 |
ConnectorTestUtils
public ConnectorTestUtils()
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.