Java Doc for ResourceAttributes.java in » Sevlet-Container » tomcat-catalina » org » apache » naming » resources » 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
»
Sevlet Container
»
tomcat catalina
»
org.apache.naming.resources
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.apache.naming.resources
.ResourceAttributes
ResourceAttributes
public
class ResourceAttributes implements
Attributes
(Code)
Attributes implementation.
author:
Remy Maucherat
version:
$Revision: 1.3 $
Field Summary
final
public
static
String
ALTERNATE_CONTENT_LENGTH
Content length.
final
public
static
String
ALTERNATE_CREATION_DATE
Creation date.
final
public
static
String
ALTERNATE_LAST_MODIFIED
Last modification date.
final
public
static
String
ALTERNATE_TYPE
Type.
final
public
static
String
COLLECTION_TYPE
Collection type.
final
public
static
String
CONTENT_LANGUAGE
Content language.
final
public
static
String
CONTENT_LENGTH
Content length.
final
public
static
String
CONTENT_TYPE
MIME type of the content.
final
public
static
String
CREATION_DATE
Creation date.
final
public
static
String
ETAG
ETag.
final
public
static
String
LAST_MODIFIED
Last modification date.
final
public
static
String
NAME
Name.
final
public
static
String
SOURCE
Source.
final
public
static
String
TYPE
Type.
protected
Attributes
attributes
External attributes.
protected
boolean
collection
Collection flag.
protected
long
contentLength
Content length.
protected
long
creation
Creation time.
protected
Date
creationDate
Creation date.
final
protected
static
SimpleDateFormat
format
HTTP date format.
final
protected
static
SimpleDateFormat
formats
Date formats using for Date parsing.
protected
long
lastModified
Last modified time.
protected
Date
lastModifiedDate
Last modified date.
protected
String
name
Name.
protected
String
strongETag
Strong ETag.
protected
String
weakETag
Weak ETag.
Constructor Summary
public
ResourceAttributes
()
Default constructor.
public
ResourceAttributes
(
Attributes
attributes)
Merges with another attribute set.
Method Summary
public
Object
clone
()
Clone the attributes object (WARNING: fake cloning).
public
Attribute
get
(
String
attrID)
Get attribute.
public
NamingEnumeration
getAll
()
Get all attributes.
public
long
getContentLength
()
Get content length.
public
long
getCreation
()
Get creation time.
public
Date
getCreationDate
()
Get creation date.
public
String
getETag
()
Get ETag.
public
String
getETag
(boolean strong)
Get ETag.
public
NamingEnumeration
getIDs
()
Get all attribute IDs.
public
long
getLastModified
()
Get last modified time.
public
Date
getLastModifiedDate
()
Get lastModified date.
public
String
getName
()
Get name.
public
String
getResourceType
()
Get resource type.
public
boolean
isCaseIgnored
()
Case sensitivity.
public
boolean
isCollection
()
Is collection.
public
Attribute
put
(
Attribute
attribute)
Put attribute.
public
Attribute
put
(
String
attrID,
Object
val)
Put attribute.
public
Attribute
remove
(
String
attrID)
Remove attribute.
public
void
setCollection
(boolean collection)
Set collection flag.
public
void
setContentLength
(long contentLength)
Set content length.
public
void
setCreation
(long creation)
Set creation.
public
void
setCreationDate
(
Date
creationDate)
Creation date mutator.
public
void
setETag
(
String
eTag)
Set strong ETag.
public
void
setLastModified
(long lastModified)
Set last modified.
public
void
setLastModified
(
Date
lastModified)
Set last modified date.
public
void
setLastModifiedDate
(
Date
lastModifiedDate)
Last modified date mutator.
public
void
setName
(
String
name)
Set name.
public
void
setResourceType
(
String
resourceType)
Type mutator.
public
int
size
()
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.
lastModified
protected
long lastModified
(Code)
Last modified time.
lastModifiedDate
protected
Date
lastModifiedDate
(Code)
Last modified date.
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.
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
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. value of the collection flag
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
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.