org.onebusaway.gtfs.csv
Class ZipFileCsvInputSource

java.lang.Object
  extended by org.onebusaway.gtfs.csv.ZipFileCsvInputSource
All Implemented Interfaces:
CsvInputSource

public class ZipFileCsvInputSource
extends java.lang.Object
implements CsvInputSource


Constructor Summary
ZipFileCsvInputSource(java.util.zip.ZipFile zipFile)
           
 
Method Summary
 void close()
           
 java.io.InputStream getResource(java.lang.String name)
           
 boolean hasResource(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipFileCsvInputSource

public ZipFileCsvInputSource(java.util.zip.ZipFile zipFile)
Method Detail

hasResource

public boolean hasResource(java.lang.String name)
                    throws java.io.IOException
Specified by:
hasResource in interface CsvInputSource
Throws:
java.io.IOException

getResource

public java.io.InputStream getResource(java.lang.String name)
                                throws java.io.IOException
Specified by:
getResource in interface CsvInputSource
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface CsvInputSource
Throws:
java.io.IOException


Copyright © 2011 OneBusAway. All Rights Reserved.