Class ITextHeader


  • public class ITextHeader
    extends java.lang.Object
    Header object containing meta-informations.
    Version:
    $Id: ITextHeader.java 1438269 2013-01-24 23:47:50Z olamy $
    Author:
    Vincent Siveton
    • Constructor Summary

      Constructors 
      Constructor Description
      ITextHeader()
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAuthor​(java.lang.String author)
      Add a new author
      java.lang.String getAuthors()
      Get the authors
      java.lang.String getDate()
      Get the date of the document
      java.lang.String getTitle()
      Get the title
      void setDate​(java.lang.String date1)
      Add a date to the document
      void setTitle​(java.lang.String title1)
      Add a title to the Document
      • Methods inherited from class java.lang.Object

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

      • ITextHeader

        public ITextHeader()
        Default constructor
    • Method Detail

      • setTitle

        public final void setTitle​(java.lang.String title1)
        Add a title to the Document
        Parameters:
        title1 - the title.
      • getTitle

        public java.lang.String getTitle()
        Get the title
        Returns:
        title as String
      • addAuthor

        public void addAuthor​(java.lang.String author)
        Add a new author
        Parameters:
        author - the author.
      • getAuthors

        public java.lang.String getAuthors()
        Get the authors
        Returns:
        the authors as String
      • setDate

        public void setDate​(java.lang.String date1)
        Add a date to the document
        Parameters:
        date1 - a date as String
      • getDate

        public java.lang.String getDate()
        Get the date of the document
        Returns:
        the date as String