|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.content.type.ContentTypeFactory
public final class ContentTypeFactory
Content Type factory. This class provides methods for creating new instances of ContentType
objects.
Method Summary | |
---|---|
static ContentType |
createContentType(String[] extensions, String sealedExtension, String sealedMimeType, String[] mimeTypes, boolean expectOverwrites) Create a content type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ContentType createContentType(String[] extensions, String sealedExtension, String sealedMimeType, String[] mimeTypes, boolean expectOverwrites)
extensions
- unsealed file extensions. Absence of unsealed file extensions infers that the content type does not have an unsealed equivalent. e.g. sealed email. This parameter is optional, it is valid to pass null.sealedExtension
- corresponding sealed file extension.sealedMimeType
- sealed MIME type.mimeTypes
- the unsealed MIME types that correspond to the specified file extension(s). Absence of unsealed MIME types infers that the content type does not have an unsealed equivalent. e.g. sealed email. This parameter is optional, it is valid to pass null.expectOverwrites
- content format that supports edits.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |