Package | Description |
---|---|
org.openide.filesystems.annotations |
Support for writing annotation processors which generate XML layer fragments.
|
Modifier and Type | Method and Description |
---|---|
LayerBuilder.File |
LayerBuilder.File.boolvalue(String attr,
boolean value)
Adds a boolean-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.bundlevalue(String attr,
String label)
Adds an attribute for a possibly localized string.
|
LayerBuilder.File |
LayerBuilder.File.bundlevalue(String attr,
String label,
Annotation annotation,
String annotationMethod)
Adds an attribute for a possibly localized string.
|
LayerBuilder.File |
LayerBuilder.File.bundlevalue(String attr,
String bundle,
String key)
Adds an attribute loaded from a resource bundle.
|
LayerBuilder.File |
LayerBuilder.File.bytevalue(String attr,
byte value)
Adds a byte-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.charvalue(String attr,
char value)
Adds a character-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.contents(String contents)
Configures the file to have inline text contents.
|
LayerBuilder.File |
LayerBuilder.File.doublevalue(String attr,
double value)
Adds a double-valued attribute.
|
LayerBuilder.File |
LayerBuilder.file(String path)
Adds a file to the layer.
|
LayerBuilder.File |
LayerBuilder.File.floatvalue(String attr,
float value)
Adds a float-valued attribute.
|
LayerBuilder.File |
LayerBuilder.folder(String path)
Adds a folder to the layer.
|
LayerBuilder.File |
LayerBuilder.File.instanceAttribute(String attr,
Class<?> type)
Adds an attribute to load the associated class or method.
|
LayerBuilder.File |
LayerBuilder.File.instanceAttribute(String attr,
Class<?> type,
Annotation annotation,
String annotationMethod)
Adds an attribute to load the associated class or method.
|
LayerBuilder.File |
LayerBuilder.instanceFile(String path,
String name)
Generates an instance file that is not initialized with an instance.
|
LayerBuilder.File |
LayerBuilder.instanceFile(String path,
String name,
Annotation annotation,
String annotationMethod)
Generates an instance file that is not initialized with an instance.
|
LayerBuilder.File |
LayerBuilder.instanceFile(String path,
String name,
Class<?> type)
Generates an instance file whose
InstanceCookie would load the associated class or method. |
LayerBuilder.File |
LayerBuilder.instanceFile(String path,
String name,
Class<?> type,
Annotation annotation,
String annotationMethod)
Generates an instance file whose
InstanceCookie would load the associated class or method. |
LayerBuilder.File |
LayerBuilder.File.intvalue(String attr,
int value)
Adds an int-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.longvalue(String attr,
long value)
Adds a long-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.methodvalue(String attr,
String clazz,
String method)
Adds an attribute loaded from a Java method.
|
LayerBuilder.File |
LayerBuilder.File.newvalue(String attr,
String clazz)
Adds an attribute loaded from a Java constructor.
|
LayerBuilder.File |
LayerBuilder.File.position(int position)
Sets a position attribute.
|
LayerBuilder.File |
LayerBuilder.File.serialvalue(String attr,
byte[] data)
Adds an attribute which deserializes a Java value.
|
LayerBuilder.File |
LayerBuilder.shadowFile(String target,
String folder,
String name)
Convenience method to create a shadow file (like a symbolic link).
|
LayerBuilder.File |
LayerBuilder.File.shortvalue(String attr,
short value)
Adds a short-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.stringvalue(String attr,
String value)
Adds a string-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.url(String url)
Configures the file to have external contents.
|
LayerBuilder.File |
LayerBuilder.File.urlvalue(String attr,
String value)
Adds a URL-valued attribute.
|
LayerBuilder.File |
LayerBuilder.File.urlvalue(String attr,
URI value)
Adds a URL-valued attribute.
|