PageSettings

Inheritance: java.lang.Object

public class PageSettings

The settings for the ImapClient.ListMessagesByPage method

Constructors

Constructor Description
PageSettings()

Methods

Method Description
getConnection() Connection to a server.
setConnection(IConnection value) Connection to a server.
getIgnoreExceptions() If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions.
setIgnoreExceptions(boolean value) If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions.
getFolderName() The messages folder
setFolderName(String value) The messages folder
getAscendingSorting() Gets or sets value which indicates if client uses ascending or descending sorting.
setAscendingSorting(boolean value) Gets or sets value which indicates if client uses ascending or descending sorting.

PageSettings()

public PageSettings()

getConnection()

public final IConnection getConnection()

Connection to a server.

Returns: IConnection

setConnection(IConnection value)

public final void setConnection(IConnection value)

Connection to a server.

Parameters:

Parameter Type Description
value IConnection

getIgnoreExceptions()

public final boolean getIgnoreExceptions()

If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions.

Returns: boolean

setIgnoreExceptions(boolean value)

public final void setIgnoreExceptions(boolean value)

If the property is set to true, exceptions that occur during message processing will be caught and placed in the ImapPageInfo.Items.Exceptions.

Parameters:

Parameter Type Description
value boolean

getFolderName()

public final String getFolderName()

The messages folder

Returns: java.lang.String

setFolderName(String value)

public final void setFolderName(String value)

The messages folder

Parameters:

Parameter Type Description
value java.lang.String

getAscendingSorting()

public final boolean getAscendingSorting()

Gets or sets value which indicates if client uses ascending or descending sorting. Set true if you want to use ascending sorting, otherwise set false.

Returns: boolean

setAscendingSorting(boolean value)

public final void setAscendingSorting(boolean value)

Gets or sets value which indicates if client uses ascending or descending sorting. Set true if you want to use ascending sorting, otherwise set false.

Parameters:

Parameter Type Description
value boolean