| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.project.CayenneUserDir
public class CayenneUserDir
CayenneUserDir represents a directory where all Cayenne-related information 
 is stored on the user machine. This is normally a $HOME/.cayenne
 directory.
| Field Summary | |
|---|---|
| static String | ALT_USER_DIR_PROPERTYA property name for the property that allows to define an alternative location of Cayenne User Directory (instead of default "$HOME/.cayenne"). | 
| static String | CAYENNE_DIR | 
| protected  File | cayenneUserDir | 
| protected static CayenneUserDir | sharedInstance | 
| Constructor Summary | |
|---|---|
| protected  | CayenneUserDir()Constructor for CayenneUserDir. | 
| Method Summary | |
|---|---|
|  boolean | canRead()Return false if the directory is not accessible for any reason at least for reading. | 
|  boolean | canWrite()Return false if the directory is not accessible for any reason at least for reading. | 
|  File | getDirectory()Returns a directory object where all user Cayenne-related configuration is stored. | 
| static CayenneUserDir | getInstance() | 
|  File | resolveFile(String name) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static CayenneUserDir sharedInstance
public static final String CAYENNE_DIR
public static final String ALT_USER_DIR_PROPERTY
protected File cayenneUserDir
| Constructor Detail | 
|---|
protected CayenneUserDir()
| Method Detail | 
|---|
public static CayenneUserDir getInstance()
public File getDirectory()
public boolean canRead()
public boolean canWrite()
public File resolveFile(String name)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||