public class GrepCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
binaries |
Constructor and Description |
---|
GrepCommand() |
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<Count<java.lang.String>> |
count(java.util.regex.Pattern include,
java.util.regex.Pattern exclude,
Sort sort,
java.util.regex.Pattern regex,
Dir dir) |
static int |
getScore(java.util.List<Score<Label>> value) |
java.util.stream.Stream<Match> |
grep(java.util.regex.Pattern include,
java.util.regex.Pattern exclude,
java.util.regex.Pattern regex,
Dir dir) |
java.util.stream.Stream<Match> |
grepMatches(java.util.regex.Pattern include,
java.util.regex.Pattern exclude,
java.util.regex.Pattern first,
java.util.regex.Pattern second,
Dir dir)
Search for files that contain the first pattern, if it does grep the
file for occurrences of the second pattern.
|
java.util.stream.Stream<Label> |
label(java.util.regex.Pattern include,
java.util.regex.Pattern exclude,
java.util.regex.Pattern regex,
Substitution substitution,
Dir dir) |
java.util.stream.Stream<java.lang.String> |
ls(java.util.regex.Pattern include,
java.util.regex.Pattern exclude,
Dir dir) |
java.util.stream.Stream<java.lang.String> |
matches(java.util.regex.Pattern include,
java.util.regex.Pattern exclude,
java.util.regex.Pattern regex,
Dir dir) |
static java.util.stream.Stream<Count<java.lang.String>> |
totalScores(java.util.stream.Stream<Score<Label>> imports) |
static Unique<java.io.File> |
unique(java.io.File file) |
static Unique<Label> |
unique(Label label) |
public java.util.stream.Stream<Match> grep(java.util.regex.Pattern include, java.util.regex.Pattern exclude, java.util.regex.Pattern regex, Dir dir)
public java.util.stream.Stream<Match> grepMatches(java.util.regex.Pattern include, java.util.regex.Pattern exclude, java.util.regex.Pattern first, java.util.regex.Pattern second, Dir dir)
include
- exclude
- first
- second
- dir
- public java.util.stream.Stream<Label> label(java.util.regex.Pattern include, java.util.regex.Pattern exclude, java.util.regex.Pattern regex, Substitution substitution, Dir dir)
public java.util.stream.Stream<java.lang.String> matches(java.util.regex.Pattern include, java.util.regex.Pattern exclude, java.util.regex.Pattern regex, Dir dir)
public java.util.stream.Stream<Count<java.lang.String>> count(java.util.regex.Pattern include, java.util.regex.Pattern exclude, Sort sort, java.util.regex.Pattern regex, Dir dir)
public static java.util.stream.Stream<Count<java.lang.String>> totalScores(java.util.stream.Stream<Score<Label>> imports)
public static Unique<java.io.File> unique(java.io.File file)
public java.util.stream.Stream<java.lang.String> ls(java.util.regex.Pattern include, java.util.regex.Pattern exclude, Dir dir)
Copyright © 2014-2020 Tomitribe Corporation. All Rights Reserved.