public final class SisuIndex extends AbstractSisuIndex implements QualifiedTypeListener
Modifier and Type | Method and Description |
---|---|
protected Reader |
getReader(String path)
Creates a new reader for the given input path.
|
protected Writer |
getWriter(String path)
Creates a new writer for the given output path.
|
void |
hear(Annotation qualifier,
Class<?> qualifiedType,
Object source)
Invoked when the
QualifiedTypeVisitor finds a qualified type. |
void |
index(ClassSpace space) |
protected void |
info(String message)
Reports an informational message.
|
static void |
main(String[] args) |
protected void |
warn(String message)
Reports a warning message.
|
addClassToIndex, flushIndex
public static final String NAMED
public SisuIndex(File targetDirectory)
public static void main(String[] args)
public void index(ClassSpace space)
public void hear(Annotation qualifier, Class<?> qualifiedType, Object source)
QualifiedTypeListener
QualifiedTypeVisitor
finds a qualified type.hear
in interface QualifiedTypeListener
qualifier
- The qualifier (unused)qualifiedType
- The qualified typesource
- The source of this typeBinder.withSource(Object)
protected void info(String message)
AbstractSisuIndex
info
in class AbstractSisuIndex
message
- The messageprotected void warn(String message)
AbstractSisuIndex
warn
in class AbstractSisuIndex
message
- The messageprotected Reader getReader(String path) throws IOException
AbstractSisuIndex
getReader
in class AbstractSisuIndex
path
- The input pathIOException
protected Writer getWriter(String path) throws IOException
AbstractSisuIndex
getWriter
in class AbstractSisuIndex
path
- The output pathIOException
Copyright © 2010-2019 Sonatype, Inc.. All Rights Reserved.