public class RemoteFileFetcher
extends java.lang.Object
Constructor and Description |
---|
RemoteFileFetcher(hudson.FilePath workspace,
Logger logger,
java.lang.String fileName,
java.lang.String maxSize) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRemoteFile()
Attempt to read a remote file
|
public RemoteFileFetcher(hudson.FilePath workspace, Logger logger, java.lang.String fileName, java.lang.String maxSize)
public java.lang.String getRemoteFile() throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedException
- if there is an error fetching the filejava.io.IOException
- if any network error occurs