Interface ResourceWriter
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
JavaResourceWriter,KotlinResourceWriter
Defines a code writer for resources.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidwrite(ResourceInfo resourceInfo) Writes code for specified resource interface.
-
Method Details
-
write
Writes code for specified resource interface.- Parameters:
resourceInfo- the resource information.
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-