jp.sf.grizzly.storage.impl
クラス ByteArrayStreamStorageImpl

java.lang.Object
  上位を拡張 jp.sf.grizzly.storage.impl.ByteArrayStreamStorageImpl
すべての実装されたインタフェース:
StreamStorage

public class ByteArrayStreamStorageImpl
extends java.lang.Object
implements StreamStorage


コンストラクタの概要
ByteArrayStreamStorageImpl(java.io.InputStream in, java.lang.String encoding)
           
 
メソッドの概要
 void commit()
          Commits a written output stream, and then you can get the commited stream from getInputStream().
 void destroy()
          Destroys instances, such as caches, in this class
 java.lang.String getEncoding()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 java.io.InputStream getResultInputStream()
           
 void init(java.io.InputStream in, java.lang.String encoding)
          Initialize this StreamStorage object.
 void setEncoding(java.lang.String encoding)
           
 void setInputStream(java.io.InputStream inputStream)
           
 void setOutputStream(java.io.OutputStream outputStream)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ByteArrayStreamStorageImpl

public ByteArrayStreamStorageImpl(java.io.InputStream in,
                                  java.lang.String encoding)
                           throws StreamStorageException
例外:
StreamStorageException
メソッドの詳細

init

public void init(java.io.InputStream in,
                 java.lang.String encoding)
          throws StreamStorageException
インタフェース StreamStorage の記述:
Initialize this StreamStorage object.

定義:
インタフェース StreamStorage 内の init
パラメータ:
in - an input stream that you want to convert
encoding - an encoding for the given input stream
例外:
StreamStorageException

destroy

public void destroy()
インタフェース StreamStorage の記述:
Destroys instances, such as caches, in this class

定義:
インタフェース StreamStorage 内の destroy

commit

public void commit()
            throws StreamStorageException
インタフェース StreamStorage の記述:
Commits a written output stream, and then you can get the commited stream from getInputStream().

定義:
インタフェース StreamStorage 内の commit
例外:
StreamStorageException

getResultInputStream

public java.io.InputStream getResultInputStream()
                                         throws StreamStorageException
定義:
インタフェース StreamStorage 内の getResultInputStream
戻り値:
Returns the converted byte stream.
例外:
StreamStorageException

getEncoding

public java.lang.String getEncoding()
定義:
インタフェース StreamStorage 内の getEncoding
戻り値:
Returns the encoding.

setEncoding

public void setEncoding(java.lang.String encoding)
パラメータ:
encoding - The encoding to set.

getInputStream

public java.io.InputStream getInputStream()
定義:
インタフェース StreamStorage 内の getInputStream
戻り値:
Returns the inputStream.

setInputStream

public void setInputStream(java.io.InputStream inputStream)
パラメータ:
inputStream - The inputStream to set.

getOutputStream

public java.io.OutputStream getOutputStream()
定義:
インタフェース StreamStorage 内の getOutputStream
戻り値:
Returns the outputStream.

setOutputStream

public void setOutputStream(java.io.OutputStream outputStream)
パラメータ:
outputStream - The outputStream to set.


Copyright © 2003-2006 SourceForge.jp - Grizzly. All Rights Reserved.