public class SMailConventionReceptionist extends Object implements SMailReceptionist
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static List<String> |
allowedPrefixList |
protected String |
classpathBasePath |
static String |
COMMENT_BEGIN |
static String |
COMMENT_END |
protected static String |
CR |
protected static String |
CRLF |
protected SMailDynamicTextAssist |
dynamicTextAssist |
protected static String |
LF |
static String |
META_DELIMITER |
static String |
OPTION_LABEL |
static Set<String> |
optionSet |
static String |
PLUS_HTML_OPTION |
static String |
PROPDEF_PREFIX |
protected SMailReceiverLocaleAssist |
receiverLocaleAssist |
protected SMailConventionSecurity |
security |
static String |
SUBJECT_LABEL |
protected Map<String,String> |
textCacheMap |
protected org.dbflute.helper.filesystem.FileTextIO |
textIO |
static String |
TITLE_BEGIN |
static String |
TITLE_END |
| コンストラクタと説明 |
|---|
SMailConventionReceptionist() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
accept(Postcard postcard) |
protected void |
acceptDynamicProperty(Postcard postcard,
String bodyFile,
boolean filesystem,
org.dbflute.optional.OptionalThing<Locale> receiverLocale,
Object dynamicData) |
protected String |
adjustClasspathBasePath(String path) |
protected void |
analyzeBodyMeta(Postcard postcard,
String bodyFile,
String plainText) |
SMailConventionReceptionist |
asClasspathBase(String classpathBasePath) |
SMailConventionReceptionist |
asDynamicText(SMailDynamicTextAssist dynamicTextAssist) |
SMailConventionReceptionist |
asReceiverLocale(SMailReceiverLocaleAssist receiverLocaleAssist) |
protected void |
assertPlainBodyExistsForDirectBody(Postcard postcard) |
protected org.dbflute.optional.OptionalThing<String> |
assistDynamicText(Postcard postcard,
String templatePath,
boolean html,
boolean filesystem,
org.dbflute.optional.OptionalThing<Locale> receiverLocale,
Object dynamicData) |
protected void |
checkPostcardFirst(Postcard postcard) |
protected SMailConventionSecurity |
createConventionSecurity() |
protected org.dbflute.helper.filesystem.FileTextIO |
createFileTextIO() |
protected String |
deriveHtmlFilePath(String bodyFile) |
protected org.dbflute.optional.OptionalThing<String> |
deriveLocaleFilePath(String path,
Locale locale) |
protected String |
doReadText(Postcard postcard,
String path,
boolean filesystem,
org.dbflute.optional.OptionalThing<Locale> receiverLocale) |
protected org.dbflute.optional.OptionalThing<InputStream> |
findLocaleFileResourceStream(String path,
Locale locale) |
protected InputStream |
findMainFileResourceStream(Postcard postcard,
String path) |
protected String |
generateCacheKey(String path,
boolean filesystem,
org.dbflute.optional.OptionalThing<Locale> receiverLocale) |
protected void |
officeManagedLogging(Postcard postcard,
String bodyFile,
org.dbflute.optional.OptionalThing<Locale> receiverLocale) |
protected org.dbflute.optional.OptionalThing<Object> |
prepareDynamicData(Postcard postcard,
String bodyFile,
boolean filesystem,
org.dbflute.optional.OptionalThing<Locale> receiverLocale) |
protected org.dbflute.optional.OptionalThing<Locale> |
prepareReceiverLocale(Postcard postcard) |
protected String |
readText(Postcard postcard,
String path,
boolean html,
boolean filesystem,
org.dbflute.optional.OptionalThing<Locale> receiverLocale,
org.dbflute.optional.OptionalThing<Object> dynamicData) |
protected void |
readyPostcardFirst(Postcard postcard) |
protected void |
stopDirectlyEntityVariable(Postcard postcard,
String key,
Object value) |
protected void |
throwBodyMetaDescriptionCommentNotFoundException(String bodyFile,
String plainText) |
protected void |
throwBodyMetaHeaderCommentEndMarkNoIndependentException(String bodyFile,
String plainText) |
protected void |
throwBodyMetaHeaderCommentEndMarkNotFoundException(String bodyFile,
String plainText,
String meta) |
protected void |
throwBodyMetaNoIndependentDelimiterException(String bodyFile,
String plainText) |
protected void |
throwBodyMetaNotStartWithHeaderCommentException(String bodyFile,
String plainText,
String meta) |
protected void |
throwBodyMetaSubjectNotFoundException(String bodyFile,
String plainText) |
protected void |
throwBodyMetaTitleCommentNotFoundException(String bodyFile,
String plainText) |
protected void |
throwBodyMetaUnknownLineException(String bodyFile,
String plainText,
String line) |
protected void |
throwBodyMetaUnknownOptionException(String bodyFile,
String fileText,
String option) |
protected void |
throwDirectlyEntityVariableNotAllowedException(Postcard postcard,
String key,
Object value) |
protected void |
throwMailFromAddressNotFoundException(Postcard postcard) |
protected void |
throwMailHtmlTemplateTextCannotContainHeaderDelimiterException(String htmlFilePath,
String readHtml) |
protected void |
throwMailTemplateFromClasspathNotFoundException(Postcard postcard,
String path,
String realPath) |
String |
toString() |
protected void |
verifyFormat(String bodyFile,
String plainText,
String delimiter) |
protected void |
verifyMailHtmlTemplateTextFormat(String htmlFilePath,
String readHtml) |
void |
workingDispose() |
protected String classpathBasePath
protected SMailDynamicTextAssist dynamicTextAssist
protected SMailReceiverLocaleAssist receiverLocaleAssist
protected final org.dbflute.helper.filesystem.FileTextIO textIO
protected final SMailConventionSecurity security
protected org.dbflute.helper.filesystem.FileTextIO createFileTextIO()
protected SMailConventionSecurity createConventionSecurity()
public SMailConventionReceptionist asClasspathBase(String classpathBasePath)
public SMailConventionReceptionist asDynamicText(SMailDynamicTextAssist dynamicTextAssist)
public SMailConventionReceptionist asReceiverLocale(SMailReceiverLocaleAssist receiverLocaleAssist)
public void accept(Postcard postcard)
accept インタフェース内 SMailReceptionistprotected void readyPostcardFirst(Postcard postcard)
protected void checkPostcardFirst(Postcard postcard)
protected void stopDirectlyEntityVariable(Postcard postcard, String key, Object value)
protected void throwDirectlyEntityVariableNotAllowedException(Postcard postcard, String key, Object value)
protected org.dbflute.optional.OptionalThing<Locale> prepareReceiverLocale(Postcard postcard)
protected org.dbflute.optional.OptionalThing<Object> prepareDynamicData(Postcard postcard, String bodyFile, boolean filesystem, org.dbflute.optional.OptionalThing<Locale> receiverLocale)
protected void acceptDynamicProperty(Postcard postcard, String bodyFile, boolean filesystem, org.dbflute.optional.OptionalThing<Locale> receiverLocale, Object dynamicData)
protected void officeManagedLogging(Postcard postcard, String bodyFile, org.dbflute.optional.OptionalThing<Locale> receiverLocale)
protected void assertPlainBodyExistsForDirectBody(Postcard postcard)
protected void throwMailFromAddressNotFoundException(Postcard postcard)
protected String readText(Postcard postcard, String path, boolean html, boolean filesystem, org.dbflute.optional.OptionalThing<Locale> receiverLocale, org.dbflute.optional.OptionalThing<Object> dynamicData)
protected org.dbflute.optional.OptionalThing<String> assistDynamicText(Postcard postcard, String templatePath, boolean html, boolean filesystem, org.dbflute.optional.OptionalThing<Locale> receiverLocale, Object dynamicData)
protected String generateCacheKey(String path, boolean filesystem, org.dbflute.optional.OptionalThing<Locale> receiverLocale)
protected String doReadText(Postcard postcard, String path, boolean filesystem, org.dbflute.optional.OptionalThing<Locale> receiverLocale)
protected org.dbflute.optional.OptionalThing<InputStream> findLocaleFileResourceStream(String path, Locale locale)
protected InputStream findMainFileResourceStream(Postcard postcard, String path)
protected org.dbflute.optional.OptionalThing<String> deriveLocaleFilePath(String path, Locale locale)
protected void throwMailTemplateFromClasspathNotFoundException(Postcard postcard, String path, String realPath)
protected void analyzeBodyMeta(Postcard postcard, String bodyFile, String plainText)
public void workingDispose()
workingDispose インタフェース内 SMailReceptionistprotected void throwBodyMetaNoIndependentDelimiterException(String bodyFile, String plainText)
protected void throwBodyMetaNotStartWithHeaderCommentException(String bodyFile, String plainText, String meta)
protected void throwBodyMetaHeaderCommentEndMarkNotFoundException(String bodyFile, String plainText, String meta)
protected void throwBodyMetaTitleCommentNotFoundException(String bodyFile, String plainText)
protected void throwBodyMetaDescriptionCommentNotFoundException(String bodyFile, String plainText)
protected void throwBodyMetaHeaderCommentEndMarkNoIndependentException(String bodyFile, String plainText)
protected void throwBodyMetaSubjectNotFoundException(String bodyFile, String plainText)
protected void throwBodyMetaUnknownLineException(String bodyFile, String plainText, String line)
protected void throwBodyMetaUnknownOptionException(String bodyFile, String fileText, String option)
protected void verifyMailHtmlTemplateTextFormat(String htmlFilePath, String readHtml)
protected void throwMailHtmlTemplateTextCannotContainHeaderDelimiterException(String htmlFilePath, String readHtml)
Copyright © 2015–2020 The DBFlute Project. All rights reserved.