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, valid
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
id, id, unknown, valid
public RemoteResourceImpl()
public RemoteResourceImpl(java.lang.String resourceId)
resourceId
- The remote resource ID.public java.lang.String getResourceId()
getResourceId
in interface RemoteResource
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- The input source from which the resource ID will be read.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The output destination to which the resource ID will be sent.java.io.IOException
- In case of I/O errors.