YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.server.configuration.TreeNodeData Class Reference

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...

Collaboration diagram for de.yaacc.upnp.server.configuration.TreeNodeData:
Collaboration graph

Public Member Functions

 TreeNodeData (String name, String path, boolean saf, boolean directory)
 
String getName ()
 
String getPath ()
 
boolean isSaf ()
 
boolean isDirectory ()
 
String toString ()
 

Detailed Description

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.

Author
Tobias Schoene (tobexyz)

Constructor & Destructor Documentation

◆ TreeNodeData()

de.yaacc.upnp.server.configuration.TreeNodeData.TreeNodeData ( String name,
String path,
boolean saf,
boolean directory )
Parameters
namethe text shown in the row
paththe absolute path of a file system node or the document uri of a SAF node - the string the media path preferences store
safa SAF document (otherwise a java.io.File)
directorya folder (shows the check box and the expand symbol)

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