com.mysema.util
Class StringJavaFileObject
java.lang.Object
javax.tools.SimpleJavaFileObject
com.mysema.util.StringJavaFileObject
- All Implemented Interfaces:
- FileObject, JavaFileObject
public class StringJavaFileObject
- extends SimpleJavaFileObject
- Author:
- tiwe
Methods inherited from class javax.tools.SimpleJavaFileObject |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, openInputStream, openOutputStream, openReader, openWriter, toString, toUri |
StringJavaFileObject
public StringJavaFileObject(String className,
String contents)
throws URISyntaxException
- Throws:
URISyntaxException
getCharContent
public CharSequence getCharContent(boolean ignoreEncodingErrors)
throws IOException
- Specified by:
getCharContent
in interface FileObject
- Overrides:
getCharContent
in class SimpleJavaFileObject
- Throws:
IOException
isNameCompatible
public boolean isNameCompatible(String simpleName,
JavaFileObject.Kind kind)
- Specified by:
isNameCompatible
in interface JavaFileObject
- Overrides:
isNameCompatible
in class SimpleJavaFileObject
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.