Class JavaResourceWriter
java.lang.Object
io.github.torand.openapi2java.writers.BaseWriter
io.github.torand.openapi2java.writers.java.JavaResourceWriter
- All Implemented Interfaces:
ResourceWriter,AutoCloseable
Writes Java code for a resource.
-
Field Summary
Fields inherited from class io.github.torand.openapi2java.writers.BaseWriter
opts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(ResourceInfo resourceInfo) Writes code for specified resource interface.Methods inherited from class io.github.torand.openapi2java.writers.BaseWriter
close, write, writeIndent, writeLine, writeNewLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.torand.openapi2java.writers.ResourceWriter
close
-
Constructor Details
-
JavaResourceWriter
-
-
Method Details
-
write
Description copied from interface:ResourceWriterWrites code for specified resource interface.- Specified by:
writein interfaceResourceWriter- Parameters:
resourceInfo- the resource information.
-