OutlookViewInfo
All Implemented Interfaces: com.groupdocs.viewer.results.ViewInfo
public interface OutlookViewInfo extends ViewInfo
Represents view information for an Outlook Data file.
The OutlookViewInfo interface defines the contract for accessing and manipulating view information for an Outlook Data file in the GroupDocs.Viewer component. It provides methods to retrieve information such as a list of folders, and other properties.
Example usage:
try (Viewer viewer = new Viewer("document.pst")) {
final OutlookViewInfo viewInfo = (OutlookViewInfo) viewer.getViewInfo(ViewInfoOptions.forHtmlView());
// Use the viewInfo object for further operations
}
Note: The default implementation of this interface is OutlookViewInfoImpl.
Methods
Method | Description |
---|---|
getFolders() | Retrieves the list of folders contained in the Outlook Data file. |
setFolders(List |
Sets the list of folders contained in the Outlook Data file. |
getFolders()
public abstract List<String> getFolders()
Retrieves the list of folders contained in the Outlook Data file.
Returns: java.util.List<java.lang.String> - the list of folders.
setFolders(List list)
public abstract void setFolders(List<String> list)
Sets the list of folders contained in the Outlook Data file.
Parameters:
Parameter | Type | Description |
---|---|---|
list | java.util.List<java.lang.String> | the list of folders. |