|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.sdklib.util.LineUtil
public abstract class LineUtil
| Constructor Summary | |
|---|---|
LineUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
reflowLine(java.lang.String line)
Reformats a line so that it fits in 78 characters max. |
static java.lang.String |
reformatLine(java.lang.String format,
java.lang.Object... params)
Formats the string using String.format(String, Object...)
and then returns the result of reflowLine(String). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineUtil()
| Method Detail |
|---|
public static java.lang.String reflowLine(java.lang.String line)
line - The line to reflow. Must be non-null.
public static java.lang.String reformatLine(java.lang.String format,
java.lang.Object... params)
String.format(String, Object...)
and then returns the result of reflowLine(String).
format - The string format.params - The parameters for the string format.
reflowLine(String) on the formatted string.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||