org.onemind.swingweb.resource
Class BufferedByteResource

java.lang.Object
  extended byorg.onemind.swingweb.resource.AbstractResource
      extended byorg.onemind.swingweb.resource.BufferedByteResource
All Implemented Interfaces:
Resource

public class BufferedByteResource
extends AbstractResource

Resource of buffered byte

Author:
TiongHiang Lee (thlee@onemindsoft.org)

Constructor Summary
BufferedByteResource(java.lang.String id, java.lang.String type, byte[] bytes)
           
 
Method Summary
 java.io.InputStream getInputStream()
          Get the url
 java.lang.Object getObject()
          {@inheritDoc}
 
Methods inherited from class org.onemind.swingweb.resource.AbstractResource
equals, getId, getResourceObject, getType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedByteResource

public BufferedByteResource(java.lang.String id,
                            java.lang.String type,
                            byte[] bytes)
Method Detail

getObject

public java.lang.Object getObject()
{@inheritDoc}


getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Get the url

Returns:
the url
Throws:
java.io.IOException


Copyright © 2004-2007 . All Rights Reserved.