public class SplitConfigParser
extends java.lang.Object
Constructor and Description |
---|
SplitConfigParser(java.lang.String splitConfig) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
parse()
Parses the given split configuration string and removes splits, file names,
and remote file names bases on the settings for this parser.
|
void |
setIncludeFiles(boolean b) |
void |
setIncludeRemoteFiles(boolean b) |
void |
setIncludeSplits(boolean b) |
public SplitConfigParser(java.lang.String splitConfig)
splitConfig
- The string to parse and adjust.public void setIncludeSplits(boolean b)
b
- If true, retain any splits in the split configuration.public void setIncludeFiles(boolean b)
b
- If true, retain any file names found in the split configuration.public void setIncludeRemoteFiles(boolean b)
b
- If true, and if include files is true, then retain any remote file
names found in the split configuration.public java.lang.String parse()