|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.launchpad.base.impl.DirectoryUtil
public class DirectoryUtil
| Field Summary | |
|---|---|
static FileFilter |
BUNDLE_FILE_FILTER
Simple bundle file filter |
static FileFilter |
DIRECTORY_FILTER
Simple directory filter |
static String |
PATH_CONF
The path of startup bundles in the sling home |
static String |
PATH_STARTUP
The path of startup bundles in the sling home |
| Constructor Summary | |
|---|---|
DirectoryUtil()
|
|
| Method Summary | |
|---|---|
static File |
getConfigDir(Map<String,String> properties)
Return the config dir. |
static File |
getHomeDir(Map<String,String> properties)
|
static File |
getStartupDir(Map<String,String> properties)
Return the startup dir. |
static boolean |
isBundle(String path)
Determine if a path could be a bundle based on its extension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PATH_STARTUP
public static final String PATH_CONF
public static final FileFilter DIRECTORY_FILTER
public static final FileFilter BUNDLE_FILE_FILTER
| Constructor Detail |
|---|
public DirectoryUtil()
| Method Detail |
|---|
public static boolean isBundle(String path)
path - the path to the file
public static File getHomeDir(Map<String,String> properties)
public static File getConfigDir(Map<String,String> properties)
public static File getStartupDir(Map<String,String> properties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||