Class 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.String readFileAsString​(java.lang.String absolutePath)  
      protected static void setFdOwner​(java.io.FileDescriptor fd, java.lang.Object owner)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowIoUtils

        public ShadowIoUtils()
    • 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)