groovy / 4.0 / org / codehaus / groovy / tools / javac / rawjavafileobject.html

[Java] Class RawJavaFileObject

  • org.codehaus.groovy.tools.javac.RawJavaFileObject
public class RawJavaFileObject
extends SimpleJavaFileObject

Represents a Java source file in file to compile

Since:
3.0.0

Constructor Summary

Constructors
Constructor and description
RawJavaFileObject(URI uri)
Construct a RawJavaFileObject of the given kind and with the given URI.

Methods Summary

Methods
Type Params Return Type Name and description
public boolean delete()
delete the Java source file
public boolean equals(Object o)
public CharSequence getCharContent(boolean ignoreEncodingErrors)
public int hashCode()
public String toString()

Inherited Methods Summary

Constructor Detail

public RawJavaFileObject(URI uri)

Construct a RawJavaFileObject of the given kind and with the given URI.

Parameters:
uri - the URI for this file object

Method Detail

@Override public boolean delete()

delete the Java source file

Returns:
true if deleted successfully

@Override public boolean equals(Object o)

@Override public CharSequence getCharContent(boolean ignoreEncodingErrors)

@Override public int hashCode()

@Override public String toString()

© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/codehaus/groovy/tools/javac/RawJavaFileObject.html