org.onebusaway.gtfs.services
Class MockGtfs

java.lang.Object
  extended by org.onebusaway.gtfs.services.MockGtfs

public class MockGtfs
extends Object


Constructor Summary
MockGtfs(File path)
           
 
Method Summary
static MockGtfs create()
           
 File getPath()
           
 void putDefaultAgencies()
           
 void putDefaultCalendar()
           
 void putDefaultRoutes()
           
 void putDefaultStops()
           
 void putDefaultStopTimes()
           
 void putDefaultTrips()
           
 void putFile(String fileName, File file)
           
 void putFile(String fileName, String content)
           
 void putLines(String fileName, String... rows)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockGtfs

public MockGtfs(File path)
Method Detail

create

public static MockGtfs create()
                       throws IOException
Throws:
IOException

getPath

public File getPath()

putFile

public void putFile(String fileName,
                    String content)

putFile

public void putFile(String fileName,
                    File file)
             throws IOException
Throws:
IOException

putLines

public void putLines(String fileName,
                     String... rows)

putDefaultAgencies

public void putDefaultAgencies()

putDefaultRoutes

public void putDefaultRoutes()

putDefaultStops

public void putDefaultStops()

putDefaultCalendar

public void putDefaultCalendar()

putDefaultTrips

public void putDefaultTrips()

putDefaultStopTimes

public void putDefaultStopTimes()


Copyright © 2012 OneBusAway. All Rights Reserved.