wt.content
Class ContentHTTPStream

java.lang.Object
  extended bywt.content.ContentHTTPStream

public class ContentHTTPStream
extends Object

Deprecation Notice: This class is still valid for this release, however this serves as advance notice that it will be removed in the future. All user interfaces built using the Windchill HTML Template Processing client architecture will be rewritten using a different framework in an upcoming release. This class works with the FormProcessor to break up data that comes up in an HTML page. Note that all the content needs to come up between 2 hidden fields.

<INPUT TYPE="hidden" VALUE="BeginContent" >

<INPUT TYPE="hidden" VALUE="EndContent" >

The template for this is in templates/content/holderUpload.html and the table is generated by ContentHtml.class.

Supported API: false

Extendable: false

See Also:
"'Customizing the HTML Client' in 'Customizer's Guide'", ContentHtml

Field Summary
private static String CONTENT_TYPE_HDR
          Deprecated.  
private static boolean DEBUG
          Deprecated.  
static String FILE_NAME
          Deprecated. 

Supported API: true
static String FILE_SIZE_CCS
          Deprecated.  
private static String FILENAME_HDR
          Deprecated.  
static String FOLDER_ID_CCS
          Deprecated.  
static String FORMAT_NAME
          Deprecated.  
static String MUST_CREATE_FILE_ID_CCS
          Deprecated.  
private static String NAME_HDR
          Deprecated.  
(package private)  ObjectIdentifier nextObjectId
          Deprecated.  
private  boolean nextObjNew
          Deprecated.  
private  boolean nextObjNull
          Deprecated.  
private  boolean nextObjURL
          Deprecated.  
(package private)  Properties objectProperties
          Deprecated.  
private  Hashtable remainingFormData
          Deprecated.  
private static String RESOURCE
          Deprecated.  
private  MPInputStreamIfc stream
          Deprecated.  
static String STREAM_ID_CCS
          Deprecated.  
static String UPLOADED_FROM
          Deprecated. 

Supported API: true
static String UPLOADED_TO_CCS
          Deprecated.  
static String URL_LOCATION
          Deprecated.  
private static boolean VALID_EMPTY_FILE
          Deprecated.  
 
Constructor Summary
ContentHTTPStream(MPInputStream mis)
          Deprecated.  
ContentHTTPStream(MPInputStreamIfc mis)
          Deprecated.  
 
Method Summary
 Properties getRemainingFormData()
          Deprecated.  
 Properties getRemainingFormData(Locale locale)
          Deprecated.  
 Hashtable getRemainingFormDataMultivalue()
          Deprecated.  
 Hashtable getRemainingFormDataMultivalue(Locale locale)
          Deprecated.  
 boolean hasMoreObjects()
          Deprecated. 

Supported API: true
 InputStream nextFileStream()
          Deprecated. 

Supported API: true
 ObjectIdentifier nextObjectId()
          Deprecated.  
 boolean nextObjEmpty()
          Deprecated. 

Supported API: true
 boolean nextObjNew()
          Deprecated.  
 Properties nextObjProperties()
          Deprecated. 

Supported API: true
 boolean nextObjURL()
          Deprecated. 

Supported API: true
private static void PP(String message)
          Deprecated. private internal methods ...
private static void put(Hashtable props, String key, String value)
          Deprecated. Put the specified value in the Hashtable with the specified key, unless the key is already in use, in which case, add the value to a Vector stored under the same key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stream

private MPInputStreamIfc stream
Deprecated. 

objectProperties

Properties objectProperties
Deprecated. 

nextObjectId

ObjectIdentifier nextObjectId
Deprecated. 

nextObjNew

private boolean nextObjNew
Deprecated. 

nextObjNull

private boolean nextObjNull
Deprecated. 

nextObjURL

private boolean nextObjURL
Deprecated. 

remainingFormData

private Hashtable remainingFormData
Deprecated. 

CONTENT_TYPE_HDR

private static final String CONTENT_TYPE_HDR
Deprecated. 
See Also:
Constant Field Values

FILENAME_HDR

private static final String FILENAME_HDR
Deprecated. 
See Also:
Constant Field Values

NAME_HDR

private static final String NAME_HDR
Deprecated. 
See Also:
Constant Field Values

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

FILE_NAME

public static final String FILE_NAME
Deprecated. 


Supported API: true

See Also:
Constant Field Values

URL_LOCATION

public static final String URL_LOCATION
Deprecated. 
See Also:
Constant Field Values

UPLOADED_FROM

public static final String UPLOADED_FROM
Deprecated. 


Supported API: true

See Also:
Constant Field Values

FORMAT_NAME

public static final String FORMAT_NAME
Deprecated. 
See Also:
Constant Field Values

UPLOADED_TO_CCS

public static final String UPLOADED_TO_CCS
Deprecated. 
See Also:
Constant Field Values

FILE_SIZE_CCS

public static final String FILE_SIZE_CCS
Deprecated. 
See Also:
Constant Field Values

FOLDER_ID_CCS

public static final String FOLDER_ID_CCS
Deprecated. 
See Also:
Constant Field Values

STREAM_ID_CCS

public static final String STREAM_ID_CCS
Deprecated. 
See Also:
Constant Field Values

MUST_CREATE_FILE_ID_CCS

public static final String MUST_CREATE_FILE_ID_CCS
Deprecated. 
See Also:
Constant Field Values

DEBUG

private static boolean DEBUG
Deprecated. 

VALID_EMPTY_FILE

private static boolean VALID_EMPTY_FILE
Deprecated. 
Constructor Detail

ContentHTTPStream

public ContentHTTPStream(MPInputStream mis)
Deprecated. 

ContentHTTPStream

public ContentHTTPStream(MPInputStreamIfc mis)
Deprecated. 
Method Detail

hasMoreObjects

public boolean hasMoreObjects()
                       throws WTException,
                              IOException
Deprecated. 


Supported API: true

Throws:
WTException
IOException

nextObjEmpty

public boolean nextObjEmpty()
Deprecated. 


Supported API: true


nextObjNew

public boolean nextObjNew()
Deprecated. 

nextObjURL

public boolean nextObjURL()
Deprecated. 


Supported API: true


nextObjectId

public ObjectIdentifier nextObjectId()
Deprecated. 

nextObjProperties

public Properties nextObjProperties()
Deprecated. 


Supported API: true


nextFileStream

public InputStream nextFileStream()
                           throws ContentException,
                                  IOException
Deprecated. 


Supported API: true

Throws:
ContentException
IOException

getRemainingFormData

public Properties getRemainingFormData(Locale locale)
                                throws IOException
Deprecated. 
Throws:
IOException

getRemainingFormData

public Properties getRemainingFormData()
                                throws IOException
Deprecated. 
Throws:
IOException

getRemainingFormDataMultivalue

public Hashtable getRemainingFormDataMultivalue(Locale locale)
                                         throws IOException
Deprecated. 
Throws:
IOException

getRemainingFormDataMultivalue

public Hashtable getRemainingFormDataMultivalue()
                                         throws IOException
Deprecated. 
Throws:
IOException

PP

private static void PP(String message)
Deprecated. 
private internal methods ...


put

private static void put(Hashtable props,
                        String key,
                        String value)
Deprecated. 
Put the specified value in the Hashtable with the specified key, unless the key is already in use, in which case, add the value to a Vector stored under the same key