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 Object
-
-
Constructor Summary
Constructors Constructor Description ShadowIoUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringreadFileAsString(String absolutePath)protected static voidsetFdOwner(FileDescriptor fd, Object owner)
-
-
-
Method Detail
-
readFileAsString
@Implementation public static String readFileAsString(String absolutePath) throws IOException
- Throws:
IOException
-
setFdOwner
@Implementation(minSdk=29) protected static void setFdOwner(FileDescriptor fd, Object owner)
-
-