StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.sandbox
Class ResourceImpl

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

synchronized class ResourceImpl
extends java.lang.Object
implements com.sun.star.lib.sandbox.Resource


Field Summary
private static boolean DEBUG
           
private  byte[] bytes
           
private static int instances
           
private  java.lang.Object object
           
private  com.sun.star.lib.sandbox.ProtectionDomain protectionDomain
           
private  java.lang.String type
           
private  java.net.URL url
           
 
Constructor Summary
ResourceImpl(java.net.URL url, byte[] b, com.sun.star.lib.sandbox.ProtectionDomain pd)
           
 
Method Summary
 void finalize()
           
 java.applet.AudioClip getAudioClip()
           
 byte[] getBytes()
           
 java.lang.Object getContent()
           
 java.awt.image.ImageProducer getImageProducer()
           
 java.io.InputStream getInputStream()
           
 com.sun.star.lib.sandbox.ProtectionDomain getProtectionDomain()
           
 java.net.URL getURL()
           
private  void guessType()
           
 void loadJar(java.net.URL url)
           
 
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

bytes

private byte[] bytes

instances

private static int instances

object

private java.lang.Object object

protectionDomain

private com.sun.star.lib.sandbox.ProtectionDomain protectionDomain

type

private java.lang.String type

url

private java.net.URL url
Constructor Detail

ResourceImpl

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

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

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

guessType

private void guessType()

loadJar

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

StarOffice 5.2 API
reverse engineered by classdoc