Package 

Class SuFileOutputStream


  • 
    public final class SuFileOutputStream
    
                        

    Open OutputStreams that read files with root access.

    Directly creating instances of this class is deprecated, please use the static helper methods to open new OutputStreams.

    • Method Summary

      Modifier and Type Method Description
      static OutputStream open(@NonNull() String path) {@code SuFileOutputStream.open(new File(path), false)}
      static OutputStream open(@NonNull() String path, boolean append) {@code SuFileOutputStream.open(new File(path), append)}
      static OutputStream open(@NonNull() File file) {@code SuFileOutputStream.open(file, false)}
      static OutputStream open(@NonNull() File file, boolean append) Open an OutputStream with root access.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait