Package 

Class FilesImpl

  • All Implemented Interfaces:
    com.kaspersky.kaspresso.device.files.Files

    
    public final class FilesImpl
     implements Files
                        

    The implementation of the Files interface.

    • Method Summary

      Modifier and Type Method Description
      Unit push(String serverPath, String devicePath) Performs adb push.
      Unit remove(String path) Removes a file by given path.
      Unit pull(String devicePath, String serverPath) Performs adb pull.
      • Methods inherited from class com.kaspersky.kaspresso.device.files.Files

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • push

         Unit push(String serverPath, String devicePath)

        Performs adb push.

        Required Permissions: INTERNET.

        Parameters:
        serverPath - a file path relative to the server directory.
        devicePath - a path to copy.
      • remove

         Unit remove(String path)

        Removes a file by given path.

        Required Permissions: INTERNET

        Parameters:
        path - a path to remove
      • pull

         Unit pull(String devicePath, String serverPath)

        Performs adb pull.

        Required Permissions: INTERNET.

        Parameters:
        devicePath - a file path relative to the device directory.
        serverPath - a path to copy.