com.ochafik.lang.compiler
Class MemoryJavaFile

java.lang.Object
  extended by com.ochafik.lang.compiler.MemoryFileObject
      extended by com.ochafik.lang.compiler.MemoryJavaFile
All Implemented Interfaces:
FileObject, JavaFileObject

public class MemoryJavaFile
extends MemoryFileObject
implements JavaFileObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
JavaFileObject.Kind
 
Constructor Summary
MemoryJavaFile(String path, String content, JavaFileObject.Kind kind)
           
 
Method Summary
 Modifier getAccessLevel()
           
 JavaFileObject.Kind getKind()
           
 NestingKind getNestingKind()
           
 boolean isNameCompatible(String simpleName, JavaFileObject.Kind kind)
           
 
Methods inherited from class com.ochafik.lang.compiler.MemoryFileObject
delete, getCharContent, getContent, getLastModified, getName, getPath, openInputStream, openOutputStream, openReader, openWriter, toString, toUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.tools.FileObject
delete, getCharContent, getLastModified, getName, openInputStream, openOutputStream, openReader, openWriter, toUri
 

Constructor Detail

MemoryJavaFile

public MemoryJavaFile(String path,
                      String content,
                      JavaFileObject.Kind kind)
Method Detail

getAccessLevel

public Modifier getAccessLevel()
Specified by:
getAccessLevel in interface JavaFileObject

getKind

public JavaFileObject.Kind getKind()
Specified by:
getKind in interface JavaFileObject

getNestingKind

public NestingKind getNestingKind()
Specified by:
getNestingKind in interface JavaFileObject

isNameCompatible

public boolean isNameCompatible(String simpleName,
                                JavaFileObject.Kind kind)
Specified by:
isNameCompatible in interface JavaFileObject


Copyright © 2009. All Rights Reserved.