com.spss.psapi.as

Interface ContainerManager



  • public interface ContainerManager
    Defines a container manager that provides container-related services.
    • Method Detail

      • uploadContainer

        void uploadContainer(ContentContainer container,
                           java.lang.String relativePath)
                             throws AnalyticServerException
        Upload a container to AS.
        Parameters:
        container - the container to upload
        path - a relative path (within the execution project) to upload the container to
        Throws:
        AnalyticServerException
      • downloadContainer

        ContentContainer downloadContainer(java.lang.String containerTypeId,
                                         java.lang.String name,
                                         ContentFormat contentFormat,
                                         java.lang.String relativePath)
                                           throws AnalyticServerException
        Download a container from AS. The main entry in the AS container is read as an array of bytes. If the content format is ContentFormat.BINARY then the byte array is stored as-is. If the content format is ContentFormat.UTF8 then the byte array is encoded as a UTF-8 string.
        Parameters:
        containerTypeId - the content type
        name - the container name
        contentFormat - the format of the downloaded content
        path - a relative path within the current execution context to the location of the container on AS
        Returns:
        the downloaded container
        Throws:
        AnalyticServerException
        See Also:
        ContentContainerFactory

(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.