KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > webdav > lib > properties > GetLastModifiedProperty


1 /*
2  * $Header: /home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/properties/GetLastModifiedProperty.java,v 1.4.2.1 2004/09/26 14:19:20 luetzkendorf Exp $
3  * $Revision: 1.4.2.1 $
4  * $Date: 2004/09/26 14:19:20 $
5  *
6  * ====================================================================
7  *
8  * Copyright 1999-2002 The Apache Software Foundation
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */

23 package org.apache.webdav.lib.properties;
24
25 import org.apache.webdav.lib.ResponseEntity;
26 import org.w3c.dom.Element JavaDoc;
27
28 /**
29  * This interface models the <code>&lt;D:getlastmodified&gt;</code> property,
30  * which indicates the last time the resource was modified. It does not, as
31  * the name might misleadingly imply, have anything to do with getting the most
32  * recently modified property.
33  *
34  * @version $Revision: 1.4.2.1 $
35  */

36 public class GetLastModifiedProperty extends DateProperty {
37
38
39     // -------------------------------------------------------------- Constants
40

41
42     /**
43      * The property name.
44      */

45     public static final String JavaDoc TAG_NAME = "getlastmodified";
46
47
48     /**
49      * The standard date format for the last modified date, as specified in
50      * the HTTP 1.1 specification (RFC 2068).
51      * @deprecated
52      */

53     public static final String JavaDoc DATE_FORMAT = "EEE, d MMM yyyy kk:mm:ss z";
54
55
56     // ----------------------------------------------------------- Constructors
57

58
59     /**
60      * Default constructor for the property.
61      */

62     public GetLastModifiedProperty(ResponseEntity response, Element JavaDoc element) {
63         super(response, element);
64     }
65
66 }
67
Popular Tags