YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.yxc.YxcNames Class Reference

Names that come from the network, made fit for one line of text. More...

Collaboration diagram for de.yaacc.yxc.YxcNames:
Collaboration graph

Static Public Member Functions

static String clean (String raw)
 Control and format characters (line breaks, bidi overrides) are dropped, the length is capped.
 
static String clean (String raw, int maxChars)
 Same with another length cap (maxChars of text, then an ellipsis).
 

Static Public Attributes

static final int MAX_NAME_CHARS = 48
 The longest name shown; a device can send much more.
 
static final int MAX_TEXT_CHARS = 120
 The longest text of a "now playing" line (a station and a stream title are longer than a name).
 

Detailed Description

Names that come from the network, made fit for one line of text.

Member Function Documentation

◆ clean()

static String de.yaacc.yxc.YxcNames.clean ( String raw)
static

Control and format characters (line breaks, bidi overrides) are dropped, the length is capped.

Returns
the cleaned text, null when nothing is left

Referenced by de.yaacc.yxc.YxcNames.clean().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: