com.ptc.wvs.server.loader
Class ContentUpdater

java.lang.Object
  extended bycom.ptc.wvs.server.loader.ContentUpdater
All Implemented Interfaces:
Serializable

class ContentUpdater
extends Object
implements Serializable


Field Summary
(package private)  ApplicationData appData
           
private static int BUFSIZ
           
private  boolean consumed
           
(package private)  ContentHolder contentHolder
           
private  InputStream in
           
private  boolean upload
           
 
Constructor Summary
ContentUpdater(ContentHolder content_holder, ApplicationData app_data, InputStream in)
           
 
Method Summary
 ApplicationData getUpdateResult()
           
private  void readObject(ObjectInputStream input_stream)
           
private  ApplicationData updateContent(ContentHolder content_holder, ApplicationData app_data, InputStream in)
           
private  void writeObject(ObjectOutputStream output_stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFSIZ

private static final int BUFSIZ
See Also:
Constant Field Values

contentHolder

ContentHolder contentHolder

appData

ApplicationData appData

in

private InputStream in

consumed

private transient boolean consumed

upload

private transient boolean upload
Constructor Detail

ContentUpdater

public ContentUpdater(ContentHolder content_holder,
                      ApplicationData app_data,
                      InputStream in)
Method Detail

getUpdateResult

public ApplicationData getUpdateResult()

readObject

private void readObject(ObjectInputStream input_stream)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

updateContent

private ApplicationData updateContent(ContentHolder content_holder,
                                      ApplicationData app_data,
                                      InputStream in)
                               throws WTException,
                                      PropertyVetoException,
                                      IOException
Throws:
WTException
PropertyVetoException
IOException

writeObject

private void writeObject(ObjectOutputStream output_stream)
                  throws IOException
Throws:
IOException