public class DefaultImapEncoderFactory extends Object implements ImapEncoderFactory
| Constructor and Description |
|---|
DefaultImapEncoderFactory() |
DefaultImapEncoderFactory(Localizer localizer,
boolean neverAddBodyStructureExtensions)
Constructs the default factory for encoders
|
| Modifier and Type | Method and Description |
|---|---|
ImapEncoder |
buildImapEncoder() |
static ImapEncoder |
createDefaultEncoder(Localizer localizer,
boolean neverAddBodyStructureExtensions)
Builds the default encoder
|
public DefaultImapEncoderFactory()
public DefaultImapEncoderFactory(Localizer localizer, boolean neverAddBodyStructureExtensions)
localizer - not nullneverAddBodyStructureExtensions - true to activate a workaround for broken clients who cannot
parse BODYSTRUCTURE extensions, false to fully support RFC3501public static final ImapEncoder createDefaultEncoder(Localizer localizer, boolean neverAddBodyStructureExtensions)
localizer - not nullneverAddBodyStructureExtensions - true to activate a workaround for broken clients who cannot
parse BODYSTRUCTURE extensions, false to fully support RFC3501public ImapEncoder buildImapEncoder()
buildImapEncoder in interface ImapEncoderFactoryImapEncoderFactory.buildImapEncoder()Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.