Java Doc for ResourceAttributes.java in  » J2EE » fleXive » com » flexive » war » webdav » catalina » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » fleXive » com.flexive.war.webdav.catalina 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.war.webdav.catalina.ResourceAttributes

ResourceAttributes
public class ResourceAttributes implements Attributes(Code)
Catalina sources cloned for packaging issues to the flexive source tree. Refactored to JDK 1.5 compatibility. Licensed under the Apache License, Version 2.0

Attributes implementation.
author:
   Remy Maucherat
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)



Field Summary
final public static  StringALTERNATE_CONTENT_LENGTH
     Content length.
final public static  StringALTERNATE_CREATION_DATE
     Creation date.
final public static  StringALTERNATE_LAST_MODIFIED
     Last modification date.
final public static  StringALTERNATE_TYPE
     Type.
final public static  StringCOLLECTION_TYPE
     Collection type.
final public static  StringCONTENT_LANGUAGE
     Content language.
final public static  StringCONTENT_LENGTH
     Content length.
final public static  StringCONTENT_TYPE
     MIME type of the content.
final public static  StringCREATION_DATE
     Creation date.
final public static  StringETAG
     ETag.
final public static  StringLAST_MODIFIED
     Last modification date.
final public static  StringNAME
     Name.
final public static  StringSOURCE
     Source.
final public static  StringTYPE
     Type.
protected  Attributesattributes
     External attributes.
protected  booleancollection
     Collection flag.
protected  longcontentLength
     Content length.
protected  longcreation
     Creation time.
protected  DatecreationDate
     Creation date.
final protected static  SimpleDateFormatformat
     HTTP date format.
final protected static  SimpleDateFormatformats
     Date formats using for Date parsing.
final protected static  TimeZonegmtZone
    
protected  longlastModified
     Last modified time.
protected  DatelastModifiedDate
     Last modified date.
protected  StringlastModifiedHttp
     Last modified date in HTTP format.
protected  StringmimeType
     MIME type.
protected  Stringname
     Name.
protected  StringstrongETag
     Strong ETag.
protected  StringweakETag
     Weak ETag.

Constructor Summary
public  ResourceAttributes()
     Default constructor.
public  ResourceAttributes(Attributes attributes)
     Merges with another attribute set.

Method Summary
public  Objectclone()
     Clone the attributes object (WARNING: fake cloning).
public  Attributeget(String attrID)
     Get attribute.
public  NamingEnumerationgetAll()
     Get all attributes.
public  StringgetCanonicalPath()
     Return the canonical path of the resource, to possibly be used for direct file serving.
public  longgetContentLength()
     Get content length.
public  longgetCreation()
     Get creation time.
public  DategetCreationDate()
     Get creation date.
public  StringgetETag()
     Get ETag.
public  StringgetETag(boolean strong)
     Get ETag.
public  NamingEnumerationgetIDs()
     Get all attribute IDs.
public  longgetLastModified()
     Get last modified time.
public  DategetLastModifiedDate()
     Get lastModified date.
public  StringgetLastModifiedHttp()
    
public  StringgetMimeType()
    
public  StringgetName()
     Get name.
public  StringgetResourceType()
     Get resource type.
public  booleanisCaseIgnored()
     Case sensitivity.
public  booleanisCollection()
     Is collection.
public  Attributeput(Attribute attribute)
     Put attribute.
public  Attributeput(String attrID, Object val)
     Put attribute.
public  Attributeremove(String attrID)
     Remove attribute.
public  voidsetCollection(boolean collection)
     Set collection flag.
public  voidsetContentLength(long contentLength)
     Set content length.
public  voidsetCreation(long creation)
     Set creation.
public  voidsetCreationDate(Date creationDate)
     Creation date mutator.
public  voidsetETag(String eTag)
     Set strong ETag.
public  voidsetLastModified(long lastModified)
     Set last modified.
public  voidsetLastModified(Date lastModified)
     Set last modified date.
public  voidsetLastModifiedDate(Date lastModifiedDate)
     Last modified date mutator.
public  voidsetLastModifiedHttp(String lastModifiedHttp)
    
public  voidsetMimeType(String mimeType)
    
public  voidsetName(String name)
     Set name.
public  voidsetResourceType(String resourceType)
     Type mutator.
public  intsize()
     Retrieves the number of attributes in the attribute set.

Field Detail
ALTERNATE_CONTENT_LENGTH
final public static String ALTERNATE_CONTENT_LENGTH(Code)
Content length.



ALTERNATE_CREATION_DATE
final public static String ALTERNATE_CREATION_DATE(Code)
Creation date.



ALTERNATE_LAST_MODIFIED
final public static String ALTERNATE_LAST_MODIFIED(Code)
Last modification date.



ALTERNATE_TYPE
final public static String ALTERNATE_TYPE(Code)
Type.



COLLECTION_TYPE
final public static String COLLECTION_TYPE(Code)
Collection type.



CONTENT_LANGUAGE
final public static String CONTENT_LANGUAGE(Code)
Content language.



CONTENT_LENGTH
final public static String CONTENT_LENGTH(Code)
Content length.



CONTENT_TYPE
final public static String CONTENT_TYPE(Code)
MIME type of the content.



CREATION_DATE
final public static String CREATION_DATE(Code)
Creation date.



ETAG
final public static String ETAG(Code)
ETag.



LAST_MODIFIED
final public static String LAST_MODIFIED(Code)
Last modification date.



NAME
final public static String NAME(Code)
Name.



SOURCE
final public static String SOURCE(Code)
Source.



TYPE
final public static String TYPE(Code)
Type.



attributes
protected Attributes attributes(Code)
External attributes.



collection
protected boolean collection(Code)
Collection flag.



contentLength
protected long contentLength(Code)
Content length.



creation
protected long creation(Code)
Creation time.



creationDate
protected Date creationDate(Code)
Creation date.



format
final protected static SimpleDateFormat format(Code)
HTTP date format.



formats
final protected static SimpleDateFormat formats(Code)
Date formats using for Date parsing.



gmtZone
final protected static TimeZone gmtZone(Code)



lastModified
protected long lastModified(Code)
Last modified time.



lastModifiedDate
protected Date lastModifiedDate(Code)
Last modified date.



lastModifiedHttp
protected String lastModifiedHttp(Code)
Last modified date in HTTP format.



mimeType
protected String mimeType(Code)
MIME type.



name
protected String name(Code)
Name.



strongETag
protected String strongETag(Code)
Strong ETag.



weakETag
protected String weakETag(Code)
Weak ETag.




Constructor Detail
ResourceAttributes
public ResourceAttributes()(Code)
Default constructor.



ResourceAttributes
public ResourceAttributes(Attributes attributes)(Code)
Merges with another attribute set.




Method Detail
clone
public Object clone()(Code)
Clone the attributes object (WARNING: fake cloning).



get
public Attribute get(String attrID)(Code)
Get attribute.



getAll
public NamingEnumeration getAll()(Code)
Get all attributes.



getCanonicalPath
public String getCanonicalPath()(Code)
Return the canonical path of the resource, to possibly be used for direct file serving. Implementations which support this should override it to return the file path. The canonical path of the resource



getContentLength
public long getContentLength()(Code)
Get content length. content length value



getCreation
public long getCreation()(Code)
Get creation time. creation time value



getCreationDate
public Date getCreationDate()(Code)
Get creation date. Creation date value



getETag
public String getETag()(Code)
Get ETag. Weak ETag



getETag
public String getETag(boolean strong)(Code)
Get ETag.
Parameters:
  strong - If true, the strong ETag will be returned ETag



getIDs
public NamingEnumeration getIDs()(Code)
Get all attribute IDs.



getLastModified
public long getLastModified()(Code)
Get last modified time. lastModified time value



getLastModifiedDate
public Date getLastModifiedDate()(Code)
Get lastModified date. LastModified date value



getLastModifiedHttp
public String getLastModifiedHttp()(Code)
Returns the lastModifiedHttp.



getMimeType
public String getMimeType()(Code)
Returns the mimeType.



getName
public String getName()(Code)
Get name. Name value



getResourceType
public String getResourceType()(Code)
Get resource type. String resource type



isCaseIgnored
public boolean isCaseIgnored()(Code)
Case sensitivity.



isCollection
public boolean isCollection()(Code)
Is collection.



put
public Attribute put(Attribute attribute)(Code)
Put attribute.



put
public Attribute put(String attrID, Object val)(Code)
Put attribute.



remove
public Attribute remove(String attrID)(Code)
Remove attribute.



setCollection
public void setCollection(boolean collection)(Code)
Set collection flag.
Parameters:
  collection - New flag value



setContentLength
public void setContentLength(long contentLength)(Code)
Set content length.
Parameters:
  contentLength - New content length value



setCreation
public void setCreation(long creation)(Code)
Set creation.
Parameters:
  creation - New creation value



setCreationDate
public void setCreationDate(Date creationDate)(Code)
Creation date mutator.
Parameters:
  creationDate - New creation date



setETag
public void setETag(String eTag)(Code)
Set strong ETag.



setLastModified
public void setLastModified(long lastModified)(Code)
Set last modified.
Parameters:
  lastModified - New last modified value



setLastModified
public void setLastModified(Date lastModified)(Code)
Set last modified date.
Parameters:
  lastModified - New last modified date value



setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)(Code)
Last modified date mutator.
Parameters:
  lastModifiedDate - New last modified date



setLastModifiedHttp
public void setLastModifiedHttp(String lastModifiedHttp)(Code)

Parameters:
  lastModifiedHttp - The lastModifiedHttp to set.



setMimeType
public void setMimeType(String mimeType)(Code)

Parameters:
  mimeType - The mimeType to set.



setName
public void setName(String name)(Code)
Set name.
Parameters:
  name - New name value



setResourceType
public void setResourceType(String resourceType)(Code)
Type mutator.
Parameters:
  resourceType - New resource type



size
public int size()(Code)
Retrieves the number of attributes in the attribute set.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.