Class ContentReader


  • public class ContentReader
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentReader()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.InputStream getBinary​(java.lang.String endpoint, org.alfresco.webservice.content.Content binary, java.lang.String username, java.lang.String password, int socketTimeout, org.alfresco.webservice.util.AuthenticationDetails session)  
      static org.alfresco.webservice.content.Content read​(java.lang.String endpoint, java.lang.String username, java.lang.String password, int socketTimeout, org.alfresco.webservice.util.AuthenticationDetails session, org.alfresco.webservice.types.Predicate predicate, java.lang.String contentProperty)
      Read the binary for the current content
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentReader

        public ContentReader()
    • Method Detail

      • read

        public static org.alfresco.webservice.content.Content read​(java.lang.String endpoint,
                                                                   java.lang.String username,
                                                                   java.lang.String password,
                                                                   int socketTimeout,
                                                                   org.alfresco.webservice.util.AuthenticationDetails session,
                                                                   org.alfresco.webservice.types.Predicate predicate,
                                                                   java.lang.String contentProperty)
                                                            throws java.io.IOException
        Read the binary for the current content
        Parameters:
        predicate -
        Returns:
        an unique binary for content
        Throws:
        java.io.IOException
      • getBinary

        public static java.io.InputStream getBinary​(java.lang.String endpoint,
                                                    org.alfresco.webservice.content.Content binary,
                                                    java.lang.String username,
                                                    java.lang.String password,
                                                    int socketTimeout,
                                                    org.alfresco.webservice.util.AuthenticationDetails session)
                                             throws java.io.IOException
        Throws:
        java.io.IOException