| java.lang.Object com.sun.media.jai.rmi.JAIRMIUtil
JAIRMIUtil | final public class JAIRMIUtil (Code) | | A class containing utility methods used for the implementation of
the "jairmi" protocol.
|
Method Summary | |
public static void | checkClientParameters(ParameterBlock pb, String thisServerName) | public static void | checkClientParameters(Vector parameters, String thisServerName) | public static void | checkServerParameters(ParameterBlock pb, Hashtable nodes) Method to check whether any of the parameters in the ParameterBlock
are replacement representations of images. | public static void | checkServerParameters(Vector parameters, Hashtable nodes) Method to check whether any of the parameters in the ParameterBlock
are replacement representations of images. | public static Vector | replaceIdWithSources(Vector srcs, Hashtable nodes, String opName, RenderingHints hints) Replaces any element in the source Vector which is an ID
with the server-side node that is associated with the
given ID. | public static Object | replaceImage(RenderedImage obj, String thisServerName) Replace an image with an equivalent representation that can be accessed
on the server. | public static Vector | replaceSourcesWithId(Vector srcs, String serverName) Replaces any source that is an RMIServerProxy with
the id of the server-side node that is represented by the
RMIServerProxy . | public static Object | replaceStringWithImage(String s, Hashtable nodes) Method to convert a String representation of an image into the
image itself. |
checkClientParameters | public static void checkClientParameters(Vector parameters, String thisServerName)(Code) | | |
checkServerParameters | public static void checkServerParameters(ParameterBlock pb, Hashtable nodes)(Code) | | Method to check whether any of the parameters in the ParameterBlock
are replacement representations of images.
|
checkServerParameters | public static void checkServerParameters(Vector parameters, Hashtable nodes)(Code) | | Method to check whether any of the parameters in the ParameterBlock
are replacement representations of images.
|
replaceIdWithSources | public static Vector replaceIdWithSources(Vector srcs, Hashtable nodes, String opName, RenderingHints hints)(Code) | | Replaces any element in the source Vector which is an ID
with the server-side node that is associated with the
given ID.
|
replaceImage | public static Object replaceImage(RenderedImage obj, String thisServerName)(Code) | | Replace an image with an equivalent representation that can be accessed
on the server.
|
replaceSourcesWithId | public static Vector replaceSourcesWithId(Vector srcs, String serverName)(Code) | | Replaces any source that is an RMIServerProxy with
the id of the server-side node that is represented by the
RMIServerProxy .
|
replaceStringWithImage | public static Object replaceStringWithImage(String s, Hashtable nodes)(Code) | | Method to convert a String representation of an image into the
image itself. The String representation is supplied by the client
generally as a parameter in the ParameterBlock.
|
|
|