Interface ContentReader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void parse​(java.io.InputStream ins, ContentCreator contentCreator)
      Read the content from the input stream and create the content using the provided content creator.
      void parse​(java.net.URL url, ContentCreator creator)
      Read the content from the URL and create the content using the provided content creator.
    • Method Detail

      • parse

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

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