|
YAACC - UPNP Client and Server
|
What a row of the shared folders tree needs, as plain data that was read on a worker thread: binding a row must never ask the file system or a document provider (with a DocumentFile every property is one more provider query).
More...

Public Member Functions | |
| TreeNodeData (String name, String path, boolean saf, boolean directory) | |
| String | getName () |
| String | getPath () |
| boolean | isSaf () |
| boolean | isDirectory () |
| String | toString () |
What a row of the shared folders tree needs, as plain data that was read on a worker thread: binding a row must never ask the file system or a document provider (with a DocumentFile every property is one more provider query).
Immutable, no Android types.
| de.yaacc.upnp.server.configuration.TreeNodeData.TreeNodeData | ( | String | name, |
| String | path, | ||
| boolean | saf, | ||
| boolean | directory ) |
| name | the text shown in the row |
| path | the absolute path of a file system node or the document uri of a SAF node - the string the media path preferences store |
| saf | a SAF document (otherwise a java.io.File) |
| directory | a folder (shows the check box and the expand symbol) |