    1   /*
    2    * Created on 2007-feb-09
    3    *
    4    * Copyright (C) 2007 Royal Library of Sweden.
    5    *
    6    * This program is free software; you can redistribute it and/or
    7    * modify it under the terms of the GNU Lesser General Public License
    8    * as published by the Free Software Foundation; either version 2
    9    * of the License, or (at your option) any later version.
    10   *
    11   * This program is distributed in the hope that it will be useful,
    12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
    13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    14   * GNU Lesser General Public License for more details.
    15   *
    16   * You should have received a copy of the GNU Lesser General Public License
    17   * along with this program; if not, write to the Free Software
    18   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    19   */
    20  package org.archive.crawler.writer;
    21
    22  public interface Kw3Constants {
    23
    24      /*
    25       * A bunch of keys for the header fields in the ArchiveInfo part
    26       * of the MIME-file.
    27       */
    28      public static String COLLECTION_KEY = "HTTP-Collection";
    29      public static String HARVESTER_KEY = "HTTP-Harvester";
    30      public static String URL_KEY = "HTTP-URL";
    31      public static String IP_ADDRESS_KEY = "HTTP-IP-Address";
    32      public static String HEADER_LENGTH_KEY = "HTTP-Header-Length";
    33      public static String HEADER_MD5_KEY = "HTTP-Header-MD5";
    34      public static String CONTENT_LENGTH_KEY = "HTTP-Content-Length";
    35      public static String CONTENT_MD5_KEY = "HTTP-Content-MD5";
    36      public static String ARCHIVE_TIME_KEY = "HTTP-Archive-Time";
    37      public static String STATUS_CODE_KEY = "HTTP-Status-Code";
    38      public static String CONTENT_TYPE_KEY = "Content-Type";
    39
    40  }