|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codeforamerica.open311.internals.platform.PlatformManager
public class PlatformManager
Builds some objects which implementation depends of the execution environment.
| Method Summary | |
|---|---|
Cache |
buildCache()
Builds a cache instance taking care of the execution environment. |
Logger |
buildLogger()
Builds a logger instance taking care of the execution environment. |
static PlatformManager |
getInstance()
Returns the unique instance of the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PlatformManager getInstance()
public Cache buildCache()
NoCache under Android, RegularJavaCache
otherwise. AndroidCache has to be built explicitly.public Logger buildLogger()
AndroidLogger under Android. RegularJavaLogger
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||