|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentServer
A document server processes requests from a client application.
The document server evaluates the scheme of the incoming requests and calls
the appropriate SchemeStrategy.
Copyright © 2006-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Field Summary | |
|---|---|
static String |
CONFIG_KEY
Configuration key. |
| Method Summary | |
|---|---|
AudioInputStream |
getAudioInputStream(URI uri)
Retrieves an AudioStream to the audio file with the given
URI. |
VoiceXmlDocument |
getDocument(URI uri)
Gets the document with the given URI. |
GrammarDocument |
getGrammarDocument(URI uri)
Returns the external Grammar referenced by URI. |
| Field Detail |
|---|
static final String CONFIG_KEY
| Method Detail |
|---|
VoiceXmlDocument getDocument(URI uri)
throws BadFetchError
uri - URI of the document.
BadFetchError - The URI does not reference a document or an error occurred
retrieving the document.
GrammarDocument getGrammarDocument(URI uri)
throws BadFetchError
URI.
If more than one grammar is available at the given URI, the grammar with the optional type is preferred. If preferredType is null, the ContentServer does not have to care about the preferredType.
uri - Where to find the grammar.
BadFetchError - The URI does not reference a document or an error occurred
retrieving the document.
AudioInputStream getAudioInputStream(URI uri)
throws BadFetchError
AudioStream to the audio file with the given
URI.
uri - URI of the audio file.
AudioInputStream for the audio file.
BadFetchError - Error retrieving the audio file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||