Class JsonStreamLoader

java.lang.Object
com.semedy.reasoner.core.JsonStreamLoader

public class JsonStreamLoader extends Object
Stream based Json loader. Reads Json by Json.
Author:
angele
  • Constructor Details

    • JsonStreamLoader

      public JsonStreamLoader()
  • Method Details

    • open

      public void open(String path) throws IOException
      open new Json file
      Parameters:
      path - , path to Json file
      Throws:
      IOException
    • parseNextJson

      public String parseNextJson() throws IOException
      Read next Json from file.
      returns null if file end is reached
      Returns:
      one Json as string
      Throws:
      IOException
    • readNextChar

      public void readNextChar() throws IOException
      Throws:
      IOException