org.opentripplanner.model.GraphBundle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.model;
import java.io.File;
import java.io.Serializable;
/**
* This is a bean that just holds the path of a serialized graph
*/
public final class GraphBundle implements Serializable {
private static final long serialVersionUID = 1L;
private File path;
public GraphBundle() {
}
public GraphBundle(File path) {
this.path = path;
}
public void setPath(File path) {
this.path = path;
}
public File getPath() {
return path;
}
public File getGraphPath() {
return new File(path,"graph.obj");
}
public File getExtraClassPath() {
return new File(path, "extraClasses");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy