Package org.openrewrite.remote
Class RemoteFile
java.lang.Object
org.openrewrite.remote.RemoteFile
- All Implemented Interfaces:
Remote,SourceFile,Tree
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.remote.Remote
Remote.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDownload the remote fileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.remote.Remote
accept, getChecksum, getDescription, getUri, isAcceptable, printAll, printAllTrimmed, printer, withChecksum, withDescription, withUriMethods inherited from interface org.openrewrite.SourceFile
getCharset, getFileAttributes, getSourcePath, getStyle, getStyle, getWeight, isCharsetBomMarked, printAll, printAll, printAllAsBytes, printAllAsBytes, printAllTrimmed, printEqualsInput, service, withCharset, withCharsetBomMarked, withFileAttributes, withSourcePathMethods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, getMarkers, isScope, print, print, print, printTrimmed, printTrimmed, printTrimmed, withId, withMarkers
-
Constructor Details
-
RemoteFile
public RemoteFile()
-
-
Method Details
-
getInputStream
Description copied from interface:RemoteDownload the remote file- Specified by:
getInputStreamin interfaceRemote- Parameters:
ctx- used to download the file represented by this Remote
-