- java.lang.Object
-
- ilusr.core.url.InternalURLProvider
-
public class InternalURLProvider extends Object
- Author:
- Jeff Riggle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InternalURLProvider
getInstance()
String
prepareURL(String content, String resource)
Prepares a URL to be used internally.void
removeURL(String resource)
Removes an internal URL.
-
-
-
Method Detail
-
getInstance
public static InternalURLProvider getInstance()
-
prepareURL
public String prepareURL(String content, String resource)
Prepares a URL to be used internally.- Parameters:
content
- The data associated with the URL.resource
- The location of the data (URL).- Returns:
- The formatted URL including protocol.
-
removeURL
public void removeURL(String resource)
Removes an internal URL.- Parameters:
resource
- The URL to remove.
-
-