org.aspectj.org.eclipse.jdt.internal.compiler.apt.util
Class ArchiveFileObject
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.util.ArchiveFileObject
- All Implemented Interfaces:
- javax.tools.FileObject, javax.tools.JavaFileObject
public class ArchiveFileObject
- extends java.lang.Object
- implements javax.tools.JavaFileObject
Implementation of a Java file object that corresponds to an entry in a zip/jar file
| Nested classes/interfaces inherited from interface javax.tools.JavaFileObject |
javax.tools.JavaFileObject.Kind |
|
Constructor Summary |
ArchiveFileObject(java.io.File file,
java.util.zip.ZipFile zipFile,
java.lang.String entryName,
java.nio.charset.Charset charset)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArchiveFileObject
public ArchiveFileObject(java.io.File file,
java.util.zip.ZipFile zipFile,
java.lang.String entryName,
java.nio.charset.Charset charset)
getAccessLevel
public javax.lang.model.element.Modifier getAccessLevel()
- Specified by:
getAccessLevel in interface javax.tools.JavaFileObject
getKind
public javax.tools.JavaFileObject.Kind getKind()
- Specified by:
getKind in interface javax.tools.JavaFileObject
getNestingKind
public javax.lang.model.element.NestingKind getNestingKind()
- Specified by:
getNestingKind in interface javax.tools.JavaFileObject
isNameCompatible
public boolean isNameCompatible(java.lang.String simpleName,
javax.tools.JavaFileObject.Kind kind)
- Specified by:
isNameCompatible in interface javax.tools.JavaFileObject
delete
public boolean delete()
- Specified by:
delete in interface javax.tools.FileObject
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
getCharContent
public java.lang.CharSequence getCharContent(boolean ignoreEncodingErrors)
throws java.io.IOException
- Specified by:
getCharContent in interface javax.tools.FileObject
- Throws:
java.io.IOException
getLastModified
public long getLastModified()
- Specified by:
getLastModified in interface javax.tools.FileObject
getName
public java.lang.String getName()
- Specified by:
getName in interface javax.tools.FileObject
openInputStream
public java.io.InputStream openInputStream()
throws java.io.IOException
- Specified by:
openInputStream in interface javax.tools.FileObject
- Throws:
java.io.IOException
openOutputStream
public java.io.OutputStream openOutputStream()
throws java.io.IOException
- Specified by:
openOutputStream in interface javax.tools.FileObject
- Throws:
java.io.IOException
openReader
public java.io.Reader openReader(boolean ignoreEncodingErrors)
throws java.io.IOException
- Specified by:
openReader in interface javax.tools.FileObject
- Throws:
java.io.IOException
openWriter
public java.io.Writer openWriter()
throws java.io.IOException
- Specified by:
openWriter in interface javax.tools.FileObject
- Throws:
java.io.IOException
toUri
public java.net.URI toUri()
- Specified by:
toUri in interface javax.tools.FileObject
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object