Package org.xhtmlrenderer.util
Class StreamResource
- java.lang.Object
-
- org.xhtmlrenderer.util.StreamResource
-
- All Implemented Interfaces:
AutoCloseable
public class StreamResource extends Object implements AutoCloseable
User: pdoubleya Date: May 15, 2009
-
-
Constructor Summary
Constructors Constructor Description StreamResource(String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedInputStreambufferedStream()voidclose()voidconnect()booleanhasStreamLength()intstreamLength()
-
-
-
Constructor Detail
-
StreamResource
public StreamResource(String uri)
-
-
Method Detail
-
connect
public void connect()
-
hasStreamLength
public boolean hasStreamLength()
-
streamLength
public int streamLength()
-
bufferedStream
public BufferedInputStream bufferedStream() throws IOException
- Throws:
IOException
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-