class NodeJavaFileObject extends Object implements JavaFileObject
JavaFileObject.Kind
Modifier and Type | Field and Description |
---|---|
(package private) String |
binaryName
.
|
private long |
lastModified
.
|
private String |
name
.
|
private InputStreamFactory |
stream
.
|
private URI |
uri
.
|
Constructor and Description |
---|
NodeJavaFileObject(String binaryName,
URI uri,
InputStreamFactory stream,
long lastModified) |
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() |
String |
toString() |
URI |
toUri() |
final String binaryName
private final long lastModified
private final InputStreamFactory stream
public NodeJavaFileObject(String binaryName, URI uri, InputStreamFactory stream, long lastModified)
public URI toUri()
toUri
in interface FileObject
public String getName()
getName
in interface FileObject
public long getLastModified()
getLastModified
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 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 © 2015 eXo Platform SAS. All Rights Reserved.