Class RemoteFile

java.lang.Object
org.openrewrite.remote.RemoteFile
All Implemented Interfaces:
Remote, SourceFile, Tree

public class RemoteFile extends Object implements Remote
  • Constructor Details

    • RemoteFile

      public RemoteFile()
  • Method Details

    • printAllAsBytes

      public <P> byte[] printAllAsBytes(P p)
      Specified by:
      printAllAsBytes in interface SourceFile
    • getInputStream

      public InputStream getInputStream(HttpSender httpSender)
      Description copied from interface: Remote
      Download the remote file
      Specified by:
      getInputStream in interface Remote
      Parameters:
      httpSender - used to download the file represented by this Remote