public interface FilerResource
A resource from output (such as
target/META-INF/helidon
) that can have existing
values, and may be replaced with a new value.-
Method Summary
-
Method Details
-
bytes
byte[] bytes()Existing bytes of the resource. Returns empty array, if the resource does not exist or is empty.- Returns:
- bytes of the resource
-
bytes
void bytes(byte[] newBytes) New bytes of the resource.- Parameters:
newBytes
- new bytes towrite()
to the resource file
-
write
void write()Writes the new bytes to the output. This operation can only be called once per codegen round.
-