Woolpack API

woolpack.factory
クラス StringInputStreamFactory

java.lang.Object
  上位を拡張 woolpack.factory.StringInputStreamFactory
すべての実装されたインタフェース:
Fn<java.lang.Object,java.io.InputStream,java.io.UnsupportedEncodingException>

public class StringInputStreamFactory
extends java.lang.Object
implements Fn<java.lang.Object,java.io.InputStream,java.io.UnsupportedEncodingException>


コンストラクタの概要
StringInputStreamFactory(java.lang.String charset, java.lang.String content)
           
 
メソッドの概要
 java.io.InputStream exec(java.lang.Object c)
          関数を実行します。
 java.lang.String getCharset()
           
 java.lang.String getContent()
           
 void setCharset(java.lang.String charset)
           
 void setContent(java.lang.String s)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StringInputStreamFactory

public StringInputStreamFactory(java.lang.String charset,
                                java.lang.String content)
メソッドの詳細

exec

public java.io.InputStream exec(java.lang.Object c)
                         throws java.io.UnsupportedEncodingException
インタフェース Fn の記述:
関数を実行します。

定義:
インタフェース Fn<java.lang.Object,java.io.InputStream,java.io.UnsupportedEncodingException> 内の exec
パラメータ:
c - コンテキスト役。
戻り値:
返却値。
例外:
java.io.UnsupportedEncodingException

getCharset

public java.lang.String getCharset()

setCharset

public void setCharset(java.lang.String charset)

getContent

public java.lang.String getContent()

setContent

public void setContent(java.lang.String s)

Woolpack API

Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.