public class FileRetriever extends Object implements MediaOp, Serializable
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
FileRetriever.ContentInfo |
MediaOp.Variable| Modifier and Type | Field and Description |
|---|---|
(package private) static long |
MaxContentLength |
(package private) static ArrayList<Pattern> |
remoteHostPatterns |
(package private) long |
timestamp |
(package private) URL |
url |
| Constructor and Description |
|---|
FileRetriever(URL u,
long lm) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
addRemoteHostPattern(String regex) |
boolean |
checkRemote() |
boolean |
doOperation(MediaOp.Variable var,
PrintWriter err)
処理を実行する.
|
static FileRetriever.ContentInfo |
retrieve(URL url,
long lm) |
static final long MaxContentLength
URL url
long timestamp
public FileRetriever(URL u, long lm)
static void addRemoteHostPattern(String regex)
public boolean doOperation(MediaOp.Variable var, PrintWriter err) throws RMGridException
MediaOpdoOperation in interface MediaOpdoOperation in interface GridOp<MediaOp.Variable>var - 処理に利用する変数.err - エラー出力.RMGridExceptionpublic boolean checkRemote()
public static FileRetriever.ContentInfo retrieve(URL url, long lm) throws RMGridException, IOException
RMGridExceptionIOExceptionEDB Working Group at Mon Dec 15 16:45:05 JST 2025