Package com.stardog.stark.io.nquads

# Class NQuadsParser

java.lang.Object
com.stardog.stark.io.ntriples.NTParser
com.stardog.stark.io.nquads.NQuadsParser

All Implemented Interfaces:
  `RDFParser`

public final class NQuadsParser extends NTParser

Default implementation of a `parser` for the RDF NQuads syntax

Since:
  1.0
Version:
  1.0
Author:
  Michael Grove

- ## Field Summary

  ### Fields inherited from class com.stardog.stark.io.ntriples.NTParser

  `LOGGER`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NQuadsParser()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RDFFormat`
  `format()`
  The format this parser can parse
  `void`
  `parse(IOParserContext theContext)`
  `protected int`
  `parseContext(IOParserContext theContext, int theChar)`

  ### Methods inherited from class com.stardog.stark.io.ntriples.NTParser

  `assertLineTerminates, parse, parseNodeID, parseObject, parsePredicate, parseSubject, parseUriRef, skipLine, skipToEndOfLine, skipWhitespace`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface com.stardog.stark.io.RDFParser

  `parse`

- ## Constructor Details

  - ### NQuadsParser

    public NQuadsParser()

- ## Method Details

  - ### format

    @Nonnull public RDFFormat format()
    The format this parser can parse
    Specified by:
      `format` in interface `RDFParser`
    Overrides:
      `format` in class `NTParser`
    Returns:
      the format

  - ### parse

    public void parse(@Nonnull IOParserContext theContext) throws IOException
    Overrides:
      `parse` in class `NTParser`
    Throws:
      `IOException`

  - ### parseContext

    protected int parseContext(@Nonnull IOParserContext theContext, int theChar) throws IOException
    Throws:
      `IOException`