com.liferay.faces.util.io
Class ResourceOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by com.liferay.faces.util.io.ResourceOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class ResourceOutputStream
extends ByteArrayOutputStream

This class represents a buffered output stream that is associated with a Resource.

Author:
Neil Griffin

Field Summary
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
ResourceOutputStream(javax.faces.application.Resource resource, int size)
           
 
Method Summary
 javax.faces.application.Resource getResource()
           
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceOutputStream

public ResourceOutputStream(javax.faces.application.Resource resource,
                            int size)
Method Detail

getResource

public javax.faces.application.Resource getResource()


Copyright © 2015 Liferay, Inc.. All rights reserved.