| Constructor and Description |
|---|
FormattingFiler(Filer delegate) |
| Modifier and Type | Method and Description |
|---|---|
JavaFileObject |
createClassFile(CharSequence name,
Element... originatingElements) |
FileObject |
createResource(JavaFileManager.Location location,
CharSequence pkg,
CharSequence relativeName,
Element... originatingElements) |
JavaFileObject |
createSourceFile(CharSequence name,
Element... originatingElements) |
FileObject |
getResource(JavaFileManager.Location location,
CharSequence pkg,
CharSequence relativeName) |
public FormattingFiler(Filer delegate)
delegate - filer to decoratepublic JavaFileObject createSourceFile(CharSequence name, Element... originatingElements) throws IOException
createSourceFile in interface FilerIOExceptionpublic JavaFileObject createClassFile(CharSequence name, Element... originatingElements) throws IOException
createClassFile in interface FilerIOExceptionpublic FileObject createResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, Element... originatingElements) throws IOException
createResource in interface FilerIOExceptionpublic FileObject getResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName) throws IOException
getResource in interface FilerIOExceptionCopyright © 2015–2017 Google Inc.. All rights reserved.