StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.sandbox
Class ResourceProxy

java.lang.Object
  |
  +--com.sun.star.lib.sandbox.ResourceProxy
All Implemented Interfaces:
com.sun.star.lib.sandbox.Cachable, com.sun.star.lib.sandbox.Resource

public synchronized class ResourceProxy
extends java.lang.Object
implements com.sun.star.lib.sandbox.Cachable, com.sun.star.lib.sandbox.Resource


Field Summary
private static boolean DEBUG
           
private static int instances
           
private  com.sun.star.lib.sandbox.Resource resource
           
private  com.sun.star.lib.sandbox.WeakRef weakRef
           
 
Constructor Summary
  ResourceProxy()
           
private ResourceProxy(java.net.URL url, byte[] b, com.sun.star.lib.sandbox.ProtectionDomain pd)
           
 
Method Summary
static com.sun.star.lib.sandbox.ResourceProxy create(java.net.URL url, byte[] b, com.sun.star.lib.sandbox.ProtectionDomain pd)
           
 void finalize()
           
 java.applet.AudioClip getAudioClip()
           
 byte[] getBytes()
           
 java.lang.Object getContent()
           
 java.lang.Object getHardObject()
           
 java.awt.image.ImageProducer getImageProducer()
           
 java.io.InputStream getInputStream()
           
 com.sun.star.lib.sandbox.ProtectionDomain getProtectionDomain()
           
 java.net.URL getURL()
           
(package private) static boolean isResource(java.net.URL url)
           
static com.sun.star.lib.sandbox.ResourceProxy load(java.net.URL url, com.sun.star.lib.sandbox.ProtectionDomain pd)
           
 void loadJar(java.net.URL url)
           
 void setWeakRef(com.sun.star.lib.sandbox.WeakRef wr)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG

instances

private static int instances

resource

private com.sun.star.lib.sandbox.Resource resource

weakRef

private com.sun.star.lib.sandbox.WeakRef weakRef
Constructor Detail

ResourceProxy

public ResourceProxy()

ResourceProxy

private ResourceProxy(java.net.URL url,
                      byte[] b,
                      com.sun.star.lib.sandbox.ProtectionDomain pd)
Method Detail

create

public static com.sun.star.lib.sandbox.ResourceProxy create(java.net.URL url,
                                                            byte[] b,
                                                            com.sun.star.lib.sandbox.ProtectionDomain pd)

finalize

public void finalize()

getAudioClip

public java.applet.AudioClip getAudioClip()
Specified by:
getAudioClip in interface com.sun.star.lib.sandbox.Resource

getBytes

public byte[] getBytes()
                throws java.io.IOException
Specified by:
getBytes in interface com.sun.star.lib.sandbox.Resource

getContent

public java.lang.Object getContent()
                            throws java.io.IOException
Specified by:
getContent in interface com.sun.star.lib.sandbox.Resource

getHardObject

public java.lang.Object getHardObject()
Specified by:
getHardObject in interface com.sun.star.lib.sandbox.Cachable

getImageProducer

public java.awt.image.ImageProducer getImageProducer()
Specified by:
getImageProducer in interface com.sun.star.lib.sandbox.Resource

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface com.sun.star.lib.sandbox.Resource

getProtectionDomain

public com.sun.star.lib.sandbox.ProtectionDomain getProtectionDomain()
Specified by:
getProtectionDomain in interface com.sun.star.lib.sandbox.Resource

getURL

public java.net.URL getURL()
Specified by:
getURL in interface com.sun.star.lib.sandbox.Resource

isResource

static boolean isResource(java.net.URL url)

load

public static com.sun.star.lib.sandbox.ResourceProxy load(java.net.URL url,
                                                          com.sun.star.lib.sandbox.ProtectionDomain pd)

loadJar

public void loadJar(java.net.URL url)
             throws java.io.IOException
Specified by:
loadJar in interface com.sun.star.lib.sandbox.Resource

setWeakRef

public void setWeakRef(com.sun.star.lib.sandbox.WeakRef wr)
Specified by:
setWeakRef in interface com.sun.star.lib.sandbox.Cachable

StarOffice 5.2 API
reverse engineered by classdoc