public class RemoteResourceImpl extends TransparentWrapper implements RemoteResource, java.io.Externalizable
referent| Constructor and Description |
|---|
RemoteResourceImpl()
Implicit c'tor, for deserializing purposes.
|
RemoteResourceImpl(java.lang.String resourceId)
Instantiate this remote resource by saving its resource ID.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getResourceId()
Get the ID of this remote resource.
|
void |
readExternal(java.io.ObjectInput in)
Read the resource ID from the specified input source.
|
void |
writeExternal(java.io.ObjectOutput out)
Send the resource ID to the specified output destination.
|
equals, get, hashCode, id, id, set, unknown, validclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitid, id, unknown, validpublic RemoteResourceImpl()
public RemoteResourceImpl(java.lang.String resourceId)
resourceId - The remote resource ID.public java.lang.String getResourceId()
getResourceId in interface RemoteResourcepublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The input source from which the resource ID will be read.java.io.IOException - In case of I/O errors.java.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The output destination to which the resource ID will be sent.java.io.IOException - In case of I/O errors.