net.ultrametrics.rcs
Class  DataFormatter
java.lang.Object
  |
  +--net.ultrametrics.rcs.DataFormatter
- public class DataFormatter
- extends java.lang.Object
  
Helper class to convert RCS objects into more manipulable or 
 displayable strings.
| 
Field Summary | 
static java.lang.String | 
_rcsId
 
            | 
 
 
| 
Method Summary | 
static java.lang.String | 
pad(int length)
 
          Create a pad string of the specified length. | 
static java.lang.String | 
padded(java.lang.String string,
       int length)
 
          Create a padded string. | 
static java.lang.String | 
toSummaryString(java.lang.Object o)
 
          Convert an RCS object into a compact one-line summary string. | 
 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
 
_rcsId
public static final java.lang.String _rcsId
DataFormatter
public DataFormatter()
toSummaryString
public static java.lang.String toSummaryString(java.lang.Object o)
- Convert an RCS object into a compact one-line summary string.
- Parameters:
 o - an object.- Returns:
 - a short string summarizing the object.
 
 
 
pad
public static java.lang.String pad(int length)
- Create a pad string of the specified length.
- Parameters:
 length - the length of the padded string.- Returns:
 - the padded string.
 
 
 
padded
public static java.lang.String padded(java.lang.String string,
                                      int length)
- Create a padded string.
- Parameters:
 string - the string to pad.length - the length of the padded string.- Returns:
 - the padded string.