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) FileObject
createResource
(Filer filer) private String
getMessage
(Element methodElement) private String
getName()
(package private) String
(package private) String
(package private) boolean
(package private) void
writeContents
(Writer writer) (package private) void
(package private) void
writePropertyFileHeader
(Writer writer) private void
writePropertyLine
(Writer writer, Element methodElement) (package private) void
writePropertyLines
(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
-