public class FileIterable extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileIterable.GroupedPathIterator |
static class |
FileIterable.KeyedIterable<K,T> |
| Modifier and Type | Method and Description |
|---|---|
static <F,T> com.google.common.base.Function<? super Iterable<F>,Iterable<T>> |
bind(com.google.common.base.Function<? super F,Iterable<T>> f) |
static com.google.common.collect.FluentIterable<Path> |
fileTreeWalker(Path root) |
static com.google.common.collect.FluentIterable<FileIterable.KeyedIterable<Path,Path>> |
groupFilesByDir(Path root) |
static <F,T> com.google.common.base.Function<? super Iterable<F>,Iterable<T>> |
lift(com.google.common.base.Function<F,T> f) |
static com.google.common.collect.FluentIterable<String> |
lines(Path path) |
static Iterable<File> |
toFiles(Iterable<Path> files) |
static Iterable<Path> |
toPaths(File[] files) |
static Iterable<Path> |
toPaths(Iterable<File> files) |
static com.google.common.collect.FluentIterable<String> |
unzipLines(Path path,
Charset cs) |
public static com.google.common.collect.FluentIterable<Path> fileTreeWalker(Path root)
public static com.google.common.collect.FluentIterable<FileIterable.KeyedIterable<Path,Path>> groupFilesByDir(Path root)
public static com.google.common.collect.FluentIterable<String> unzipLines(Path path, Charset cs)
public static <F,T> com.google.common.base.Function<? super Iterable<F>,Iterable<T>> bind(com.google.common.base.Function<? super F,Iterable<T>> f)
Copyright © 2019. All rights reserved.