svn changeset:277/svn branch:toolkittags/6.7.0.beta1
/** Get virtual filename for the resource */ | /** Get virtual filename for the resource */ | ||||
public String getFilename(); | public String getFilename(); | ||||
/** Get lenght of cache expiracy time. | |||||
/** Get lenght of cache expiration time. | |||||
* | * | ||||
* <p>This gives the adapter the possibility cache streams sent to the | * <p>This gives the adapter the possibility cache streams sent to the | ||||
* client. The caching may be made in adapter or at the client if the | * client. The caching may be made in adapter or at the client if the |
return cacheTime; | return cacheTime; | ||||
} | } | ||||
/** Set lenght of cache expiracy time. | |||||
/** Set lenght of cache expiration time. | |||||
* | * | ||||
* <p>This gives the adapter the possibility cache streams sent to the | * <p>This gives the adapter the possibility cache streams sent to the | ||||
* client. The caching may be made in adapter or at the client if the | * client. The caching may be made in adapter or at the client if the |
return null; | return null; | ||||
} | } | ||||
/** Get lenght of cache expiracy time. | |||||
/** Get lenght of cache expiration time. | |||||
* This gives the adapter the possibility cache streams sent to the client. | * This gives the adapter the possibility cache streams sent to the client. | ||||
* The caching may be made in adapter or at the client if the client supports | * The caching may be made in adapter or at the client if the client supports | ||||
* caching. Default is DEFAULT_CACHETIME. | * caching. Default is DEFAULT_CACHETIME. | ||||
return cacheTime; | return cacheTime; | ||||
} | } | ||||
/** Set lenght of cache expiracy time. | |||||
/** Set lenght of cache expiration time. | |||||
* This gives the adapter the possibility cache streams sent to the client. | * This gives the adapter the possibility cache streams sent to the client. | ||||
* The caching may be made in adapter or at the client if the client supports | * The caching may be made in adapter or at the client if the client supports | ||||
* caching. Zero or negavive value disbales the caching of this stream. | * caching. Zero or negavive value disbales the caching of this stream. |
return FileTypeResolver.getMIMEType(sourceFile); | return FileTypeResolver.getMIMEType(sourceFile); | ||||
} | } | ||||
/** Get lenght of cache expiracy time. | |||||
/** Get lenght of cache expiration time. | |||||
* This gives the adapter the possibility cache streams sent to the client. | * This gives the adapter the possibility cache streams sent to the client. | ||||
* The caching may be made in adapter or at the client if the client supports | * The caching may be made in adapter or at the client if the client supports | ||||
* caching. Default is DownloadStream.DEFAULT_CACHETIME. | * caching. Default is DownloadStream.DEFAULT_CACHETIME. | ||||
return cacheTime; | return cacheTime; | ||||
} | } | ||||
/** Set lenght of cache expiracy time. | |||||
/** Set lenght of cache expiration time. | |||||
* This gives the adapter the possibility cache streams sent to the client. | * This gives the adapter the possibility cache streams sent to the client. | ||||
* The caching may be made in adapter or at the client if the client supports | * The caching may be made in adapter or at the client if the client supports | ||||
* caching. Zero or negavive value disbales the caching of this stream. | * caching. Zero or negavive value disbales the caching of this stream. |
return cacheTime; | return cacheTime; | ||||
} | } | ||||
/** Set lenght of cache expiracy time. | |||||
/** Set lenght of cache expiration time. | |||||
* | * | ||||
* <p>This gives the adapter the possibility cache streams sent to the | * <p>This gives the adapter the possibility cache streams sent to the | ||||
* client. The caching may be made in adapter or at the client if the | * client. The caching may be made in adapter or at the client if the |