001 /****************************************************************
002 * Licensed to the Apache Software Foundation (ASF) under one *
003 * or more contributor license agreements. See the NOTICE file *
004 * distributed with this work for additional information *
005 * regarding copyright ownership. The ASF licenses this file *
006 * to you under the Apache License, Version 2.0 (the *
007 * "License"); you may not use this file except in compliance *
008 * with the License. You may obtain a copy of the License at *
009 * *
010 * http://www.apache.org/licenses/LICENSE-2.0 *
011 * *
012 * Unless required by applicable law or agreed to in writing, *
013 * software distributed under the License is distributed on an *
014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
015 * KIND, either express or implied. See the License for the *
016 * specific language governing permissions and limitations *
017 * under the License. *
018 ****************************************************************/
019
020 package org.apache.james.mime4j.dom.field;
021
022 /**
023 * Constants for common header field names.
024 */
025 public class FieldName {
026
027 public static final String CONTENT_TYPE = "Content-Type";
028 public static final String CONTENT_LENGTH = "Content-Length";
029 public static final String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding";
030 public static final String CONTENT_DISPOSITION = "Content-Disposition";
031 public static final String CONTENT_ID = "Content-ID";
032 public static final String CONTENT_MD5 = "Content-MD5";
033 public static final String CONTENT_DESCRIPTION = "Content-Description";
034 public static final String CONTENT_LANGUAGE = "Content-Language";
035 public static final String CONTENT_LOCATION = "Content-Location";
036
037 public static final String MIME_VERSION = "MIME-Version";
038 public static final String DATE = "Date";
039 public static final String MESSAGE_ID = "Message-ID";
040 public static final String SUBJECT = "Subject";
041
042 public static final String FROM = "From";
043 public static final String SENDER = "Sender";
044 public static final String TO = "To";
045 public static final String CC = "Cc";
046 public static final String BCC = "Bcc";
047 public static final String REPLY_TO = "Reply-To";
048
049 public static final String RESENT_DATE = "Resent-Date";
050
051 public static final String RESENT_FROM = "Resent-From";
052 public static final String RESENT_SENDER = "Resent-Sender";
053 public static final String RESENT_TO = "Resent-To";
054 public static final String RESENT_CC = "Resent-Cc";
055 public static final String RESENT_BCC = "Resent-Bcc";
056
057 private FieldName() {
058 }
059
060 }