Package org.h2.build
Class BuildBase.FileList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Path>,Collection<Path>,List<Path>,RandomAccess,SequencedCollection<Path>
- Enclosing class:
BuildBase
A list of files.
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRemove the files that match from the list.Only keep the files that match.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
FileList
public FileList()
-
-
Method Details
-
exclude
Remove the files that match from the list. Patterns must start or end with a *.- Parameters:
pattern- the pattern of the file names to remove- Returns:
- the new file list
-
keep
Only keep the files that match. Patterns must start or end with a *.- Parameters:
pattern- the pattern of the file names to keep- Returns:
- the new file list
-