Interface Document

    • Method Detail

      • getName

        java.lang.String getName()
      • reader

        java.io.Reader reader()
                       throws java.io.IOException
        Reads the content of this document.
        Returns:
        Reader not null
        Throws:
        java.io.IOException - if this document cannot be read
        CompositeDocumentException - if this document can only be read as a composite archive
      • inputStream

        java.io.InputStream inputStream()
                                 throws java.io.IOException
        Streams the document's contents.
        Returns:
        not null
        Throws:
        java.io.IOException - when stream could not be opened
      • getMetaData

        MetaData getMetaData()
        Gets data describing this resource.
        Returns:
        not null
      • isComposite

        boolean isComposite()
        Is this a composite document?
        Returns:
        true if composite, false otherwise