woolpack.utils
クラス AppendableWriter
java.lang.Object
java.io.Writer
woolpack.utils.AppendableWriter
- すべての実装されたインタフェース:
- Closeable, Flushable, Appendable
public class AppendableWriter
- extends Writer
Writer
からAppendable
へのアダプタです。
Writer
のみを引数として持つ機能に対してAppendable
を作用させる際に使用します。
適用しているデザインパターン:Appendable
のAdapter。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppendableWriter
public AppendableWriter(Appendable appendable)
append
public Writer append(CharSequence csq)
throws IOException
- 定義:
- インタフェース
Appendable
内の append
- オーバーライド:
- クラス
Writer
内の append
- 例外:
IOException
append
public Writer append(CharSequence csq,
int start,
int end)
throws IOException
- 定義:
- インタフェース
Appendable
内の append
- オーバーライド:
- クラス
Writer
内の append
- 例外:
IOException
append
public Writer append(char c)
throws IOException
- 定義:
- インタフェース
Appendable
内の append
- オーバーライド:
- クラス
Writer
内の append
- 例外:
IOException
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- 定義:
- クラス
Writer
内の write
- 例外:
IOException
write
public void write(int c)
throws IOException
- オーバーライド:
- クラス
Writer
内の write
- 例外:
IOException
write
public void write(String str)
throws IOException
- オーバーライド:
- クラス
Writer
内の write
- 例外:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- オーバーライド:
- クラス
Writer
内の write
- 例外:
IOException
flush
public void flush()
throws IOException
- 定義:
- インタフェース
Flushable
内の flush
- 定義:
- クラス
Writer
内の flush
- 例外:
IOException
close
public void close()
throws IOException
- 定義:
- インタフェース
Closeable
内の close
- 定義:
- クラス
Writer
内の close
- 例外:
IOException
getAppendable
public Appendable getAppendable()
setAppendable
public void setAppendable(Appendable appendable)
Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.