パッケージ com.shimizukenta.secs.sml

インタフェース SmlMessageParser


public interface SmlMessageParser
This instance is implementation of SML-Parse.
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    static SmlMessageParser getInstance()
    Parser instance getter.
    SmlMessage parse​(java.io.Reader reader)
    Parse to SML-Message from Reader.
    SmlMessage parse​(java.lang.CharSequence cs)
    Parse to SML-Message from character sequence.
    SmlMessage parse​(java.nio.file.Path path)
    Parse to SML-Message from File Path.
  • メソッドの詳細

    • parse

      SmlMessage parse​(java.lang.CharSequence cs) throws SmlParseException
      Parse to SML-Message from character sequence.
      パラメータ:
      cs - SML-Format-Character-Sequence
      戻り値:
      SmlMessage
      例外:
      SmlParseException - if parse failed
    • parse

      SmlMessage parse​(java.io.Reader reader) throws SmlParseException, java.io.IOException
      Parse to SML-Message from Reader.
      パラメータ:
      reader - SML-Format-Reader
      戻り値:
      SMLMessage
      例外:
      SmlParseException - if parse failed
      java.io.IOException - if IO failed
    • parse

      SmlMessage parse​(java.nio.file.Path path) throws SmlParseException, java.io.IOException
      Parse to SML-Message from File Path.
      パラメータ:
      path - SML-Format-File-Path
      戻り値:
      SmlMessage
      例外:
      SmlParseException - if parse failed
      java.io.IOException - if IO failed
    • getInstance

      static SmlMessageParser getInstance()
      Parser instance getter.
      戻り値:
      parser