Package org.onebusaway.admin.bundle
Class AbstractBundleSource
- java.lang.Object
-
- org.onebusaway.admin.bundle.AbstractBundleSource
-
- Direct Known Subclasses:
DirectoryBundleSource
,DirectoryStagingBundleSource
public abstract class AbstractBundleSource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
BUNDLE_DATA_DIRNAME
protected static String
BUNDLE_INPUT_DIRNAME
protected static String
BUNDLE_OUTPUT_DIRNAME
-
Constructor Summary
Constructors Constructor Description AbstractBundleSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
arrayContainsItem(String[] array, String item)
File
getBundleFile(String bundleDirectory, String bundleId, String relativeFilePath)
String
getFilePath(String bundleId, String relativeFilePath)
-
-
-
Method Detail
-
getBundleFile
public File getBundleFile(String bundleDirectory, String bundleId, String relativeFilePath) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-