|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
java.io.FilterWriter
com.sun.tools.javac.processing.JavacFiler.FilerWriter
private class JavacFiler.FilerWriter
Wrap a Writer returned from the JavaFileManager
to properly register source or class files when they are
closed.
| Field Summary | |
|---|---|
(package private) boolean |
closed
|
(package private) FileObject |
fileObject
|
(package private) java.lang.String |
typeName
|
| Fields inherited from class java.io.FilterWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
JavacFiler.FilerWriter(java.lang.String typeName,
FileObject fileObject)
|
|
| Method Summary | |
|---|---|
void |
close()
|
| Methods inherited from class java.io.FilterWriter |
|---|
flush, write, write, write |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String typeName
FileObject fileObject
boolean closed
| Constructor Detail |
|---|
JavacFiler.FilerWriter(java.lang.String typeName,
FileObject fileObject)
throws java.io.IOException
fileObject - the fileObject to be written totypeName - name of source file or null if just a
text file
java.io.IOException| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.FilterWriterjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||