Package org.apache.ivy.osgi.repo
Class FSManifestIterable
java.lang.Object
org.apache.ivy.osgi.repo.AbstractFSManifestIterable<File>
org.apache.ivy.osgi.repo.FSManifestIterable
- All Implemented Interfaces:
Iterable<ManifestAndLocation>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FilenameFilterDefault bundle filter that select only .jar filesstatic final FilenameFilterDeprecated.static final FilenameFilterDefault directory filter that doesn't select .svn directories, neither the directories that matchNON_BUNDLE_DIRS.List of directory name that usually contains jars but are not bundles -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected URIbuildBundleURI(File location) protected InputStreamlistBundleFiles(File dir) voidsetBundleFilter(FilenameFilter bundleFilter) voidsetDirFilter(FilenameFilter dirFilter) Methods inherited from class org.apache.ivy.osgi.repo.AbstractFSManifestIterable
iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
NON_BUNDLE_DIRS
List of directory name that usually contains jars but are not bundles -
DEFAULT_DIR_FILTER
Default directory filter that doesn't select .svn directories, neither the directories that matchNON_BUNDLE_DIRS. -
DEFAULT_BUNDLE_FILTER
Default bundle filter that select only .jar files -
DEFAULT_BUNLDE_FILTER
Deprecated.Deprecated because of renaming due spell check.
-
-
Constructor Details
-
FSManifestIterable
Default constructor- Parameters:
root- the root directory of the file system to lookup
-
-
Method Details
-
getDirFilter
-
setDirFilter
-
getBundleFilter
-
setBundleFilter
-
buildBundleURI
- Specified by:
buildBundleURIin classAbstractFSManifestIterable<File>
-
getInputStream
- Specified by:
getInputStreamin classAbstractFSManifestIterable<File>- Throws:
FileNotFoundException
-
listBundleFiles
- Specified by:
listBundleFilesin classAbstractFSManifestIterable<File>- Throws:
IOException
-
listDirs
- Specified by:
listDirsin classAbstractFSManifestIterable<File>- Throws:
IOException
-