public class ContentInfo extends Object
History:
1.0 Initial Version for SAP NetWeaver 1.1 Added a pattern for clean test. 1.5 Enhancements in the native VSI layer 1.6 Dual runtime support (JAVA stand-alone and J2EE) 1.7 Added scanStream methods and support ActiveContent scan 1.8 Added for Content filtering support 1.9 Minor bug fixes and new vendor parameters
Instance.getContentInfo()
,
Instance.setParameter(Parameter)
,
Instance.setDefaultConfig()
Constructor and Description |
---|
ContentInfo(String extension,
String contentType)
Constructor of class
|
ContentInfo(String extension,
String contentType,
String objectName)
Constructor of class
|
ContentInfo(String extension,
String contentType,
String objectName,
long objectSize)
Constructor of class
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object objB)
Check if equals
|
String |
getContentType()
Get the processed file's content type.
|
String |
getExtension()
Get the processed files extension.
|
String |
getObjectName()
Get the processed file's name.
|
long |
getObjectSize()
Get the processed file's length.
|
int |
hashCode() |
String |
toString()
Convert to String, format extension
;
content type. |
public ContentInfo(String extension, String contentType, String objectName, long objectSize)
extension
- the extension of the processed filecontentType
- the content type (MIME type) detectedobjectName
- the name of the processed fileobjectSize
- the size of the processed filepublic ContentInfo(String extension, String contentType, String objectName)
extension
- the extension of the processed filecontentType
- the content type (MIME type) detectedobjectName
- the name of the processed filepublic String getExtension()
public String getContentType()
public String getObjectName()
public long getObjectSize()
public String toString()
;
content type.toString
in class Object
Object.toString()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/vsi/api
|
api
|
BC-JAS-SEC
|
[sap.com] J2EE-APPS
|
[sap.com]
|
-
|
BC-SEC-VIR
|
[sap.com] J2EE-APPS
|
[sap.com]
|
default
|
BC-SEC-VIR
|
Copyright 2018 SAP AG Complete Copyright Notice