public class MissFileObject extends Object implements JavaFileObject
JavaFileObject.Kind
Constructor and Description |
---|
MissFileObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
delete() |
Modifier |
getAccessLevel() |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
JavaFileObject.Kind |
getKind() |
long |
getLastModified() |
String |
getName() |
NestingKind |
getNestingKind() |
boolean |
isNameCompatible(String simpleName,
JavaFileObject.Kind kind) |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
Reader |
openReader(boolean ignoreEncodingErrors) |
Writer |
openWriter() |
URI |
toUri() |
public URI toUri()
toUri
in interface FileObject
public String getName()
getName
in interface FileObject
public InputStream openInputStream() throws IOException
openInputStream
in interface FileObject
IOException
public OutputStream openOutputStream() throws IOException
openOutputStream
in interface FileObject
IOException
public Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader
in interface FileObject
IOException
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent
in interface FileObject
IOException
public Writer openWriter() throws IOException
openWriter
in interface FileObject
IOException
public long getLastModified()
getLastModified
in interface FileObject
public boolean delete()
delete
in interface FileObject
public JavaFileObject.Kind getKind()
getKind
in interface JavaFileObject
public boolean isNameCompatible(String simpleName, JavaFileObject.Kind kind)
isNameCompatible
in interface JavaFileObject
public NestingKind getNestingKind()
getNestingKind
in interface JavaFileObject
public Modifier getAccessLevel()
getAccessLevel
in interface JavaFileObject
Copyright © 2024. All rights reserved.