Home | Trees | Indices | Help |
|
---|
|
object --+ | resource.IResource --+ | application_resource.IApplicationResource --+ | FileResource
FileResources
are files or directories on local
filesystem. The files and directories are served through URI:s to the
client terminal and thus must be registered to an URI context before they
can be used. The resource is automatically registered to the application
when it is created.
Version: 1.1.2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Creates a new file resource for providing given file for client terminals.
|
Gets the resource as stream. See Also: IApplicationResource.getStream |
Gets the source file.
|
Sets the source file.
|
Gets the application of the resource. See Also: IApplicationResource.getApplication |
Gets the virtual filename for this resource.
See Also: IApplicationResource.getFilename |
Gets the MIME type of the resource.
See Also: IResource.getMIMEType |
Gets the length of cache expiration time. 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 caching. Default is
|
Sets the length of cache expiration time. 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 caching. Zero or negavive value disbales the caching of this stream.
|
Gets the size of the download buffer used for this resource. If the buffer size is 0, the buffer size is decided by the terminal adapter. The default value is 0.
|
Sets the size of the download buffer used for this resource.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 20 16:01:20 2013 | http://epydoc.sourceforge.net |