Package com.codetaco.cli.type
Class WildFiles
- java.lang.Object
-
- com.codetaco.cli.type.WildFiles
-
public final class WildFiles extends Object
The type Wild files.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPattern(String userPattern)
List<File>
files()
Files list.String
getPattern(int userSuppliedIndex)
String
toString()
-
-
-
Constructor Detail
-
WildFiles
public WildFiles()
Instantiates a new Wild files.
-
WildFiles
public WildFiles(File aSingleKnownFile)
This is used in Sort to override the provided list of files with one of them for each run.- Parameters:
aSingleKnownFile
- the a single known file
-
-
Method Detail
-
addPattern
public void addPattern(String userPattern)
-
files
public List<File> files() throws ParseException, IOException
Files list.- Returns:
- the list
- Throws:
ParseException
- the parse exceptionIOException
- the io exception
-
getPattern
public String getPattern(int userSuppliedIndex)
-
-