|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.esupportail.portal.channels.CWebdav.provider.ChannelWebdavResource
Id: ChannelWebdavResource.java,v 1.0 8 juil. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: ChannelWebdavResource
Original Author: Yohan Colmant
This represents a Webdav resource. This is used to abstract the webdav client library.
| Field Summary | |
private long |
contentLength
The length of the resource |
private java.lang.String |
contentType
The type of the resource |
private java.lang.String |
displayName
The displayed name |
private java.io.InputStream |
inputStream
The file inputStream |
private boolean |
isCollection
If this resource is a collection |
private long |
lastModified
The last modification date |
| Constructor Summary | |
ChannelWebdavResource(java.lang.String displayName,
long contentLength,
java.lang.String contentType,
long lastModified,
boolean isCollection)
Constructor |
|
ChannelWebdavResource(java.lang.String displayName,
long contentLength,
java.lang.String contentType,
long lastModified,
boolean isCollection,
java.io.InputStream inputStream)
Constructor |
|
| Method Summary | |
long |
getContentLength()
|
java.lang.String |
getContentType()
|
java.lang.String |
getDisplayName()
|
java.io.InputStream |
getInputStream()
|
long |
getLastModified()
|
boolean |
isCollection()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String displayName
private long contentLength
private java.lang.String contentType
private long lastModified
private boolean isCollection
private java.io.InputStream inputStream
| Constructor Detail |
public ChannelWebdavResource(java.lang.String displayName,
long contentLength,
java.lang.String contentType,
long lastModified,
boolean isCollection)
displayName - The displayed namecontentLength - The length of the resourcecontentType - The type of the resourcelastModified - The last modification dateisCollection - If this resource is a collection
public ChannelWebdavResource(java.lang.String displayName,
long contentLength,
java.lang.String contentType,
long lastModified,
boolean isCollection,
java.io.InputStream inputStream)
displayName - The displayed namecontentLength - The length of the resourcecontentType - The type of the resourcelastModified - The last modification dateisCollection - If this resource is a collectioninputStream - the file inputStream| Method Detail |
public long getContentLength()
public java.lang.String getContentType()
public java.lang.String getDisplayName()
public long getLastModified()
public boolean isCollection()
public java.io.InputStream getInputStream()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||