|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.mklab.nfc.matx.MatxAbstractObject
org.mklab.nfc.matx.MatxInteger
public final class MatxInteger
MX形式とMM形式の整数の入出力処理をするクラスです。
コンストラクタの概要 | |
---|---|
MatxInteger(int data)
コンストラクター |
メソッドの概要 | |
---|---|
Object |
clone()
Object#clone() |
static int |
readMxFormat(InputStream input)
MX形式の入力ストリームから入力します。 |
static int |
readMxFormat(MxDataHead head,
InputStream input)
MX形式の入力ストリームから入力します。 |
String |
toMmString()
MM形式の文字列を生成します。 |
String |
toMmString(String format)
MM形式の文字列を生成します。 |
static void |
writeMmFormat(int value,
Writer output,
String name)
MM形式でライターへ出力します。 |
static void |
writeMmFormat(int value,
Writer output,
String name,
boolean withNewLine)
MM形式でライターへ出力します。 |
void |
writeMmFormat(Writer output,
String name,
boolean withNewLine)
MMフォーマット行列データをライターに出力します。 |
static void |
writeMxFormat(int value,
OutputStream output,
String name)
MX形式で出力ストリームに出力します。 |
void |
writeMxFormat(OutputStream output,
String name)
データをMX形式で出力ストリームへ出力します。 |
クラス org.mklab.nfc.matx.MatxAbstractObject から継承されたメソッド |
---|
writeMmFormat, writeMxFormat |
クラス java.lang.Object から継承されたメソッド |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public MatxInteger(int data)
data
- 整数データメソッドの詳細 |
---|
public static int readMxFormat(InputStream input) throws IOException
input
- 入力ストリーム
IOException
- 入力ストリームから入力できない場合public static int readMxFormat(MxDataHead head, InputStream input) throws IOException
input
- 入力ストリームhead
- ヘッダ情報
IOException
- 入力ストリームから入力できない場合public void writeMmFormat(Writer output, String name, boolean withNewLine) throws IOException
MatxObject
の記述:
MatxObject
内の writeMmFormat
output
- ライターname
- 名前withNewLine
- セミコロンと改行コードを出力するならばtrue、そうでなければfalse
IOException
- ライターに出力できない場合MatxObject.writeMmFormat(java.io.Writer,
java.lang.String, boolean)
public static void writeMmFormat(int value, Writer output, String name) throws IOException
value
- 出力する整数output
- ライターname
- 変数名
IOException
- ライターへ出力できない場合public static void writeMmFormat(int value, Writer output, String name, boolean withNewLine) throws IOException
value
- 出力する整数output
- ライターname
- 変数名withNewLine
- 改行するならばtrue、そうでなければfalse
IOException
- ライター出力できない場合public static void writeMxFormat(int value, OutputStream output, String name) throws IOException
value
- 出力する整数output
- 出力ストリームname
- 変数名
IOException
- ストリームに出力できない場合public void writeMxFormat(OutputStream output, String name) throws IOException
MatxObject
の記述:
MatxObject
内の writeMxFormat
output
- 出力ストリームname
- データの名前
IOException
- 出力ストリームに出力できない場合MatxObject.writeMxFormat(java.io.OutputStream,
java.lang.String)
public Object clone()
Object
内の clone
public String toMmString()
MatxObject
の記述:
MatxObject
内の toMmString
MatxObject.toMmString()
public String toMmString(String format)
MatxObject
の記述:
MatxObject
内の toMmString
format
- 出力フォーマット
MatxObject.toMmString(java.lang.String)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |