public interface GenericValidator
Modifier and Type | Method and Description |
---|---|
List<ValidationMessage> |
validate(org.uberfire.backend.vfs.Path resourcePath,
InputStream resource,
org.uberfire.java.nio.file.DirectoryStream.Filter<org.uberfire.java.nio.file.Path>... supportingFileFilters)
Validate an asset.
|
List<ValidationMessage> validate(org.uberfire.backend.vfs.Path resourcePath, InputStream resource, org.uberfire.java.nio.file.DirectoryStream.Filter<org.uberfire.java.nio.file.Path>... supportingFileFilters)
resourcePath
- The VFS Path of the resourceresource
- An InputStream containing the resource to be validatedsupportingFileFilters
- An optional list of filters to add
supporting files for the validation (e.g. .dslr needs .dsl)Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.