Class FileGenerator
java.lang.Object
org.glassfish.corba.annotation.processing.FileGenerator
This class generates properties files based on annotations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) FileObjectcreateResource(Filer filer) private StringgetMessage(Element methodElement) private StringgetName()(package private) String(package private) String(package private) boolean(package private) voidwriteContents(Writer writer) (package private) void(package private) voidwritePropertyFileHeader(Writer writer) private voidwritePropertyLine(Writer writer, Element methodElement) (package private) voidwritePropertyLines(Writer writer)
-
Field Details
-
classElement
-
creationDate
-
methodElements
-
-
Constructor Details
-
FileGenerator
-
-
Method Details
-
getPrefix
String getPrefix() -
createResource
- Throws:
IOException
-
addMethod
-
getPackage
String getPackage() -
getName
-
shouldWriteFile
boolean shouldWriteFile() -
writePropertyFileHeader
- Throws:
IOException
-
writePropertyLines
- Throws:
IOException
-
writePropertyLine
- Throws:
IOException
-
getMessage
-
writeContents
- Throws:
IOException
-
writeFile
- Throws:
IOException
-