Interface Document

All Known Implementing Classes:
EPSDocument, PDFDocument, SizedDocument, SVGDocument

public interface Document
Interface for documents that are able to output binary files in the implemented file format.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether or not the Document represents compressed data.
    void
     
  • Method Details

    • writeTo

      void writeTo(OutputStream out) throws IOException
      Throws:
      IOException
    • isCompressed

      boolean isCompressed()
      Returns whether or not the Document represents compressed data.
      Returns:
      true if the contents are compressed, false otherwise.