public interface CodebaseSource
Modifier and Type | Method and Description |
---|---|
java.net.URI |
canonicalNamespace()
The canonical namespace of source is the namespace its dependencies are
resolved in.
|
void |
close()
Close the source file.
|
Source |
derivedSource(java.lang.String name)
Some compiler jobs are dynamically generated during compiling a resource,
but are not directly stored in the resource.
|
Label |
label()
The label of this source file.
|
java.lang.String |
name()
The short name of this source (i.e.
|
java.net.URI |
namespace()
The namespace loading this source.
|
java.io.Reader |
open()
Open the source file.
|
Source |
publishedSource(java.net.URI namespace,
java.lang.String name)
Create a derived source object with a new namespace and short name.
|
void |
setPublish(boolean pub) |
boolean |
shouldPublish()
Whether a new class object should be published for this source file and
associated with the codebase representing the namespace.
|
java.net.URI namespace()
java.lang.String name()
java.net.URI canonicalNamespace()
Source derivedSource(java.lang.String name)
name
- Source publishedSource(java.net.URI namespace, java.lang.String name)
namespace
- name
- boolean shouldPublish()
Label label()
java.io.Reader open() throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
void setPublish(boolean pub)