|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.tools.SimpleJavaFileObject
things.thinger.kernel.basic.tools.LocalJavaFileObject
public class LocalJavaFileObject
This will be a local file object.
Version History
EPG - Initial - 8 JUL 07
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.tools.JavaFileObject |
|---|
javax.tools.JavaFileObject.Kind |
| Field Summary |
|---|
| Fields inherited from class javax.tools.SimpleJavaFileObject |
|---|
kind, uri |
| Constructor Summary | |
|---|---|
LocalJavaFileObject(java.lang.String name,
java.lang.String actualName,
javax.tools.JavaFileObject.Kind kind,
java.io.File theFile)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.CharSequence |
getCharContent(boolean ignoreEncodingErrors)
We need to do this for the damn compiler. |
java.lang.String |
getName()
Gets a user-friendly name for this file object. |
java.io.InputStream |
openInputStream()
Get the file as an InputStream. |
java.io.OutputStream |
openOutputStream()
Get the file as an OutputStream. |
| Methods inherited from class javax.tools.SimpleJavaFileObject |
|---|
delete, getAccessLevel, getKind, getLastModified, getNestingKind, isNameCompatible, openReader, openWriter, toString, toUri |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocalJavaFileObject(java.lang.String name,
java.lang.String actualName,
javax.tools.JavaFileObject.Kind kind,
java.io.File theFile)
throws java.lang.Throwable
name - Simple name for the objectactualName - The actual name of the file from the anchor. This will include the extension and stuff if it was actually there.kind - The kind of JavaFileObject.theFile - The file that represents this object.
java.lang.ThrowableSimpleJavaFileObject| Method Detail |
|---|
public java.lang.CharSequence getCharContent(boolean ignoreEncodingErrors)
throws java.io.IOException,
java.lang.IllegalStateException,
java.lang.UnsupportedOperationException
getCharContent in interface javax.tools.FileObjectgetCharContent in class javax.tools.SimpleJavaFileObjectjava.io.IOException
java.lang.IllegalStateException
java.lang.UnsupportedOperationException
public java.io.InputStream openInputStream()
throws java.io.IOException,
java.lang.IllegalStateException,
java.lang.UnsupportedOperationException
openInputStream in interface javax.tools.FileObjectopenInputStream in class javax.tools.SimpleJavaFileObjectjava.io.IOException
java.lang.IllegalStateException
java.lang.UnsupportedOperationException
public java.io.OutputStream openOutputStream()
throws java.io.IOException,
java.lang.IllegalStateException,
java.lang.UnsupportedOperationException
openOutputStream in interface javax.tools.FileObjectopenOutputStream in class javax.tools.SimpleJavaFileObjectjava.io.IOException
java.lang.IllegalStateException
java.lang.UnsupportedOperationExceptionpublic java.lang.String getName()
getName in interface javax.tools.FileObjectgetName in class javax.tools.SimpleJavaFileObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||