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 Filer
IOException
public JavaFileObject createClassFile(CharSequence name, Element... originatingElements) throws IOException
createClassFile
in interface Filer
IOException
public FileObject createResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, Element... originatingElements) throws IOException
createResource
in interface Filer
IOException
public FileObject getResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName) throws IOException
getResource
in interface Filer
IOException
Copyright © 2015–2016 Google Inc.. All rights reserved.