JavaSourceFromString (Infection)

Package | Class | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class JavaSourceFromString

    java.lang.Object
      javax.tools.SimpleJavaFileObject
          JavaSourceFromString

All Implemented Interfaces:
  FileObject, JavaFileObject

     class JavaSourceFromString

extends SimpleJavaFileObject

Nested Class Summary

Nested classes/interfaces inherited from interface
`JavaFileObject.Kind`

Field Summary
`(package private) String` | `code`

Fields inherited from class
`kind, uri`

Constructor Summary
`JavaSourceFromString(String name, String code)`

Method Summary
`CharSequence` | `getCharContent(boolean ignoreEncodingErrors)`

Methods inherited from class
`delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri`

Methods inherited from class
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### code

    final String code

Constructor Detail

### JavaSourceFromString

    JavaSourceFromString(String name,
                         String code)

Method Detail

### getCharContent

    public CharSequence getCharContent(boolean ignoreEncodingErrors)

  Specified by:
    `getCharContent` in interface `FileObject`
  Overrides:
    `getCharContent` in class `SimpleJavaFileObject`

Package | Class | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD