Interface SubstitutableFactory
-
- All Known Implementing Classes:
SubstituableFactoryImpl
public interface SubstitutableFactoryFactory to retrieve all theSubstitutableentries from aFileEntryor anArchive.NOTE: Client can provide the their own implementation to customize the retrieval of substitutable entries from a file entry or an archive.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends Substitutable>getArchiveEntrySubstitutable(Archive archive)Get's all theSubstitutableentries from anArchive.List<? extends Substitutable>getFileEntrySubstituables(FileEntry fileEntry)Get's all theSubstitutableentries from aFileEntry.
-
-
-
Method Detail
-
getFileEntrySubstituables
List<? extends Substitutable> getFileEntrySubstituables(FileEntry fileEntry)
Get's all theSubstitutableentries from aFileEntry. A file entry can point to a file/directory or can contain pattern or wild card characters.- Parameters:
fileEntry- A file entry.- Returns:
- All the eligible
Substitutableentries from a file entry.
-
getArchiveEntrySubstitutable
List<? extends Substitutable> getArchiveEntrySubstitutable(Archive archive)
Get's all theSubstitutableentries from anArchive. An archive entry can contain one or multiple member entries or can point the entries from nested archives.- Parameters:
archive- An archive.- Returns:
- All the eligible
Substitutableentries from an archive.
-
-