Package com.dassault_systemes.catweb.tools.resource |
java.lang.Object
|
+-com.dassault_systemes.catweb.tools.resource.ResourceServices
Framework : PortalBase
Module : PLBtools
public class ResourceServices
File resource services.
This class offers services for acess and load of files of the runtime view.
instance
ResourceServices instance
ResourceServices
ResourceServices()
getInstance
ResourceServices getInstance()
Returns an instance of the ResourceServices
getResource
URL getResource(String filename)
Returns the URL of the resource described by filename.
Searchs the resource with the fileName in the classpath directories,
and after in the CodeBase of the application.
- See Also:
- java.net.URL
getResourceAsStream
InputStream getResourceAsStream(String filename)
Returns the InputStream of the resource described by filename.
Searchs the resource with the fileName in the classpath directories,
and after in the CodeBase of the application.
- See Also:
- java.io.InputStream
getResourceAsBufferedStream
BufferedInputStream getResourceAsBufferedStream(String filename)
Returns the BufferedInputStream of the resource described by filename.
Searchs the resource with the fileName in the classpath directories,
and after in the CodeBase of the application.
- See Also:
- java.io.BufferedInputStream
Copyright © 2000, Dassault Systèmes. All rights reserved