Class DocumentLoaderManager
java.lang.Object
com.janeirodigital.shapetrees.core.contentloaders.DocumentLoaderManager
Utility class which allows an external document loader to be set by calling code, and then
utilized by other code that doesn't require special knowledge of specific document
loader implementations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalDocumentLoader
Return an ExternalDocumentLoader that was previously set and stored staticallystatic void
setLoader
(ExternalDocumentLoader loader)
-
Method Details
-
getLoader
Return an ExternalDocumentLoader that was previously set and stored statically- Returns:
- A valid ExternalDocumentLoader that was previously set
- Throws:
ShapeTreeException
-
setLoader
-