org.apache.maven.continuum.notification.mail
Class FormatterTool

java.lang.Object
  extended by org.apache.maven.continuum.notification.mail.FormatterTool

public class FormatterTool
extends Object

Version:
$Id: FormatterTool.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Trygve Laugstøl

Constructor Summary
FormatterTool(String timestampFormatString)
           
 
Method Summary
 String formatInterval(long start, long end)
           
 String formatProjectState(int state)
           
 String formatTimestamp(long timestamp)
           
 String formatTrigger(int trigger)
           
 String trim(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterTool

public FormatterTool(String timestampFormatString)
Method Detail

formatProjectState

public String formatProjectState(int state)

formatTrigger

public String formatTrigger(int trigger)

formatTimestamp

public String formatTimestamp(long timestamp)

formatInterval

public String formatInterval(long start,
                             long end)

trim

public String trim(String str)


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.