Constructor and Description |
---|
FileAccessCheckTask() |
Modifier and Type | Method and Description |
---|---|
Object |
run(String[] args)
Check for the accessibility of a file identified by a
system property.
|
public Object run(String[] args)
null
if the file exists
and is readable. Any non-null
return will either
be a String
containing an error message, or a
Throwable
that was thrown in the course of the check.
args[0]
must contain the name of the system property. args[1]
must contain a localized description of the file being accessed.Copyright © GigaSpaces.