public abstract class AbstractReaderWriter extends Object implements GraphReaderWriter
Modifier and Type | Field and 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 and Description |
---|
AbstractReaderWriter()
Constructs an AbstractReaderWriter.
|
Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, write
public static final String GENERATOR
public static final String BUILDER
public static final String NODES
public static final String EDGES
public AbstractReaderWriter()
public void setProperty(String name)
name
- Name of propertypublic void setProperty(String name, Object obj)
GraphReaderWriter
setProperty
in interface GraphReaderWriter
name
- Name of the property.obj
- Value of the property.GraphReaderWriter.setProperty(String, Object)
public Object getProperty(String name)
GraphReaderWriter
getProperty
in interface GraphReaderWriter
name
- Name of the property.GraphReaderWriter.getProperty(String)
Copyright © 1996–2019 Geotools. All rights reserved.