Interface ContentReader

    • Method Detail

      • parse

        void parse​(URL url,
                   ContentCreator creator)
            throws IOException,
                   javax.jcr.RepositoryException
        Read the content from the URL and create the content using the provided content creator.
        Parameters:
        url - The input stream.
        Throws:
        IOException - If anything goes wrong.
        javax.jcr.RepositoryException
      • parse

        void parse​(InputStream ins,
                   ContentCreator contentCreator)
            throws IOException,
                   javax.jcr.RepositoryException
        Read the content from the input stream and create the content using the provided content creator.
        Parameters:
        ins - the input stream.
        Throws:
        IOException - If anything goes wrong.
        javax.jcr.RepositoryException