public abstract class ContentLevel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_SHOW_EMPTY_FOLDERS |
static java.lang.String |
ENABLE_CONTENT_LEVEL_FILTERS |
static java.lang.String |
ENABLE_WORKING_SETS |
static java.lang.String |
FLAT_LEVEL |
static java.lang.String |
FLAT_LEVEL_ENABLED
Context key used to enable/disable the flat level behavior for a subtree
|
static java.lang.String |
SHOW_CONTENT_SET_NAMES |
static java.lang.String |
SHOW_EMPTY_FOLDERS |
static java.lang.String |
SHOW_ROOT_DIRS |
static java.lang.String |
SORT_BY_TYPE |
static java.lang.String |
WEBCONTENT_FLAT_LEVEL |
static java.lang.String |
WEBCONTENT_FLAT_LEVEL_ENABLED
Context key used to enable/disable the flat level behavior for a subtree in web content
|
Modifier and Type | Method and Description |
---|---|
static void |
addAsynchronousContentLevelFilter(AsynchronousContentLevelFilter asyncFilter) |
static void |
addContentLevelFilter(ContentLevelFilter filter) |
void |
addFlatDirs(Context context,
java.util.List children) |
abstract ContentLevel |
getContentLevel(java.lang.String relPath) |
static java.util.Comparator |
getContentSetDisplayableComparator() |
java.util.List |
getDirectories() |
java.util.List<java.net.URL> |
getDirectoriesAsURLs() |
abstract java.net.URL |
getDirectoryURL() |
URLPath |
getDirectoryURLPath() |
static java.util.Comparator |
getDisplayableComparator() |
abstract java.util.List |
getFiles() |
abstract int |
getLevel() |
void |
getNodes(java.util.List nodeList) |
abstract java.lang.String |
getRelPath() |
static void |
initChildren(Context context,
java.util.List children) |
RelativeDirectoryContextFolder |
newFolder(Context context) |
static ContentLevel |
newInstance(ContentSet contentSet,
IntersectedFilters filters) |
static ContentLevel |
newInstanceForHideDirs(ContentSet contentSet,
PatternFilters workingSetFilters,
boolean displayFoldersAsPackages) |
static ContentLevel |
newInstanceForShowDirs(java.net.URL url,
IntersectedFilters filters,
boolean displayFoldersAsPackages) |
static void |
removeAsynchronousContentLevelFilter(AsynchronousContentLevelFilter asyncFilter) |
static void |
removeContentLevelFilter(ContentLevelFilter filter) |
static boolean |
showsEmptyFolders() |
public static final java.lang.String FLAT_LEVEL
public static final java.lang.String FLAT_LEVEL_ENABLED
public static final java.lang.String WEBCONTENT_FLAT_LEVEL
public static final java.lang.String WEBCONTENT_FLAT_LEVEL_ENABLED
public static final java.lang.String SHOW_ROOT_DIRS
public static final java.lang.String SORT_BY_TYPE
public static final java.lang.String SHOW_CONTENT_SET_NAMES
public static final java.lang.String ENABLE_CONTENT_LEVEL_FILTERS
public static final java.lang.String ENABLE_WORKING_SETS
public static final java.lang.String SHOW_EMPTY_FOLDERS
public static final boolean DEFAULT_SHOW_EMPTY_FOLDERS
public static boolean showsEmptyFolders()
public static ContentLevel newInstanceForShowDirs(java.net.URL url, IntersectedFilters filters, boolean displayFoldersAsPackages)
public static ContentLevel newInstanceForHideDirs(ContentSet contentSet, PatternFilters workingSetFilters, boolean displayFoldersAsPackages)
public static void initChildren(Context context, java.util.List children)
public static final java.util.Comparator getDisplayableComparator()
public static final java.util.Comparator getContentSetDisplayableComparator()
public abstract java.net.URL getDirectoryURL()
public URLPath getDirectoryURLPath()
public abstract java.lang.String getRelPath()
public abstract int getLevel()
public abstract java.util.List getFiles()
public final java.util.List getDirectories()
public final java.util.List<java.net.URL> getDirectoriesAsURLs()
public abstract ContentLevel getContentLevel(java.lang.String relPath)
public final void getNodes(java.util.List nodeList)
public final RelativeDirectoryContextFolder newFolder(Context context)
public final void addFlatDirs(Context context, java.util.List children)
public static void addContentLevelFilter(ContentLevelFilter filter)
public static void removeContentLevelFilter(ContentLevelFilter filter)
public static void addAsynchronousContentLevelFilter(AsynchronousContentLevelFilter asyncFilter)
public static void removeAsynchronousContentLevelFilter(AsynchronousContentLevelFilter asyncFilter)
public static ContentLevel newInstance(ContentSet contentSet, IntersectedFilters filters)