|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.publish.alerts.TemplateFactory
public class TemplateFactory
A factory used to manufacture alert template objects. Templates can be accessed by a file-system path, a WebDAV location or a URL.
The template is a file that enables a site to customize the contents of an
alert notification. See
TemplateInterfacefor more details.
TemplateInterface| Constructor Summary | |
|---|---|
TemplateFactory()
|
|
| Method Summary | |
|---|---|
static TemplateInterface |
getDAVTemplate(java.lang.String path,
java.lang.String user,
java.lang.String password)
Creates an instance of a template that can be accessed on a WebDAV server. |
static TemplateInterface |
getDAVTemplate(java.net.URL url,
java.lang.String user,
java.lang.String password)
Creates an instance of a template that can be accessed on a WebDAV server. |
static TemplateInterface |
getFileTemplate(java.lang.String path)
Create an instance of template that can be accessed by a file-system path. |
static TemplateInterface |
getURLTemplate(java.lang.String path)
Creates an instance of a template that can be accessed by a URL. |
static TemplateInterface |
getURLTemplate(java.net.URL url)
Creates an instance of a template that can be accessed by a URL. |
| Constructor Detail |
|---|
public TemplateFactory()
| Method Detail |
|---|
public static TemplateInterface getFileTemplate(java.lang.String path)
path - The path that identifies the template.
public static TemplateInterface getDAVTemplate(java.lang.String path,
java.lang.String user,
java.lang.String password)
throws ServiceException
path - The URL as a String that identifies the template on the WebDAV
server.user - The WebDAV user name.password - The WebDAV password.
ServiceException - If an error occurs initializing the DAV template.
public static TemplateInterface getDAVTemplate(java.net.URL url,
java.lang.String user,
java.lang.String password)
url - The URL that identifies the template on the WebDAV server.user - The WebDAV user name.password - The WebDAV password.
public static TemplateInterface getURLTemplate(java.lang.String path)
throws ServiceException
path - The URL as a String that identifies the template on the WebDAV
server.
ServiceException - If an error occurs initializing the URL template.public static TemplateInterface getURLTemplate(java.net.URL url)
url - The URL that identifies the template on the WebDAV server.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||