|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.argius.stu.io.TableWriter
net.argius.stu.io.PrinterTableWriter
テーブルイメージを「プリンタ」へ出力するテーブルライタです。
コンストラクタの概要 | |
PrinterTableWriter(Printer printer,
int[] sizes)
「プリンタ」テーブルライタを生成します。 |
|
PrinterTableWriter(Printer printer,
int[] sizes,
char delimiter)
「プリンタ」テーブルライタを生成します。 |
メソッドの概要 | |
void |
close()
「プリンタ」をクローズします。 |
void |
open()
「プリンタ」をオープンします。 |
protected void |
writeLine(List columns)
現在の行を出力します。 |
クラス net.argius.stu.io.TableWriter から継承したメソッド |
addColumn, getLineNumber, insertColumn, nextRow |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public PrinterTableWriter(Printer printer, int[] sizes)
-
(ハイフン)が適用されます。
printer
- 「プリンタ」sizes
- カラム出力サイズの配列public PrinterTableWriter(Printer printer, int[] sizes, char delimiter)
printer
- 「プリンタ」sizes
- カラム出力サイズの配列delimiter
- デリミタ(分割に使用する文字)メソッドの詳細 |
public void open() throws IOException
TableWriter
内の open
IOException
- 入出力エラーpublic void close() throws IOException
TableWriter
内の close
IOException
- 入出力エラーprotected void writeLine(List columns) throws IOException
TableWriter
内の writeLine
columns
- 現在行の列リスト
IOException
- 入出力エラー
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |