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 FileObjectpublic String getName()
getName in interface FileObjectpublic long getLastModified()
getLastModified in interface FileObjectpublic InputStream openInputStream() throws IOException
openInputStream in interface FileObjectIOExceptionpublic OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectIOExceptionpublic Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader in interface FileObjectIOExceptionpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectIOExceptionpublic Writer openWriter() throws IOException
openWriter in interface FileObjectIOExceptionpublic boolean delete()
delete in interface FileObjectpublic JavaFileObject.Kind getKind()
getKind in interface JavaFileObjectpublic boolean isNameCompatible(String simpleName, JavaFileObject.Kind kind)
isNameCompatible in interface JavaFileObjectpublic NestingKind getNestingKind()
getNestingKind in interface JavaFileObjectpublic Modifier getAccessLevel()
getAccessLevel in interface JavaFileObjectCopyright © 2015 eXo Platform SAS. All Rights Reserved.