Package org.robolectric.shadows
Class ShadowIoUtils
- java.lang.Object
-
- org.robolectric.shadows.ShadowIoUtils
-
@Implements(value=libcore.io.IoUtils.class, isInAndroidSdk=false) public class ShadowIoUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShadowIoUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringreadFileAsString(java.lang.String absolutePath)protected static voidsetFdOwner(java.io.FileDescriptor fd, java.lang.Object owner)
-
-
-
Method Detail
-
readFileAsString
@Implementation public static java.lang.String readFileAsString(java.lang.String absolutePath) throws java.io.IOException- Throws:
java.io.IOException
-
setFdOwner
@Implementation(minSdk=29) protected static void setFdOwner(java.io.FileDescriptor fd, java.lang.Object owner)
-
-