Uses of Class
org.metricshub.winrm.RemoteFile
Packages that use RemoteFile
-
Uses of RemoteFile in org.metricshub.winrm
Methods in org.metricshub.winrm that return RemoteFileModifier and TypeMethodDescriptionPrepare access to a file or directory on the remote host, through the WinRM connection itself: read a file's content (whole, as a byte range, or as a stream), compute its digest, get its properties, or list a directory.RemoteFile.length(long length) Read at most the given number of bytes (from theoffset(long), once resolved) instead of reading to the end of the file.RemoteFile.maxBytes(long maxBytes) Set the size cap ofreadBytes()andreadText(Charset), which hold the whole content in memory: reading more than the cap fails instead of risking anOutOfMemoryError.RemoteFile.offset(long offset) Start reading at the given byte position instead of the beginning of the file.Override the client's timeout for this request.