|
Cytoscape 2.6.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcytoscape.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 |
|---|
equals, 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.
|
www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||