org.homeunix.thecave.moss.util
Class Formatter.StringLengthFormat

java.lang.Object
  extended by org.homeunix.thecave.moss.util.Formatter.StringLengthFormat
Enclosing class:
Formatter

public static class Formatter.StringLengthFormat
extends java.lang.Object

A formatter-style class which cuts strings off after a given length.

Author:
wyatt

Constructor Summary
Formatter.StringLengthFormat()
           
 
Method Summary
 java.lang.String format(java.lang.Object o)
           
 int getLength()
           
 void setLength(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Formatter.StringLengthFormat

public Formatter.StringLengthFormat()
Method Detail

format

public java.lang.String format(java.lang.Object o)

getLength

public int getLength()

setLength

public void setLength(int length)