public class FileSpec
extends java.lang.Object
| Constructor and Description |
|---|
FileSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilesGroup(FilesGroup filesGroup) |
static FileSpec |
fromString(java.lang.String specStr)
Converts string to a FileSpec object.
|
java.util.List<FilesGroup> |
getFiles() |
java.util.List<java.lang.String> |
toAql()
Validates the file spec and creates an AQL query out of each files group in it.
|
public java.util.List<FilesGroup> getFiles()
public void addFilesGroup(FilesGroup filesGroup)
public java.util.List<java.lang.String> toAql()
throws InvalidFileSpecException
InvalidFileSpecException - if the given file spec is invalid or not search-based.public static FileSpec fromString(java.lang.String specStr) throws InvalidFileSpecException
FileSpecsValidation).specStr - the string to convertInvalidFileSpecException - in case of parsing problem