インタフェース SmlMessage
public interface SmlMessage
This interface is implementation of SML (Peer-Group).
- This instance get from
of(CharSequence) - This instance get from
of(java.io.Reader) - This instance get from
of(java.nio.file.Path) - This instance get from
SmlMessageParser.parse(CharSequence)
- To get SECS-II-Stream-Number,
getStream() - To get SECS-II-Function-Number,
getFunction() - To get SECS-II-WBit,
wbit() - To get SECS-II-Data,
secs2()
Instances of this class are immutable.
-
メソッドの概要
修飾子とタイプ メソッド 説明 static SmlMessagefrom(java.io.Reader reader)推奨されていません。static SmlMessagefrom(java.lang.CharSequence cs)推奨されていません。static SmlMessagefrom(java.nio.file.Path path)推奨されていません。intgetFunction()Returns SML SECS-II-Function-Number.intgetStream()Returns SML SECS-II-Stream-Number.static SmlMessageof(java.io.Reader reader)Returns SmlMessage instance of Reader.static SmlMessageof(java.lang.CharSequence cs)Returns SmlMessage instance of character sequence.static SmlMessageof(java.nio.file.Path path)Returns SmlMessage instance of File-path.Secs2secs2()Returns SML SECS-II-Data.booleanwbit()Returns SML SECS-II-WBit.
-
メソッドの詳細
-
getStream
int getStream()Returns SML SECS-II-Stream-Number.- 戻り値:
- stream-number
-
getFunction
int getFunction()Returns SML SECS-II-Function-Number.- 戻り値:
- function-number
-
wbit
boolean wbit()Returns SML SECS-II-WBit.- 戻り値:
trueif Wbit is1
-
secs2
Secs2 secs2()Returns SML SECS-II-Data.- 戻り値:
- SECS-II-Data
-
of
Returns SmlMessage instance of character sequence.- パラメータ:
cs- the SML character sequence- 戻り値:
- SML-Message instance.
- 例外:
SmlParseException- if parse failed
-
of
Returns SmlMessage instance of Reader.- パラメータ:
reader- the reader- 戻り値:
- SmlMessage
- 例外:
SmlParseException- if parse failedjava.io.IOException- if IO failed
-
of
Returns SmlMessage instance of File-path.- パラメータ:
path- SML file path- 戻り値:
- SmlMessage
- 例外:
SmlParseException- if parse failedjava.io.IOException- if IO failed
-
from
推奨されていません。Returns SmlMessage instance from character sequence.- パラメータ:
cs- the SML character sequence- 戻り値:
- SML-Message instance.
- 例外:
SmlParseException- if parse failed
-
from
@Deprecated static SmlMessage from(java.io.Reader reader) throws SmlParseException, java.io.IOException推奨されていません。Returns SmlMessage instance from Reader.- パラメータ:
reader- the reader- 戻り値:
- SmlMessage
- 例外:
SmlParseException- if parse failedjava.io.IOException- if IO failed
-
from
@Deprecated static SmlMessage from(java.nio.file.Path path) throws SmlParseException, java.io.IOException推奨されていません。Returns SmlMessage instance from File-path.- パラメータ:
path- the SMl file path- 戻り値:
- SmlMessage
- 例外:
SmlParseException- if parse failedjava.io.IOException- if IO failed
-