Class Header

  • All Implemented Interfaces:
    java.lang.Iterable<MinimalField>

    public class Header
    extends java.lang.Object
    implements java.lang.Iterable<MinimalField>
    The header of an entity (see RFC 2045).
    • Constructor Detail

      • Header

        public Header()
    • Method Detail

      • getFields

        public java.util.List<MinimalField> getFields()
      • getField

        public MinimalField getField​(java.lang.String name)
      • getFields

        public java.util.List<MinimalField> getFields​(java.lang.String name)
      • removeFields

        public int removeFields​(java.lang.String name)
      • iterator

        public java.util.Iterator<MinimalField> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<MinimalField>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object