rero.util
Class ClientUtils

java.lang.Object
  extended byrero.util.ClientUtils

public class ClientUtils
extends Object


Constructor Summary
ClientUtils()
           
 
Method Summary
static String BuildCP437String(String text)
           
static int ctime()
           
static void dump2(HashMap data)
           
static String encodeFont(Font value)
           
static LinkedList fileCompleteAll(String pfile)
           
static String formatBytes(long bytes)
           
static String formatLongAsDecimal(long l)
           
static String formatTime(long seconds)
           
static String formatTime2(long secs)
           
static String generateThemeScript(String name)
           
static HashMap getEventHashMap(String target, String parms)
           
static JFrame getFrameForComponent(JComponent c)
           
static String intToDay(int d)
           
static String intToMonth(int m)
           
static void invokeLater(Runnable doIt)
           
static boolean isChannel(String target)
           
static boolean isNumeric(String n)
           
static String longip(String l)
           
static String mask(String address, int type)
           
static void openURL(String location)
           
static void removeAll(Collection source, Set remove)
           
static String ShowVersion()
           
static String tagline()
           
static String TimeDateStamp(long l)
           
static String TimeStamp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientUtils

public ClientUtils()
Method Detail

invokeLater

public static void invokeLater(Runnable doIt)

getFrameForComponent

public static JFrame getFrameForComponent(JComponent c)

ShowVersion

public static String ShowVersion()

tagline

public static String tagline()

formatTime

public static String formatTime(long seconds)

formatTime2

public static String formatTime2(long secs)

formatBytes

public static String formatBytes(long bytes)

encodeFont

public static String encodeFont(Font value)

openURL

public static void openURL(String location)

mask

public static String mask(String address,
                          int type)

longip

public static String longip(String l)

TimeStamp

public static String TimeStamp()

getEventHashMap

public static HashMap getEventHashMap(String target,
                                      String parms)

TimeDateStamp

public static String TimeDateStamp(long l)

intToDay

public static String intToDay(int d)

isNumeric

public static boolean isNumeric(String n)

intToMonth

public static String intToMonth(int m)

isChannel

public static boolean isChannel(String target)

ctime

public static int ctime()

BuildCP437String

public static String BuildCP437String(String text)

dump2

public static void dump2(HashMap data)

formatLongAsDecimal

public static String formatLongAsDecimal(long l)

removeAll

public static void removeAll(Collection source,
                             Set remove)

generateThemeScript

public static String generateThemeScript(String name)

fileCompleteAll

public static LinkedList fileCompleteAll(String pfile)