|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sap.tc.webdynpro.services.sal.url.api.WDWebResourceType
Defines all needed constants for web resource types.
| Field Summary | |
static WDWebResourceType |
APPLET
Constant identifying an applet web resource type. |
static WDWebResourceType |
CSS
Constant identifying a css web resource type. |
static WDWebResourceType |
DOC
Constant identifying word files. |
static WDWebResourceType |
FLASH
Constant identifying a flash web resource type. |
static WDWebResourceType |
GIF_IMAGE
Constant identifying a gif web resource type. |
static WDWebResourceType |
HTML
Constant identifying an html web resource type. |
static WDWebResourceType |
JAVA
Constant identifying a Java web resource type. |
static WDWebResourceType |
JAVA_SCRIPT
Constant identifying a Java script web resource type. |
static WDWebResourceType |
JPG_IMAGE
Constant identifying a jpg web resource type. |
static WDWebResourceType |
PDF
Constant identifying a pdf web resource type. |
static WDWebResourceType |
PNG
Constant identifying a png web resource type. |
static WDWebResourceType |
PPT
Constant identifying powerpoints. |
static WDWebResourceType |
PS
Constant identifying post script files. |
static WDWebResourceType |
RTF
Constant identifying rich text files. |
static WDWebResourceType |
SVG
Constant identifying a svg web resource type. |
static WDWebResourceType |
TXT
Constant identifying a txt file. |
static WDWebResourceType |
UNKNOWN
Constant identifying unknown file. |
static WDWebResourceType |
VML
Constant identifying a vml web resource type. |
static WDWebResourceType |
WD_APPLICATION
Constant identifying a Web Dynpro application. |
static WDWebResourceType |
XLS
Constant identifying excel files. |
static WDWebResourceType |
XML
Constant identifying an xml web resource type. |
static WDWebResourceType |
XML_CONFIGURATION
Constant identifying a xml configuration file. |
| Constructor Summary | |
protected |
WDWebResourceType(java.lang.String fileExtension,
java.lang.String[] htmlMimes,
boolean isAttachment,
boolean addToContainer)
|
|
WDWebResourceType(java.lang.String fileExtension,
java.lang.String htmlMime,
boolean isAttachment)
Constructor for WDWebWDWebResourceType. |
protected |
WDWebResourceType(java.lang.String fileExtension,
java.lang.String htmlMime,
boolean isAttachment,
boolean addToContainer)
|
| Method Summary | |
java.lang.String |
getFileExtension()
Return is the file extension of the web resource type. |
java.lang.String |
getHtmlMime()
Return is the MIME type associated to the web resource type. |
static com.sap.tc.webdynpro.services.sal.util.cache.ResourceType |
getResourceTypeForFileExtentsion(java.lang.String fileExtension)
Deprecated. please use getWebResourceTypeForFileExtension This method has been kept for backward compatibility reasons only and may be withdrawn with the first new NetWeaver release in 2006. |
static com.sap.tc.webdynpro.services.sal.util.cache.ResourceType |
getResourceTypeForHtmlMime(java.lang.String htmlMime)
Deprecated. please use getWebResourceTypeForHtmlMime This method has been kept for backward compatibility reasons only and may be withdrawn with the first new NetWeaver release in 2006. |
static WDWebResourceType |
getWebResourceType(java.lang.String htmlMime,
java.lang.String fileExtension)
Method getWebResourceType: returns WDWebResourceType first searches WDWebResourceType for content stream (htmlMime) and then (if it was not found) searches for the fileExtension. |
static WDWebResourceType |
getWebResourceTypeForFileExtension(java.lang.String fileExtension)
Method getTypeForFileExtension: returns WDWebResourceType for given fileExtension, if a defined WDWebResourceType matches to fileExtension, else returns null |
static WDWebResourceType |
getWebResourceTypeForFileExtentsion(java.lang.String fileExtension)
Deprecated. The name of this method contained a typo, use getWebResourceTypeForFileExtension(String)
instead. The method with the old name has been kept for backward compatibility reasons
only and may be withdrawn with the first new NetWeaver release in 2006. |
static WDWebResourceType |
getWebResourceTypeForHtmlMime(java.lang.String htmlMime)
Method getTypeForHtmlMime: returns WDWebResourceType for given mimetype, if a defined WDWebResourceType matches to mimetype, else returns null |
boolean |
isAttachment()
Returns true if the web resource type is an HTTP attachement. |
| Field Detail |
public static final WDWebResourceType GIF_IMAGE
public static final WDWebResourceType JPG_IMAGE
public static final WDWebResourceType VML
public static final WDWebResourceType PNG
public static final WDWebResourceType SVG
public static final WDWebResourceType JAVA_SCRIPT
public static final WDWebResourceType XML
public static final WDWebResourceType CSS
public static final WDWebResourceType JAVA
public static final WDWebResourceType APPLET
public static final WDWebResourceType FLASH
public static final WDWebResourceType PDF
public static final WDWebResourceType HTML
public static final WDWebResourceType WD_APPLICATION
public static final WDWebResourceType XML_CONFIGURATION
public static final WDWebResourceType TXT
public static final WDWebResourceType UNKNOWN
public static final WDWebResourceType PPT
public static final WDWebResourceType RTF
public static final WDWebResourceType XLS
public static final WDWebResourceType DOC
public static final WDWebResourceType PS
| Constructor Detail |
protected WDWebResourceType(java.lang.String fileExtension,
java.lang.String htmlMime,
boolean isAttachment,
boolean addToContainer)
protected WDWebResourceType(java.lang.String fileExtension,
java.lang.String[] htmlMimes,
boolean isAttachment,
boolean addToContainer)
public WDWebResourceType(java.lang.String fileExtension,
java.lang.String htmlMime,
boolean isAttachment)
fileExtension - htmlMime - isAttachment - | Method Detail |
public static final WDWebResourceType getWebResourceTypeForFileExtentsion(java.lang.String fileExtension)
getWebResourceTypeForFileExtension(String)
instead. The method with the old name has been kept for backward compatibility reasons
only and may be withdrawn with the first new NetWeaver release in 2006.
fileExtension - public static final WDWebResourceType getWebResourceTypeForFileExtension(java.lang.String fileExtension)
fileExtension - public static final WDWebResourceType getWebResourceTypeForHtmlMime(java.lang.String htmlMime)
htmlMime -
public static final WDWebResourceType getWebResourceType(java.lang.String htmlMime,
java.lang.String fileExtension)
htmlMime - public static com.sap.tc.webdynpro.services.sal.util.cache.ResourceType getResourceTypeForFileExtentsion(java.lang.String fileExtension)
fileExtension - public static com.sap.tc.webdynpro.services.sal.util.cache.ResourceType getResourceTypeForHtmlMime(java.lang.String htmlMime)
htmlMime - public java.lang.String getHtmlMime()
public java.lang.String getFileExtension()
public boolean isAttachment()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||