|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.content.ContentHTTPStream
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
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 |
private MPInputStreamIfc stream
Properties objectProperties
ObjectIdentifier nextObjectId
private boolean nextObjNew
private boolean nextObjNull
private boolean nextObjURL
private Hashtable remainingFormData
private static final String CONTENT_TYPE_HDR
private static final String FILENAME_HDR
private static final String NAME_HDR
private static final String RESOURCE
public static final String FILE_NAME
public static final String URL_LOCATION
public static final String UPLOADED_FROM
public static final String FORMAT_NAME
public static final String UPLOADED_TO_CCS
public static final String FILE_SIZE_CCS
public static final String FOLDER_ID_CCS
public static final String STREAM_ID_CCS
public static final String MUST_CREATE_FILE_ID_CCS
private static boolean DEBUG
private static boolean VALID_EMPTY_FILE
Constructor Detail |
public ContentHTTPStream(MPInputStream mis)
public ContentHTTPStream(MPInputStreamIfc mis)
Method Detail |
public boolean hasMoreObjects() throws WTException, IOException
WTException
IOException
public boolean nextObjEmpty()
public boolean nextObjNew()
public boolean nextObjURL()
public ObjectIdentifier nextObjectId()
public Properties nextObjProperties()
public InputStream nextFileStream() throws ContentException, IOException
ContentException
IOException
public Properties getRemainingFormData(Locale locale) throws IOException
IOException
public Properties getRemainingFormData() throws IOException
IOException
public Hashtable getRemainingFormDataMultivalue(Locale locale) throws IOException
IOException
public Hashtable getRemainingFormDataMultivalue() throws IOException
IOException
private static void PP(String message)
private static void put(Hashtable props, String key, String value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |