|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.wrmf.delivery.PayloadInputStreamDesc
wt.wrmf.delivery.StreamedIS
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
private InputStream |
returnedIS
|
(package private) static long |
serialVersionUID
|
private long |
size
|
private ObjectReference |
streamedObj
|
private static String |
versionID
|
Fields inherited from class wt.wrmf.delivery.PayloadInputStreamDesc |
VERBOSE |
Constructor Summary | |
StreamedIS()
Supported API: false |
Method Summary | |
long |
getSize()
Supported API: false |
InputStream |
getStream()
Supported API: false |
boolean |
isRewindSupported()
Supported API: false |
static StreamedIS |
newStreamedIS(ObjectReference objRef)
Supported API: false |
static StreamedIS |
newStreamedIS(Streamed obj)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(StreamedIS thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
rewind()
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.wrmf.delivery.PayloadInputStreamDesc |
isStreamGzipped, readVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ObjectReference streamedObj
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String versionID
private long size
private InputStream returnedIS
Constructor Detail |
public StreamedIS()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class PayloadInputStreamDesc
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class PayloadInputStreamDesc
input
-
IOException
ClassNotFoundException
protected boolean readVersion(StreamedIS thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public static StreamedIS newStreamedIS(Streamed obj) throws WTException
obj
-
WTException
public static StreamedIS newStreamedIS(ObjectReference objRef) throws WTException
objRef
-
WTException
public boolean isRewindSupported()
isRewindSupported
in class PayloadInputStreamDesc
public void rewind() throws RewindNotSupportedException, IOException
rewind
in class PayloadInputStreamDesc
RewindNotSupportedException
IOException
public InputStream getStream() throws WTDeliveryException
getStream
in class PayloadInputStreamDesc
WTDeliveryException
public long getSize() throws WTException
getSize
in class PayloadInputStreamDesc
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |