wt.wrmf.delivery
Class SizeCalculator

java.lang.Object
  extended byjava.io.OutputStream
      extended bywt.wrmf.delivery.SizeCalculator
All Implemented Interfaces:
Serializable

public class SizeCalculator
extends OutputStream
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
(package private)  boolean isDone
           
private  Serializable obj
           
private static String RESOURCE
           
private  long size
           
private static String versionID
           
 
Constructor Summary
SizeCalculator(Serializable obj)
          

Supported API: false
 
Method Summary
 long getSize()
          

Supported API: false
 void write(int b)
          

Supported API: false
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

size

private long size

obj

private Serializable obj

isDone

boolean isDone

versionID

private static final String versionID
See Also:
Constant Field Values
Constructor Detail

SizeCalculator

public SizeCalculator(Serializable obj)


Supported API: false

Parameters:
obj -
Method Detail

write

public void write(int b)
           throws IOException


Supported API: false

Parameters:
b -
Throws:
IOException

getSize

public long getSize()
             throws IOException


Supported API: false

Returns:
long
Throws:
IOException