Package org.apache.ivy.osgi.repo
Class FSManifestIterable
- java.lang.Object
-
- org.apache.ivy.osgi.repo.AbstractFSManifestIterable
-
- org.apache.ivy.osgi.repo.FSManifestIterable
-
public class FSManifestIterable extends AbstractFSManifestIterable
-
-
Field Summary
Fields Modifier and Type Field Description static java.io.FilenameFilterDEFAULT_BUNLDE_FILTERDefault bundle filter that select only .jar filesstatic java.io.FilenameFilterDEFAULT_DIR_FILTERDefault directory filter that doesn't select .svn directories, neither the directories that matchNON_BUNDLE_DIRS.static java.util.SetNON_BUNDLE_DIRSList of directory name that usually contains jars but are not bundles
-
Constructor Summary
Constructors Constructor Description FSManifestIterable(java.io.File root)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URIbuildBundleURI(java.lang.Object location)java.io.FilenameFiltergetBundleFilter()java.io.FilenameFiltergetDirFilter()protected java.io.InputStreamgetInputStream(java.lang.Object f)protected java.util.ListlistBundleFiles(java.lang.Object dir)protected java.util.ListlistDirs(java.lang.Object dir)voidsetBundleFilter(java.io.FilenameFilter bundleFilter)voidsetDirFilter(java.io.FilenameFilter dirFilter)-
Methods inherited from class org.apache.ivy.osgi.repo.AbstractFSManifestIterable
iterator
-
-
-
-
Field Detail
-
NON_BUNDLE_DIRS
public static final java.util.Set NON_BUNDLE_DIRS
List of directory name that usually contains jars but are not bundles
-
DEFAULT_DIR_FILTER
public static final java.io.FilenameFilter DEFAULT_DIR_FILTER
Default directory filter that doesn't select .svn directories, neither the directories that matchNON_BUNDLE_DIRS.
-
DEFAULT_BUNLDE_FILTER
public static final java.io.FilenameFilter DEFAULT_BUNLDE_FILTER
Default bundle filter that select only .jar files
-
-
Method Detail
-
getDirFilter
public java.io.FilenameFilter getDirFilter()
-
setDirFilter
public void setDirFilter(java.io.FilenameFilter dirFilter)
-
getBundleFilter
public java.io.FilenameFilter getBundleFilter()
-
setBundleFilter
public void setBundleFilter(java.io.FilenameFilter bundleFilter)
-
buildBundleURI
protected java.net.URI buildBundleURI(java.lang.Object location)
- Specified by:
buildBundleURIin classAbstractFSManifestIterable
-
getInputStream
protected java.io.InputStream getInputStream(java.lang.Object f) throws java.io.FileNotFoundException- Specified by:
getInputStreamin classAbstractFSManifestIterable- Throws:
java.io.FileNotFoundException
-
listBundleFiles
protected java.util.List listBundleFiles(java.lang.Object dir)
- Specified by:
listBundleFilesin classAbstractFSManifestIterable
-
listDirs
protected java.util.List listDirs(java.lang.Object dir)
- Specified by:
listDirsin classAbstractFSManifestIterable
-
-