Package com.independentsoft.office
Class ContentTypeTable
java.lang.Object
com.independentsoft.office.ContentTypeTable
The Class ContentTypeTable.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new content type table.ContentTypeTable(byte[] buffer)Instantiates a new content type table. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the default content types.getExtension(String contentType)Gets the extension.Gets the override content types.getPartName(String contentType)Gets the part name.String[]getPartNames(String contentType)Gets the part names.toString()
-
Constructor Details
-
ContentTypeTable
public ContentTypeTable()Instantiates a new content type table. -
ContentTypeTable
Instantiates a new content type table.- Parameters:
buffer- the buffer- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getExtension
Gets the extension.- Parameters:
contentType- the content type- Returns:
- the extension
-
getPartName
Gets the part name.- Parameters:
contentType- the content type- Returns:
- the part name
-
getPartNames
Gets the part names.- Parameters:
contentType- the content type- Returns:
- the part names
-
clone
-
toString
-
getDefaultContentTypes
Gets the default content types.- Returns:
- the default content types
-
getOverrideContentTypes
Gets the override content types.- Returns:
- the override content types
-