|
CStockage 4.2_beta-RC-1 API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esupportail.portal.channels.CStockage.provider.ChannelResource
Id: ChannelResource.java,v 1.0 8 juil. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: ChannelResource
Original Author: Yohan Colmant
This represents a file system resource. This is used to abstract the server client library.
| Constructor Summary | |
ChannelResource(java.lang.String displayName,
java.lang.String path,
long contentLength,
java.lang.String contentType,
long lastModified,
boolean isCollection)
Constructor |
|
ChannelResource(java.lang.String displayName,
java.lang.String path,
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()
|
java.lang.String |
getPath()
|
java.lang.String |
getState()
|
boolean |
isCollection()
|
void |
setState(java.lang.String state)
|
java.lang.String |
toString()
Return a String formed with all attributes |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ChannelResource(java.lang.String displayName,
java.lang.String path,
long contentLength,
java.lang.String contentType,
long lastModified,
boolean isCollection)
displayName - The displayed namepath - The resource pathcontentLength - The length of the resourcecontentType - The type of the resourcelastModified - The last modification dateisCollection - If this resource is a collection
public ChannelResource(java.lang.String displayName,
java.lang.String path,
long contentLength,
java.lang.String contentType,
long lastModified,
boolean isCollection,
java.io.InputStream inputStream)
displayName - The displayed namepath - The resource pathcontentLength - 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 java.lang.String getState()
public void setState(java.lang.String state)
state - The state to set.public java.lang.String getPath()
public long getContentLength()
public java.lang.String getContentType()
public java.lang.String getDisplayName()
public long getLastModified()
public boolean isCollection()
public java.io.InputStream getInputStream()
public java.lang.String toString()
|
CStockage 4.2_beta-RC-1 API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||