All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.model.GraphBundle Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy