public class NotificationStringifier extends Object implements Stringifier
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationStringifier.Options |
| Modifier and Type | Field and Description |
|---|---|
static NotificationStringifier |
DEFAULT |
protected NotificationStringifier.Options |
mOptions |
| Constructor and Description |
|---|
NotificationStringifier() |
NotificationStringifier(NotificationStringifier.Options options) |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuffer |
_stringify(Notification notif) |
protected void |
append(StringBuffer b,
Object o) |
String |
stringify(Object o)
Produce a String representation of an object.
|
static String |
toString(Object o) |
public static final NotificationStringifier DEFAULT
protected NotificationStringifier.Options mOptions
public NotificationStringifier()
public NotificationStringifier(NotificationStringifier.Options options)
protected void append(StringBuffer b, Object o)
public String stringify(Object o)
StringifierThe resulting String should be suitable for display to a user.
stringify in interface Stringifiero - the Object for which a String should be producedprotected StringBuffer _stringify(Notification notif)
Copyright © 2017. All rights reserved.