de.novanic.eventservice.util
Class PlatformUtil

java.lang.Object
  extended by de.novanic.eventservice.util.PlatformUtil

public final class PlatformUtil
extends java.lang.Object

Utility class to ensure the platform independency.

Author:
sstrohschein
Date: 11.01.2009
Time: 15:27:04

Method Summary
static long getCurrentTime()
          Returns the current time in milliseconds.
static java.lang.String getNewLine()
          Returns the new line character for the corresponding platform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNewLine

public static java.lang.String getNewLine()
Returns the new line character for the corresponding platform.

Returns:
new line character

getCurrentTime

public static long getCurrentTime()
Returns the current time in milliseconds.

Returns:
current time in milliseconds