org.apache.velocity.runtime.RuntimeSingleton.info()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(65)

本文整理了Java中org.apache.velocity.runtime.RuntimeSingleton.info方法的一些代码示例,展示了RuntimeSingleton.info的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RuntimeSingleton.info方法的具体详情如下:
包路径:org.apache.velocity.runtime.RuntimeSingleton
类名称:RuntimeSingleton
方法名:info

RuntimeSingleton.info介绍

暂无

代码示例

代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity

/**
 * Log an info message.
 *
 * @param message message to log
 */
public static void info(Object message)
{
  RuntimeSingleton.info( message );
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity

/**
 * Log an info message.
 *
 * @param message message to log
 */
public static void info(Object message)
{
  RuntimeSingleton.info( message );
}

代码示例来源:origin: velocity/velocity-dep

/**
 * Log an info message.
 *
 * @param Object message to log
 */
public static void info(Object message)
{
  RuntimeSingleton.info( message );
}

代码示例来源:origin: velocity/velocity-dep

/** 
 * Log an info message.
 *
 * @param Object message to log
 */
public static void info(Object message)
{
  RuntimeSingleton.info( message );
}

代码示例来源:origin: velocity/velocity-dep

/**
 * Assures that the results directory exists.  If the results directory
 * cannot be created, fails the test.
 */
protected static void assureResultsDirectoryExists (String resultsDirectory)
{
  File dir = new File(resultsDirectory);
  if (!dir.exists())
  {
    RuntimeSingleton.info("Template results directory does not exist");
    if (dir.mkdirs())
    {
      RuntimeSingleton.info("Created template results directory");
    }
    else
    {
      String errMsg = "Unable to create template results directory";
      RuntimeSingleton.warn(errMsg);
      fail(errMsg);
    }
  }
}

相关文章