Package org.exoplatform.commons.embedder
Class AbstractEmbedder
java.lang.Object
org.exoplatform.commons.embedder.AbstractEmbedder
- All Implemented Interfaces:
Embedder
- Direct Known Subclasses:
OembedEmbedder,YoutubeEmbedder
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncorrectURIString(String uriString, String scheme, boolean force) Correct URI Stringprotected abstract org.exoplatform.services.log.Logprotected org.json.JSONObjectgetJSONObject(URL url) protected PatternvoidSet provided url to Embedder object to process.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.commons.embedder.Embedder
getExoMedia
-
Field Details
-
schemeEndpointMap
-
url
-
-
Method Details
-
getPattern
-
setUrl
Description copied from interface:EmbedderSet provided url to Embedder object to process. -
correctURIString
Correct URI String- Parameters:
uriString- URI string to correctscheme- scheme to setforce- if force is false, only set again scheme when scheme is missing. Otherwise, always set it- Returns:
-
getJSONObject
-
getExoLogger
protected abstract org.exoplatform.services.log.Log getExoLogger()
-