jreceiver.common.rpc
Interface Roots
- All Superinterfaces:
- RpcBase, ServerTable
- public interface Roots
- extends ServerTable
Root-folder-related queries and updates for a (possibly-remote) JRec server
- Version:
- $Revision: 1.3 $ $Date: 2002/07/31 11:29:41 $
- Author:
- Reed Esau
Fields inherited from interface jreceiver.common.rpc.RpcBase |
DETECT |
Method Summary |
java.lang.String |
validate(java.io.File root_pathname)
Test to see that the target exists and that it is not a child
of any of the existing roots, or (visa-versa) if any of the
roots is a child of target. |
Methods inherited from interface jreceiver.common.rpc.RpcBase |
detect |
HANDLER_NAME
public static final java.lang.String HANDLER_NAME
VALIDATE
public static final java.lang.String VALIDATE
validate
public java.lang.String validate(java.io.File root_pathname)
throws RpcException
- Test to see that the target exists and that it is not a child
of any of the existing roots, or (visa-versa) if any of the
roots is a child of target.
- Parameters:
root_pathname
- - Returns:
- If a conflict exists, a non-blank string is returned with a
brief description of the validation problem. Blank if successful.
- Throws:
RpcException
-
Copyright © 2001-2002 Reed Esau, All Rights Reserved.