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 FilenameFilter
Default bundle filter that select only .jar filesstatic final FilenameFilter
Deprecated.static final FilenameFilter
Default 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 URI
buildBundleURI
(File location) protected InputStream
listBundleFiles
(File dir) void
setBundleFilter
(FilenameFilter bundleFilter) void
setDirFilter
(FilenameFilter dirFilter) Methods inherited from class org.apache.ivy.osgi.repo.AbstractFSManifestIterable
iterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
buildBundleURI
in classAbstractFSManifestIterable<File>
-
getInputStream
- Specified by:
getInputStream
in classAbstractFSManifestIterable<File>
- Throws:
FileNotFoundException
-
listBundleFiles
- Specified by:
listBundleFiles
in classAbstractFSManifestIterable<File>
- Throws:
IOException
-
listDirs
- Specified by:
listDirs
in classAbstractFSManifestIterable<File>
- Throws:
IOException
-