kz.gamma.cms
Class CMSTypedStream

java.lang.Object
  extended by kz.gamma.cms.CMSTypedStream

public class CMSTypedStream
extends java.lang.Object


Nested Class Summary
private  class CMSTypedStream.FullReaderStream
           
 
Field Summary
private  int _bufSize
           
private  java.io.InputStream _in
           
private  java.lang.String _oid
           
private static int BUF_SIZ
           
 
Constructor Summary
CMSTypedStream(java.io.InputStream in)
           
CMSTypedStream(java.lang.String oid, java.io.InputStream in)
           
CMSTypedStream(java.lang.String oid, java.io.InputStream in, int bufSize)
           
 
Method Summary
 void drain()
           
 java.io.InputStream getContentStream()
           
 java.lang.String getContentType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUF_SIZ

private static final int BUF_SIZ
See Also:
Constant Field Values

_oid

private final java.lang.String _oid

_in

private final java.io.InputStream _in

_bufSize

private final int _bufSize
Constructor Detail

CMSTypedStream

public CMSTypedStream(java.io.InputStream in)

CMSTypedStream

public CMSTypedStream(java.lang.String oid,
                      java.io.InputStream in)

CMSTypedStream

public CMSTypedStream(java.lang.String oid,
                      java.io.InputStream in,
                      int bufSize)
Method Detail

getContentType

public java.lang.String getContentType()

getContentStream

public java.io.InputStream getContentStream()

drain

public void drain()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.