javax.mail.Session#getDebug ( )源码实例Demo

下面列出了javax.mail.Session#getDebug ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: FairEmail   文件: MailLogger.java
/**
    * Construct a new MailLogger using the specified Logger name and
    * debug prefix (e.g., "DEBUG").  Get the debug flag and PrintStream
    * from the Session.
    *
    * @param	name	the Logger name
    * @param	prefix	the prefix for debug output, or null for none
    * @param	session	where to get the debug flag and PrintStream
    */
   @Deprecated
   public MailLogger(String name, String prefix, Session session) {
this(name, prefix, session.getDebug(), session.getDebugOut());
   }
 
源代码2 项目: FairEmail   文件: MailLogger.java
/**
    * Construct a new MailLogger using the specified class' package
    * name as the Logger name and the specified
    * debug prefix (e.g., "DEBUG").  Get the debug flag and PrintStream
    * from the Session.
    *
    * @param	clazz	the Logger name is the package name of this class
    * @param	prefix	the prefix for debug output, or null for none
    * @param	session	where to get the debug flag and PrintStream
    */
   @Deprecated
   public MailLogger(Class<?> clazz, String prefix, Session session) {
this(clazz, prefix, session.getDebug(), session.getDebugOut());
   }