Class AbstractReaderWriter

    • Field Summary

      Modifier and Type Field Description
      static String BUILDER
      GraphBuilder property key *
      static String EDGES
      Edge write / read flag *
      static String GENERATOR
      GraphGenerator property key *
      static String NODES
      Node write / read flag *
    • Constructor Summary

      Constructor Description
      Constructs an AbstractReaderWriter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object getProperty​(String name)
      Returns a property for the reader/writer.
      void setProperty​(String name)
      Sets a property.
      void setProperty​(String name, Object obj)
      Sets a property for the reader/writer.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractReaderWriter

        public AbstractReaderWriter()
        Constructs an AbstractReaderWriter.
    • Method Detail

      • setProperty

        public void setProperty​(String name)
        Sets a property. Some properties dont have values associated with them, they are just set, and unset.
        name - Name of property
      • getProperty

        public Object getProperty​(String name)
        Description copied from interface: GraphReaderWriter
        Returns a property for the reader/writer. This method will return null if the property has not been set with a call to setProperty(String,Object).
        Specified by:
        getProperty in interface GraphReaderWriter
        name - Name of the property.
        Value of the property or null if the property is undefined.
        See Also: