|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.sampleApp.util.Utilities
public class Utilities
Constructor Summary | |
---|---|
Utilities()
|
Method Summary | |
---|---|
static String |
fillLeft(String str,
int size)
Formats the given string in a number of fixed characters |
static String |
fillLeft(String str,
int size,
String fillPattern)
Formats the given string in a number of fixed characters |
static String |
fillRight(String str,
int size)
Formats the given string in a number of fixed characters |
static String |
fillRight(String str,
int size,
String fillPattern)
Formats the given string in a number of fixed characters |
static String |
logMemoryMessage()
Logs the current memory usage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utilities()
Method Detail |
---|
public static String logMemoryMessage()
public static String fillRight(String str, int size)
str
- the string to formatsize
- the size to obtain
public static String fillRight(String str, int size, String fillPattern)
str
- the string to formatsize
- the size to obtainfillPattern
- the pattern string to use for filling
public static String fillLeft(String str, int size)
str
- the string to formatsize
- the size to obtain
public static String fillLeft(String str, int size, String fillPattern)
str
- the string to formatsize
- the size to obtainfillPattern
- the pattern string to use for filling
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |