public class ExternalInterface extends java.lang.Object implements DOOperation
Modifier and Type | Method and Description |
---|---|
boolean |
canHandleOperation(DOOperationContext context)
Returns true iff this object can perform the given operation on
behalf of the caller on the given object.
|
java.lang.String[] |
listOperations(DOOperationContext context)
Returns a list of operations that this operator can perform
on the object identified by the DOOperationContext parameter.
|
void |
performOperation(DOOperationContext context,
java.io.InputStream in,
java.io.OutputStream out)
Performs the given operation (which this object has advertised that it
can handle) which consists of reading input (if any is expected) from the
given InputStream and writing the output of the operation (if any) to the
OutputStream.
|
public boolean canHandleOperation(DOOperationContext context)
canHandleOperation
in interface DOOperation
public java.lang.String[] listOperations(DOOperationContext context)
listOperations
in interface DOOperation
public void performOperation(DOOperationContext context, java.io.InputStream in, java.io.OutputStream out)
performOperation
in interface DOOperation