com.sun.jini.tool.envcheck.plugins
Class FileAccessCheckTask
java.lang.Object
  
com.sun.jini.tool.envcheck.plugins.FileAccessCheckTask
- All Implemented Interfaces: 
 - SubVMTask
 
public class FileAccessCheckTask
- extends Object
- implements SubVMTask
  
A subtask which checks for the accessibility of a file identified
 by a system property.
 
| 
Method Summary | 
 Object | 
run(String[] args)
 
          Check for the accessibility of a file identified by a
 system property. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FileAccessCheckTask
public FileAccessCheckTask()
run
public Object run(String[] args)
- Check for the accessibility of a file identified by a
 system property. Returns 
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.
- Specified by:
 run in interface SubVMTask
 
- Parameters:
 args - the command line args
- Returns:
 - the result of the check
 
 
 
Copyright © GigaSpaces.