jp.sf.grizzly.storage
インタフェース StreamStorage

既知の実装クラスの一覧:
ByteArrayStreamStorageImpl, FileStreamStorageImpl

public interface StreamStorage


メソッドの概要
 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.
 

メソッドの詳細

init

void init(java.io.InputStream in,
          java.lang.String encoding)
          throws StreamStorageException
Initialize this StreamStorage object.

パラメータ:
in - an input stream that you want to convert
encoding - an encoding for the given input stream
例外:
StreamStorageException

destroy

void destroy()
Destroys instances, such as caches, in this class


commit

void commit()
            throws StreamStorageException
Commits a written output stream, and then you can get the commited stream from getInputStream().

例外:
StreamStorageException

getResultInputStream

java.io.InputStream getResultInputStream()
                                         throws StreamStorageException
戻り値:
Returns the converted byte stream.
例外:
StreamStorageException

getEncoding

java.lang.String getEncoding()
戻り値:
Returns the encoding.

getInputStream

java.io.InputStream getInputStream()
戻り値:
Returns the inputStream.

getOutputStream

java.io.OutputStream getOutputStream()
戻り値:
Returns the outputStream.


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