org.expasy.jpl.commons.collection.graph
Class GraphExporter.Builder<V,E>
java.lang.Object
org.expasy.jpl.commons.collection.graph.GraphExporter.Builder<V,E>
- All Implemented Interfaces:
- InstanceBuilder<GraphExporter<V,E>>
- Enclosing class:
- GraphExporter<V,E>
public static class GraphExporter.Builder<V,E>
- extends Object
- implements InstanceBuilder<GraphExporter<V,E>>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphExporter.Builder
public GraphExporter.Builder()
printStream
public GraphExporter.Builder<V,E> printStream(PrintStream ps)
predicate
public GraphExporter.Builder<V,E> predicate(org.apache.commons.collections15.Predicate<V> predicate)
edgeValueTransformer
public GraphExporter.Builder<V,E> edgeValueTransformer(org.apache.commons.collections15.Transformer<E,String> transformer)
build
public GraphExporter<V,E> build()
throws BuilderException
- Description copied from interface:
InstanceBuilder
- Build an instance of
T-type object.
- Specified by:
build in interface InstanceBuilder<GraphExporter<V,E>>
- Returns:
- an instance of
T.
- Throws:
BuilderException - - if conditions to build T are not
satisfied.
Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.