NetKernel APIs


com.ten60.netkernel.urii.aspect
Interface IAspectReadableBinaryStream

All Superinterfaces:
IAspectBinaryStream, IURAspect
All Known Implementing Classes:
ByteArrayAspect, ModuleResourceRepresentation, ReadableURLAspect, StringAspect, StringAspect

public interface IAspectReadableBinaryStream
extends IAspectBinaryStream

Interface for a representation holding a binary stream that can be read as input stream


Method Summary
 int getContentLength()
          Return the length of the stream, -1 means unknown length
 java.io.InputStream getInputStream()
          Return an input stream to read the data
 
Methods inherited from interface com.ten60.netkernel.urii.aspect.IAspectBinaryStream
getEncoding, write
 

Method Detail

getContentLength

int getContentLength()
Return the length of the stream, -1 means unknown length


getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Return an input stream to read the data

Throws:
java.io.IOException

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.