Package org.robolectric.shadows
Class ShadowFileUtils
java.lang.Object
org.robolectric.shadows.ShadowFileUtils
@Implements(value=android.os.FileUtils.class, isInAndroidSdk=false, minSdk=28) public class ShadowFileUtils extends Object
-
Constructor Summary
Constructors Constructor Description ShadowFileUtils()
-
Method Summary
Modifier and Type Method Description protected static long
copy(FileDescriptor in, FileDescriptor out, long count, CancellationSignal signal, Executor executor, FileUtils.ProgressListener listener)
protected static long
copy(FileDescriptor in, FileDescriptor out, FileUtils.ProgressListener listener, CancellationSignal signal, long count)
-
Constructor Details
-
ShadowFileUtils
public ShadowFileUtils()
-
-
Method Details
-
copy
@Implementation(minSdk=28, maxSdk=28) protected static long copy(FileDescriptor in, FileDescriptor out, FileUtils.ProgressListener listener, CancellationSignal signal, long count) throws IOException- Throws:
IOException
-
copy
@Implementation(minSdk=29) protected static long copy(FileDescriptor in, FileDescriptor out, long count, CancellationSignal signal, Executor executor, FileUtils.ProgressListener listener) throws IOException- Throws:
IOException
-