|
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.
| public static ResourceServices |
getInstance()
Returns an instance of the ResourceServices |
| public URL |
getResource(String filename)
Returns the URL of the resource described by filename. |
| public BufferedInputStream |
getResourceAsBufferedStream(String filename)
Returns the BufferedInputStream of the resource described by filename. |
| public InputStream |
getResourceAsStream(String filename)
Returns the InputStream of the resource described by filename. |
instance
protected static ResourceServices instance
ResourceServices
ResourceServices()
getInstance
public static ResourceServices getInstance()
Returns an instance of the ResourceServices
getResource
public 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
getResourceAsBufferedStream
public 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
getResourceAsStream
public 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
Copyright © 2000, Dassault Systèmes. All rights reserved