Interface Io<R extends GraphReader.ReaderBuilder,​W extends GraphWriter.WriterBuilder,​M extends Mapper.Builder>

    • Method Detail

      • reader

        R reader()
        Creates a GraphReader.ReaderBuilder implementation . Implementers should call the mapper() function to feed its result to the builder. In this way, custom class serializers registered to the Mapper.Builder by Graph implementations will end up being used for the serialization process.
      • writer

        W writer()
        Creates a GraphWriter.WriterBuilder implementation . Implementers should call the mapper() function to feed its result to the builder. In this way, custom class serializers registered to the Mapper.Builder by Graph implementations will end up being used for the serialization process.
      • mapper

        M mapper()
        Constructs a Mapper.Builder which is responsible for constructing the abstraction over different serialization methods. Implementations should set defaults as required, but most importantly need to make the appropriate call to Mapper.Builder.addRegistry(IoRegistry) which will provide the builder with any required custom serializers of the Graph.