public static Resource getHomeDirectory ( ) { if ( homeFile != null ) return homeFile ; ResourceProvider frp = ResourcesImpl . getFileResourceProvider ( ) ; String homeStr = System . getProperty ( "user.home" ) ; if ( homeStr != null ) { homeFile = frp . getResource ( homeStr ) ; homeFile = ResourceUtil . getCanonicalResourceEL ( homeFile ) ; } return homeFile ; }
returns the Hoome Directory of the System