SpreadsheetContentTypePackage
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage
public class SpreadsheetContentTypePackage extends CustomPackage
Represents a metadata package containing spreadsheet content type properties.
| Method | Description |
|---|---|
| set(String propertyName, String propertyValue) | Adds or replaces the content type property with the specified name. |
| set(String propertyName, String propertyValue, String propertyType) | Adds or replaces the content type property with the specified name. |
| remove(String propertyName) | Removes the content type property with the specified name. |
| clear() | Removes all writable metadata properties. |
| toList() | Creates a list from the package. |
public final void set(String propertyName, String propertyValue)
Adds or replaces the content type property with the specified name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| propertyName | java.lang.String | The property name. |
| propertyValue | java.lang.String | The property value. |
public final void set(String propertyName, String propertyValue, String propertyType)
Adds or replaces the content type property with the specified name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| propertyName | java.lang.String | The property name. |
| propertyValue | java.lang.String | The property value. |
| propertyType | java.lang.String | The property type. |
public final boolean remove(String propertyName)
Removes the content type property with the specified name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| propertyName | java.lang.String | The name of the content type property to be removed. |
Returns: boolean - true if the property is found and deleted; otherwise false .
public final void clear()
Removes all writable metadata properties.
public final IReadOnlyList<SpreadsheetContentTypeProperty> toList()
Creates a list from the package.
Returns: IReadOnlyList - A list that contains properties from the package.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.