OleDocumentFormat

Inheritance: java.lang.Object

public final class OleDocumentFormat

Represents the format for OLE document.

Constructors

Constructor Description
OleDocumentFormat(UUID guid) Initializes a new instance of the OleDocumentFormat class.

Methods

Method Description
equals(Object obj) Returns a value indicating whether this instance is equal to a specified object.
hashCode() Returns the hash code of this instance.
toString() Overridden.
getMicrosoftOutlookMessage() Microsoft outlook message format.
getAdobeAcrobatDocument() Adobe PDF format.
getMicrosoftOfficeExcelWorksheet() Microsoft office exccel format.
getMicrosoftOfficeWordDocument() Microsoft office word format.
getMicrosoftPowerPointPresentation() Microsoft power point format.
getPaintbrush() Paintbrush type.
getMicrosoftPhotoEditor() Microsoft Photo Editor type.
getPictureMetafile() Picture(Metafile) type.
getUnknown() Unknown type.

OleDocumentFormat(UUID guid)

public OleDocumentFormat(UUID guid)

Initializes a new instance of the OleDocumentFormat class.

Parameters:

Parameter Type Description
guid java.util.UUID The guid of the ole document.

equals(Object obj)

public boolean equals(Object obj)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:

Parameter Type Description
obj java.lang.Object The object to compare with this instance.

Returns: boolean - true if o is a System.Guid that has the same value as this instance; otherwise, false.

hashCode()

public int hashCode()

Returns the hash code of this instance.

Returns: int - The hash code for this instance.

toString()

public String toString()

Overridden. Returns a string representation of this instance.

Returns: java.lang.String - A string contains the mail addresse.

getMicrosoftOutlookMessage()

public static OleDocumentFormat getMicrosoftOutlookMessage()

Microsoft outlook message format.

Returns: OleDocumentFormat

getAdobeAcrobatDocument()

public static OleDocumentFormat getAdobeAcrobatDocument()

Adobe PDF format.

Returns: OleDocumentFormat

getMicrosoftOfficeExcelWorksheet()

public static OleDocumentFormat getMicrosoftOfficeExcelWorksheet()

Microsoft office exccel format.

Returns: OleDocumentFormat

getMicrosoftOfficeWordDocument()

public static OleDocumentFormat getMicrosoftOfficeWordDocument()

Microsoft office word format.

Returns: OleDocumentFormat

getMicrosoftPowerPointPresentation()

public static OleDocumentFormat getMicrosoftPowerPointPresentation()

Microsoft power point format.

Returns: OleDocumentFormat

getPaintbrush()

public static OleDocumentFormat getPaintbrush()

Paintbrush type.

Returns: OleDocumentFormat

getMicrosoftPhotoEditor()

public static OleDocumentFormat getMicrosoftPhotoEditor()

Microsoft Photo Editor type.

Returns: OleDocumentFormat

getPictureMetafile()

public static OleDocumentFormat getPictureMetafile()

Picture(Metafile) type.

Returns: OleDocumentFormat

getUnknown()

public static OleDocumentFormat getUnknown()

Unknown type.

Returns: OleDocumentFormat