|
|||||||||||
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.GZIPFileIS
The input stream as in getStream() will be zipped;
getSize() will return the number of bytes of the
zipped input stream. The stream corresponding to
the object itself during transmission is not zipped.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private File |
file
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private long |
size
|
private boolean |
sizeIsFound
|
private static String |
versionID
|
Fields inherited from class wt.wrmf.delivery.PayloadInputStreamDesc |
VERBOSE |
Constructor Summary | |
GZIPFileIS()
Supported API: false |
|
GZIPFileIS(File file)
Supported API: false |
|
GZIPFileIS(String fileName)
Supported API: false |
Method Summary | |
long |
getSize()
Supported API: false |
InputStream |
getStream()
Supported API: false |
boolean |
isStreamGzipped()
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(GZIPFileIS thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.wrmf.delivery.PayloadInputStreamDesc |
isRewindSupported, readVersion, rewind |
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 File file
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 boolean sizeIsFound
private long size
Constructor Detail |
public GZIPFileIS()
public GZIPFileIS(String fileName)
fileName
- public GZIPFileIS(File file)
file
- 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(GZIPFileIS 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 InputStream getStream() throws WTDeliveryException
getStream
in class PayloadInputStreamDesc
WTDeliveryException
public long getSize() throws WTException
getSize
in class PayloadInputStreamDesc
WTException
public boolean isStreamGzipped()
PayloadInputStreamDesc
isStreamGzipped
in class PayloadInputStreamDesc
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |