public class JSONFileScannerPlugin extends com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,JSONFileDescriptor>
| Modifier and Type | Class and Description |
|---|---|
static class |
JSONFileScannerPlugin.MyErrorListener |
static class |
JSONFileScannerPlugin.RecoverableParsingException |
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_FILE_EXTENSION
<p>Supported file extension for JSON file resources.
|
static String |
PROPERTY_EXCLUDE |
static String |
PROPERTY_INCLUDE |
| Constructor and Description |
|---|
JSONFileScannerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource file,
String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope) |
protected void |
configure() |
protected com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FilePatternMatcher |
getFilePatternMatcher() |
protected boolean |
isFilePatternMatcherActive() |
JSONFileDescriptor |
scan(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource item,
String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope,
com.buschmais.jqassistant.core.scanner.api.Scanner scanner) |
configure, equals, getBooleanProperty, getDescriptorType, getDirectoryPath, getName, getProperties, getProperty, getScannerContext, getStringProperty, getType, getTypeParameter, hashCodepublic static final String PROPERTY_INCLUDE
public static final String PROPERTY_EXCLUDE
public static final String JSON_FILE_EXTENSION
<p>Supported file extension for JSON file resources.</p>
protected com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FilePatternMatcher getFilePatternMatcher()
protected boolean isFilePatternMatcherActive()
protected void configure()
configure in class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,JSONFileDescriptor>public boolean accepts(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource file,
String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope)
throws IOException
IOExceptionpublic JSONFileDescriptor scan(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource item, String path, com.buschmais.jqassistant.core.scanner.api.Scope scope, com.buschmais.jqassistant.core.scanner.api.Scanner scanner) throws IOException
IOExceptionCopyright © 2016–2021 jQAssistant Development Team. All rights reserved.