public class ApplicationHome extends Object
Constructor and Description |
---|
ApplicationHome()
Create a new
ApplicationHome instance. |
ApplicationHome(Class<?> sourceClass)
Create a new
ApplicationHome instance for the specified source class. |
Modifier and Type | Method and Description |
---|---|
File |
getDir()
Returns the application home folder.
|
File |
getSource()
Returns the underlying source used to find the home folder.
|
String |
toString() |
public ApplicationHome()
ApplicationHome
instance.public ApplicationHome(Class<?> sourceClass)
ApplicationHome
instance for the specified source class.sourceClass
- the source class or null
public File getSource()
null
if the source cannot be determined.null
public File getDir()
null
)Copyright © 2015 Pivotal Software, Inc.. All rights reserved.