|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CanorisException | |
---|---|
com.canoris.api |
Uses of CanorisException in com.canoris.api |
---|
Methods in com.canoris.api that throw CanorisException | |
---|---|
void |
CanorisResourceManager.addFileToCollection(java.lang.String collectionKey,
CanorisFile file)
Adds a file to the given collection. |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.createCollection(java.lang.String name,
java.lang.String license,
java.lang.String visibility)
|
CanorisResource |
CanorisResourceManager.createFileFromURL(java.lang.String url,
java.util.Map<java.lang.String,java.lang.String> params)
Creates a file from the URL parameter. |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisConnManager.createResource(java.util.Map<java.lang.String,java.lang.String> uriParams,
java.util.Map<java.lang.String,java.lang.String> postParams,
java.lang.String resourceType)
Creates a resource by executing a POST request. |
org.codehaus.jackson.JsonNode |
CanorisConnManager.createResourceAsTree(java.util.Map<java.lang.String,java.lang.String> uriParams,
java.util.Map<java.lang.String,java.lang.String> postParams,
java.lang.String resourceType)
Creates a resource by executing a POST request and returns the response as a JsonNode |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.createTask(java.lang.String taskName,
java.lang.String taskContent)
Creates with the give taskName, containing the taskContent. |
org.codehaus.jackson.JsonNode |
CanorisResourceManager.createTemplate(java.lang.String templateName,
java.lang.String templateContent)
Creates a template and returns the response or null TODO: This should return a JsonNode?? |
void |
CanorisResourceManager.deleteCollection(java.lang.String collectionKey)
Deletes the collection. |
void |
CanorisConnManager.deleteResource(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String resourceType)
Delete the resource. |
void |
CanorisResourceManager.deleteTemplate(java.lang.String templateName)
Deletes the give template |
java.io.InputStream |
CanorisResourceManager.downloadFile(CanorisFile file)
Return an InputStream representing the requested file. |
java.io.InputStream |
CanorisResourceManager.downloadFile(java.lang.String fileKey)
Return an InputStream representing the requested file. |
org.codehaus.jackson.JsonNode |
CanorisResourceManager.getAnalysis(CanorisFile file,
java.lang.String filter)
Returns the analysis of the file as a JsonNode |
org.codehaus.jackson.JsonNode |
CanorisResourceManager.getAnalysisFrames(java.lang.String fileKey)
Returns the analysis frames |
CanorisFile |
CanorisConnManager.getCanorisFile(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String resourceType)
Returns a canorisFile or null if no file is found with the give fileKey. |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.getCollection(java.lang.String collectionKey)
|
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.getCollectionFile(java.lang.String collectionKey,
CanorisFile file)
|
Pager |
CanorisResourceManager.getCollectionFiles(java.lang.String collectionKey)
Returns a Pager. |
Pager |
CanorisResourceManager.getCollections()
|
java.io.InputStream |
CanorisResourceManager.getConversion(CanorisFile file,
java.lang.String conversionName)
Returns an input stream representing the conversion type requested. |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.getConversions(CanorisFile file)
Gets the conversions of the file you pass |
CanorisFile |
CanorisResourceManager.getFile(CanorisFile file)
Returns a Map representing the requested file. |
CanorisFile |
CanorisResourceManager.getFile(java.lang.String fileKey)
Returns a Map representing the requested file. |
Pager |
CanorisResourceManager.getFiles()
Returns a Pager object to be used for navigating the pages or accessing a particular element in the page. |
Pager |
CanorisResourceManager.getNextPage(Pager pager)
Gets the next page. |
Pager |
CanorisResourceManager.getPage(Pager pager)
Gets the requested page. |
Pager |
CanorisResourceManager.getPage(java.lang.String start,
java.lang.String limit)
Gets the requested page. |
Pager |
CanorisConnManager.getPagedResults(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String resourceType)
Returns a pager object holding the results. |
Pager |
CanorisResourceManager.getPreviousPage(Pager pager)
Gets the previous page. |
java.io.InputStream |
CanorisConnManager.getResource(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String resourceType)
Returns the requested file |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisConnManager.getResourceAsMap(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String resourceType)
Returns a resource as a Map |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisConnManager.getResources(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String resourceType)
|
org.codehaus.jackson.JsonNode |
CanorisConnManager.getResourcesAsTree(java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String resourceType)
Returns the requested resource as a JsonNode. |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.getSimilaritySearch(java.lang.String collectionKey,
CanorisFile file,
java.lang.String preset,
java.lang.String results)
Performs a similarity search. |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.getTask(java.lang.String taskId)
Get the task that corresponds to the taskId. |
org.codehaus.jackson.JsonNode |
CanorisResourceManager.getTemplates()
Gets the list of templates. |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.getText2Phon(java.lang.String text,
java.lang.String language)
|
java.io.InputStream |
CanorisResourceManager.getVisualization(CanorisFile file,
java.lang.String name)
Gets the visualization of the passed file |
java.util.Map<java.lang.String,java.lang.Object> |
CanorisResourceManager.getVisualizations(CanorisFile file)
Return the visualization of the file |
org.codehaus.jackson.JsonNode |
CanorisConnManager.updateResource(java.util.Map<java.lang.String,java.lang.String> urlParams,
java.util.Map<java.lang.String,java.lang.String> putParams,
java.lang.String resourceType)
Updates a resource by executing a PUT request. |
org.codehaus.jackson.JsonNode |
CanorisResourceManager.updateTemplate(java.lang.String templateContent,
java.lang.String templateName)
Updates the template that matches the templateName. |
CanorisFile |
CanorisConnManager.uploadFileFromURL(java.lang.String url,
java.lang.String resourceType)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |