|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.task.ui.StringUtils
public class StringUtils
Misc Utilities for Formatting Times and Strings.
Field Summary | |
---|---|
static String |
NOT_AVAILABLE_STR
Not Available String. |
static int |
STR_LENGTH
String Length. |
Constructor Summary | |
---|---|
StringUtils()
|
Method Summary | |
---|---|
static String |
getTimeString(long time)
Given a time value in milliseconds, this method returns a human readable representation. |
static String |
truncateOrPadString(String str)
Truncates a String to a specific length or pads it with extra spaces. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NOT_AVAILABLE_STR
public static final int STR_LENGTH
Constructor Detail |
---|
public StringUtils()
Method Detail |
---|
public static String getTimeString(long time)
time
- Time in millseconds.
public static String truncateOrPadString(String str)
str
- Original String.
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |