rero.util

Class ClientUtils

public class ClientUtils extends Object

Method Summary
static StringBuildCP437String(String text)
static intctime()
static voiddump2(HashMap data)
static StringencodeFont(Font value)
static LinkedListfileCompleteAll(String pfile)
static StringformatBytes(long bytes)
static StringformatLongAsDecimal(long l)
static StringformatTime(long seconds)
static StringformatTime2(long secs)
static StringformatTime3(long secs)
static StringgenerateThemeScript(String name)
static HashMapgetEventHashMap(String target, String parms)
static FilegetFile(String file)
static JFramegetFrameForComponent(JComponent c)
static StringintToDay(int d)
static StringintToMonth(int m)
static voidinvokeLater(Runnable doIt)
static booleanisChannel(String target)
static booleanisNumeric(String n)
static Stringlongip(String l)
static Stringmask(String address, int type)
static voidopenURL(String location)
static voidremoveAll(Collection source, Set remove)
static Stringstrip(String text)
static StringShowVersion()
static Stringtagline()
static StringTimeDateStamp(long l)
static StringTimeStamp()

Method Detail

BuildCP437String

public static String BuildCP437String(String text)

ctime

public static int ctime()

dump2

public static void dump2(HashMap data)

encodeFont

public static String encodeFont(Font value)

fileCompleteAll

public static LinkedList fileCompleteAll(String pfile)

formatBytes

public static String formatBytes(long bytes)

formatLongAsDecimal

public static String formatLongAsDecimal(long l)

formatTime

public static String formatTime(long seconds)

formatTime2

public static String formatTime2(long secs)

formatTime3

public static String formatTime3(long secs)

generateThemeScript

public static String generateThemeScript(String name)

getEventHashMap

public static HashMap getEventHashMap(String target, String parms)

getFile

public static File getFile(String file)

getFrameForComponent

public static JFrame getFrameForComponent(JComponent c)

intToDay

public static String intToDay(int d)

intToMonth

public static String intToMonth(int m)

invokeLater

public static void invokeLater(Runnable doIt)

isChannel

public static boolean isChannel(String target)

isNumeric

public static boolean isNumeric(String n)

longip

public static String longip(String l)

mask

public static String mask(String address, int type)

openURL

public static void openURL(String location)

removeAll

public static void removeAll(Collection source, Set remove)

strip

public static String strip(String text)

ShowVersion

public static String ShowVersion()

tagline

public static String tagline()

TimeDateStamp

public static String TimeDateStamp(long l)

TimeStamp

public static String TimeStamp()