public static class NacMedia.Tree extends NacFile.Tree
Constructor and Description |
---|
Tree(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
void |
scan(android.content.Context context) |
void |
scan(android.content.Context context,
boolean filter)
Scan the media table for available media to play, filtering by the
current directory if specified, and create a file tree out of the
output.
|
add, add, addToDirectory, addToDirectory, cd, cd, getDirectory, getDirectoryPath, getHome, getPath, ls, ls, lsSort, lsSort, print, setDirectory, strip
public void scan(android.content.Context context)
scan(Context, boolean)
public void scan(android.content.Context context, boolean filter)
context
- The application context.filter
- Whether the media files that are found should be filtered
by comparing the media path with the current directory.